[Bug 479962] Re: update-grub doesn't write a correct grub.cfg in Karmic

Felix Zielcke fzielcke at z-51.de
Wed Nov 11 12:30:35 UTC 2009


Am Mittwoch, den 11.11.2009, 12:07 +0000 schrieb Paolo:
> Thank you very much for your answer;
> 
> I corrected my grub.cfg as far as I understood that I could change the
> mode (after opening this bug).
> The system works perfectly after UUID modification;
> 
> The problem still exists for automatic update-grub
> 
> sudo os-prober 
> /dev/sda1:Ubuntu 9.10 (9.10):Ubuntu:linux
> /dev/sdb3:Ubuntu 9.10 (9.10):Ubuntu1:linux
> 
> sudo linux-boot-prober /dev/sda1 
> /dev/sda1:/dev/sda1::/boot/vmlinuz-2.6.31-14-generic:/boot/initrd.img-2.6.31-14-generic:root=/dev/sda1
> 
> sudo linux-boot-prober /dev/sdb3
> /dev/sdb3:/dev/sdb3:Ubuntu, Linux
> 2.6.31-14-generic:/boot/vmlinuz-2.6.31-14-generic:/boot/initrd.img-2.6.31-14-generic:root=UUID=69f429f9-dc0a-4422-af1f-8eb4796e0294 ro quiet splash
> /dev/sdb3:/dev/sdb3:Ubuntu, Linux 2.6.31-14-generic (recovery
> mode):/boot/vmlinuz-2.6.31-14-generic:/boot/initrd.img-2.6.31-14-generic:root=UUID=69f429f9-dc0a-4422-af1f-8eb4796e0294 ro single (UUID INCORRECT)
> 
> As far as the system comes from a "cp -a" of a system which was in the
> UUID=69f429f9-dc0a-4422-af1f-8eb4796e0294, I have to know which file I
> do have to change for a correct recognition of the UUID of the
> system. 

Oh somehow I totally missed the `cp -a' karmic part.
Mount sdb3 and then either sudo chroot there and run update-grub
or change the UUID directly in /boot/grub/grub.cfg there. You may need
to chmod +w first though.

-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer

-- 
update-grub doesn't write a correct grub.cfg in Karmic
https://bugs.launchpad.net/bugs/479962
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list