linus72 |
04-11-2009 06:38 AM |
How to install Grub to MBR of USB drive?
I did a HD install of DSL to my USB, formatted to EXT2, 4GB.
But, when it got to the grub part I don't think it went right.
At boot I get a screen that says "grub >"
What does that mean?
How do I get it to boot, as it seems grub may already be installed.
Code:
# This sets the default entry to boot.
# Remember that GRUB counts from 0, so 1 is the second entry.
default 0
# This sets the length of time in seconds that grub will wait for the user to select an OS
# before it boots the default on. I reccommend at least 15 seconds.
timeout 15
# Enter the entry for DSL here. Something like this.
title DSL
kernel /boot/linux24 root=/dev/sda1 quiet vga=normal noacpi noapm nodma noscsi frugal
title DSL fb800x600
kernel /boot/linux24 root=/dev/sda1 quiet vga=788 noacpi noapm nodma noscsi frugal
title DSL fb1024x768
kernel /boot/linux24 root=/dev/sda1 quiet vga=791 noacpi noapm nodma noscsi frugal
title DSL fb1280x1024
kernel /boot/linux24 root=/dev/sda1 quiet vga=794 noacpi noapm nodma noscsi frugal
#title DSL with toram, mydsl, restore, hostname, and passwords
#kernel /boot/linux24 root=/dev/sda1 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda5 restore=hda5 host=DSL1 secure
#title DSL with XFree86
#kernel /boot/linux24 root=/dev/sda1 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda5/xfree restore=hda6 host=DSL1 secure
#title DSL with mydsl, restore, persistentancy, hostname, and passwords
#kernel /boot/linux24 root=/dev/sda1 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda3 restore=hda3 home=hda3 opt=hda3 host=DSL1 secure
#title DSL Runlevel 2
#kernel /boot/linux24 root=/dev/sda1 quiet vga=normal noacpi noapm noscsi nodma frugal 2 base norestore
#title DSL Check filesystem(s)
#kernel /boot/linux24 root=/dev/sda1 quiet vga=normal noacpi noapm noscsi nodma frugal 2 toram legacy base norestore checkfs
#title Windows
#root (hd0,0)
#chainloader +1
#makeactive
#boot
That's the menu.lst OK-so there is no entry there-right?
How do I tell it to boot the USB?
DSL sees the USB as sda1, while my PC sees it as sdf1-does it matter?
|