Re: [linux-lvm] Re: LVM 1.03 root file system on Redhat 7.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



le jeu 30-05-2002 à 13:44, James B. Byrne a écrit :


> 
> The kmod error is reputedly caused by the ramdisk image file 
> (created by lvmcreate_initrd) not containing a /sbin/modprobe 
> command.  How can I verify if this is so?  I note that redhat has 
> /sbin/modprobe as a logical link to insmod.  Could this be confusing 
> lvmcreate_initrd?

The symlink won't cause lvmcreate_initrd to create a ramdisk image with
the missing executable.

To check, just copy your initrd image somewhere, say /tmp, uncompress it
(gunzip) there and mount it on a mount point as a loop device:

Given an initrd uncompressed file name: my_image
Given a mount point named: /tmp/my_mount_point

Just type: mount -o loop /tmp/my_image /tmp/my_mount_point

After that, you can cd to /tmp/my_mount_point and look at the files and
executables there.

Regards,
> 
> Regards,
> Jim
> 
> ---     e-mail is NOT a secure channel 
> James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
> Harte & Lyne Limited          http://www.harte-lyne.ca
> 9 Brockley Drive              vox: +1 905 561 1241
> Hamilton, Ontario             fax: +1 905 561 0757
> Canada  L8E 3C3
> 

-- 

=======================================
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1

Tél: (450) 467-8014
Internet: dsavard@cids.ca
=======================================



_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux