boot disk with hard disk install

Dan grinnz at gmail.com
Mon Mar 27 19:40:17 UTC 2006


hbrhodes wrote:
> k, i'm tired of trying.  i'm using the boot disk (because the usb disk 
> wouldn't boot up even after telling the bios) to get to my linux 
> install screen. i have the usb drive auto detected and i'm selecting 
> /dev/sda1 for the hard drive.  i'm teling it that the path to fc5 is:
> temp/iso/
>
> it ain't working, and i can't figure it out, i've tried adding on 
> other directories like:
> *  repodata
> *  Fedora
> * Fedora/base or RPMS
>
> nothing, how do i work this?
>
To boot from a USB disk, you need to make a custom initrd: from rescue 
mode with the USB installation (and /boot partition) mounted (chroot 
/mnt/sysimage also):
ls /boot
Check what initrd-2.6.xx-1.xxxx_FC5.img you have.
rm /boot/initrd-2.6.xx-1.xxxx_FC5.img (whatever you saw in /boot)
/sbin/mkinitrd --with-usb --preload=ehci-hcd --preload=usb-storage 
--preload=scsi_mod --preload=sd_mod /boot/initrd-2.6.xx-1.xxxx_FC5.img 
2.6.xx-1.xxxx_FC5
All in one line from /sbin/mkinitrd to the kernel version, replacing the 
x's everywhere with appropriate numbers (so 2.6.15-1.2054_FC5 for the 
kernel installed with FC5).
-Dan




More information about the fedora-list mailing list