Tom H <tomh0665 <at> gmail.com> writes: > On Mon, Jun 6, 2011 at 7:10 AM, Simon Pepping <spepping <at> > leverkruid.eu> wrote: > > > > I have a debian and a ubuntu system in two different partitions on > > the same > > disk. grub-pc on the debian system provides the boot-loader. > > > > When I have grub-pc installed on the ubuntu system, updates of > > that package > > overwrite debian's grub on the MBR. > > > > When I uninstall grub-pc from ubuntu, update-grub on the debian > > system is no > > longer able to generate good lines for ubuntu in grub.cfg. > > If you uninstall grub-pc from Ubuntu and run "os-prober" in Debian, > isn't the Ubuntu install detected properly?! (What does "generate > good > lines for ubuntu" mean?) >
from Debian when grub is installed on Ubuntu: >sudo linux-boot-prober /dev/sda1 /dev/sda1:/dev/sda1:Ubuntu, met Linux 2.6.38-8-generic-pae: /boot/vmlinuz-2.6.38-8-generic-pae:/boot/initrd.img-2.6.38-8-generic-pae: root=UUID=xxx ro quiet splash vt.handoff=7 /dev/sda1:/dev/sda1:Ubuntu, met Linux 2.6.38-8-generic-pae (herstelmodus): /boot/vmlinuz-2.6.38-8-generic-pae:/boot/initrd.img-2.6.38-8-generic-pae: root=UUID=xxx ro single grub.cfg in Debian when grub is installed on Ubuntu: ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Ubuntu, met Linux 2.6.38-8-generic-pae (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root xxx linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=xxx ro quiet splash vt.handoff=7 initrd /boot/initrd.img-2.6.38-8-generic-pae } menuentry "Ubuntu, met Linux 2.6.38-8-generic-pae (herstelmodus) (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root xxx linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=xxx ro single initrd /boot/initrd.img-2.6.38-8-generic-pae } ### END /etc/grub.d/30_os-prober ### from Debian when grub is not installed on Ubuntu: >sudo linux-boot-prober /dev/sda1 /dev/sda1:/dev/sda1::/boot/vmlinuz-2.6.38-8-generic-pae: /boot/initrd.img-2.6.38-8-generic-pae:root=/dev/sda1 grub.cfg in Debian when grub is not installed on Ubuntu: ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Ubuntu 11.04 (11.04) (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root xxx linux /boot/vmlinuz-2.6.38-8-generic-pae root=/dev/sda1 initrd /boot/initrd.img-2.6.38-8-generic-pae } ### END /etc/grub.d/30_os-prober ### The latter leads to a quirky boot process in Ubuntu. -- 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/loom.20110613t211725-...@post.gmane.org