On Wed, Sep 08, 2010 at 03:12:13PM +0800, Jason Heeris wrote: > Mostly it goes okay, but the grub2 installation is a real pain. The > installer detects the USB install media (FAT16) as the first hard > drive (/dev/sda) and the target (the flash disk) as the second > (/dev/sdb). I tell it *not* to install to the MBR of the first hard > drive, but to install to the MBR of /dev/sdb. It then configures grub2 > with the following lines for booting: > > insmod part_msdos > insmod ext2 > set root='(hd1,msdos1)' > [ and then some kernel lines] > > These are completely wrong - upon booting up without the USB stick in, > I get dropped to a busybox prompt (because there is no hd1). I need to > restart and edit the grub2 entries to be: > > insmod ext2 > set root='(hd0,0)'
Something else is wrong then, because partition numbers start from 1 in GRUB 2 - 0-based partition numbers no longer work. Is it possible that there's a very old version of GRUB hanging around in a boot sector somewhere? -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100908093548.ga20...@master.debian.org