Re: Grub2 installed with wrong boot commands

2010-09-09 Thread Jason Heeris
On 8 September 2010 18:36, Colin Watson wrote: > OK. Now, hd0 and hd1 names are not guaranteed to be consistent even > between different boots of the same device. The 'set root' command is > just supposed to be a last-ditch fallback. The thing that's actually > supposed to set root is a 'searc

Re: Grub2 installed with wrong boot commands

2010-09-08 Thread Jason Heeris
On 8 September 2010 18:36, Colin Watson wrote: > supposed to set root is a 'search' command later in grub.cfg, which > should be finding the root device by filesystem UUID.  Can you look into > that?  Did your original grub.cfg as installed contain an appropriate > search command? It does, I just

Re: Grub2 installed with wrong boot commands

2010-09-08 Thread Colin Watson
On Wed, Sep 08, 2010 at 05:45:00PM +0800, Jason Heeris wrote: > On 8 September 2010 17:35, Colin Watson wrote: > > 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 G

Re: Grub2 installed with wrong boot commands

2010-09-08 Thread Jason Heeris
On 8 September 2010 17:35, Colin Watson wrote: > 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? I'm pretty certain

Re: Grub2 installed with wrong boot commands

2010-09-08 Thread Colin Watson
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 i

Grub2 installed with wrong boot commands

2010-09-08 Thread Jason Heeris
I've been trying to install Debian Squeeze on a Helios single board computer with 512MB of flash disk space and 256MB RAM. I've been using the daily build of the Squeeze boot.img.gz and netinst ISO to do a USB boot and install. Mostly it goes okay, but the grub2 installation is a real pain. The in