[linux-lvm] Re: LVM 1.03 root file system on Redhat 7.3
Daniel Savard
dsavard at cids.ca
Thu May 30 19:37:02 UTC 2002
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 at 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 at cids.ca
=======================================
More information about the linux-lvm
mailing list