View Single Post
Old 2nd June 2008, 07:28 PM
JEO Offline
Registered User
Join Date: Jan 2006
Posts: 2,799
I think I found a somewhat easier way. I patched the mkliveinitrd file to include the necessary modules. Normally that file is called by another script but this patch makes it work standalone.

--- mkliveinitrd.orig 2008-05-06 07:15:33.000000000 -0700
+++ mkliveinitrd 2008-06-02 11:10:31.000000000 -0700
@@ -92,7 +92,10 @@
source /etc/sysconfig/mkinitrd

+MODULES+="squashfs ext3 ext2 vfat msdos "
+MODULES+="sr_mod sd_mod ide-cd cdrom "
+MODULES+="ehci_hcd uhci_hcd ohci_hcd "
+MODULES+="usb_storage usbhid "

if [ "$opt_verbose" == "1" ] ; then
echo "Kernel modules requested: $MODULES"

Then to create the new initrd I changed to the directory syslinux and used the command

/usr/libexec/mkliveinitrd -f -v initrd1.img

then I copied the kernel file from /boot to the syslinux directory, called it vmlinuz1 and made a new entry in syslinux.cfg
label linux1
menu label Boot
kernel vmlinuz1
append initrd=initrd1.img root=UUID=E230-D4B0 rootfstype=vfat rw quiet liveimg overlay=UUID=E230-D4B0

and it boots. I'm using it now.
Reply With Quote