Re: booting an external disk via grub

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

 



On Fri, 2008-02-29 at 20:02 -0800, Markus Kesaromous wrote:
> Since my bios does not support booting from a USB stick,
> how can I modify my grub, so that it will boot from memory stick.
> My main internal (laptop) drive has 1indows in partition 1
> and Fedora 7 in partition 2. Grub  lets me select either linux
> or windows. But any external bootable device connected
> to the laptop either via usb or sata (cardbus) is totally invisible
> to bios and to grub.
> So, my question to the list is: What should be added to grub
> menus so that it can boot from external device?
> Could someone show a grub entry example of booting
> an external device that is invisible to BIOS?
> What about the OS on the external disk that we are trying to boot?
> Is there something that needs to be done to it so that the id
> it assigns to itself is same as that assigned to it by grub?
> (i.e such as hd0 or hd1, ...etc).
> 
> Thanx for your help.

Hi

I haven't actually done this ... only something similar !!!!

1. Make sure your USB stick partitions are labelled uniquely, just makes
life easier. (/etc/fstab on the stick must match)  /root_stick say for
root partition

2. Copy the kernel and initrd from you stick to your F7 /boot directory
- obviously check the stick file names are unique. vmlinuz_stick,
initrd_stick say.

3. The "F7" grub entry for the stick can then look something like

root (hdx,y)		The same as your F7 entry
kernel /boot/vmlinuz_stick ro root=LABEL=/root_stick
initrd /boot/initrd_stick

Alternatives ...
Using F8 I have managed to boot an external "BIOS invisible" USB stick
1	grub on a CD
2	syslinux on a second USB stick

John




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux