On Wed, Sep 21, 2011 at 1:40 PM, Russell L. Harris <rlharr...@oplink.net> wrote: > * Tom H <tomh0...@gmail.com> [110921 02:09]:
>> Given the grub version, it's your Wheezy install that's controlling >> boot. > > Thank you for noticing this. My intent was to have stable (Squeeze) > controlling boot, because of the vagaries of testing. But this > (Wheezy) may be better. Unless you're using partitioned mdraid, I'm not sure what benefit there might be from favoring Wheezy's grub over Squeeze's - but using Wheezy's shouldn't be a problem. >> Why did you run "grub-install"? Since you chose not to install a >> bootloader, all you needed to do was run "update-grub" in Wheezy. >> >> Did you just run "grub-install"? Or "grub-install /dev/sda"? (I >> wouldn't have thought that "grub-install" would work. > > Forgive me. It was "update-grub" and not "grub-install" which I ran > in Squeeze. The update process found Ubuntu, so I did not look > further. No worries. >> Do >> grub-probe --target=fs_uuid --device /dev/sda7 >> and >> blkid -c /dev/null /dev/sda7 >> return the same value and does it correspond to the UUID in the >> "search" and "linux" lines of the Ubuntu entry in grub.cfg? > > For the record, here is the output from Wheezy: > > # update-grub > Generating grub.cfg ... > Found background image: /usr/share/images/desktop-base/desktop-grub.png > Found linux image? /boot/vmlinuz-3.0.0-1-486 > Found initrd image: /boot/initrd.img-3.0.0-1-486 > Found Debian GNU/Linux (6.0.2) on /dev/sda5 > Found Ubuntu 10.04.3 LTS (10.04) on /dev/sda7 > done > > # blkid -c /dev/null > /dev/sda1: UUID=" <snip> " SEC_TYPE="ext2" TYPE="ext3" > /dev/sda3: UUID=" <snip> " TYPE="swap" > /dev/sda4: UUID=" <snip> " TYPE="ext3" > /dev/sda5: UUID=" <snip> " SEC_TYPE="ext2" TYPE="ext3" > /dev/sda6: UUID=" <snip> " TYPE="ext4" > /dev/sda7: UUID=" <snip> " SEC_TYPE="ext2" TYPE="ext3" > > # grub-probe --target=fs_uuid --device /dev/sda7 > <snip> > > I did not type the actual UUIDs, because I am transcribing on another > machine (not cutting and pasting). The UUID which blkid returns for > /dev/sda7 does match the UUID returned by grub-probe. > > The Ubuntu entries in /boot/grub.cfg refer to /dev/sda7 rather than to > the UUID. > > Now I would like to know why the grub boot menu has five entries for > Ubuntu, and how to get rid of three or four of them... I can't think of any way other than editing "/etc/grub.d/30_os-prober" not to detect more than x kernels on each "/boot". I once googled to a grub-devel post in which someone requested from the grub developers that they re-instate grub1's "howmany" variable but they weren't interested (IIRC, I'm not sure that they really understood what was being requested). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sxmcuokv4d3rri27mogx9e07nhlatsf-b4aum-sy5e...@mail.gmail.com