Le 20/01/2010 10:34, Felix Zielcke a écrit :
Am Mittwoch, den 20.01.2010, 00:55 +0100 schrieb Julien Bellion:
Package: grub-pc
Version: 1.98~20100101-1
Severity: important

Hello,

My system have several partitions :

/dev/sda1 : root partition for a Debian testing 64 bits
/dev/sda2 : /boot partition
/dev/sda3 : root partition for a Debian testing 32 bits
/dev/sda6 : home partition
/dev/sda7 : opt partition

When I run update-grub2 from the 64 bits version, the 32 bits version entries 
are not bootable.
They all point to /dev/sda1 partition, while 32 bits root is sda3.
The problem is the same, but inversed, if I run update-grub2 from the 32 bits 
version.

Does `sudo linux-boot-prober /dev/sda3' on the 64bit one or `sudo
linux-boot-prober /dev/sda1' on the other one get it right?
It should read the correct value for root= parameter from the grub.cfg
on the device you give it.

On the 64bit :
linux-boot-prober /dev/sda3

/dev/sda3:/dev/sda2:Debian GNU/Linux, avec Linux 2.6.32-trunk-686-bigmem:/boot//vmlinuz-2.6.32-trunk-686-bigmem:/boot//initrd.img-2.6.32-trunk-686-bigmem:root=UUID=cfe65d23-6e74-407b-af61-a80d40eff118 ro ipv6.disable=1 quiet /dev/sda3:/dev/sda2:Debian GNU/Linux, avec Linux 2.6.32-trunk-686-bigmem (mode de dépannage):/boot//vmlinuz-2.6.32-trunk-686-bigmem:/boot//initrd.img-2.6.32-trunk-686-bigmem:root=UUID=cfe65d23-6e74-407b-af61-a80d40eff118 ro single ipv6.disable=1 /dev/sda3:/dev/sda2:Debian GNU/Linux, avec Linux 2.6.32-trunk-amd64:/boot//vmlinuz-2.6.32-trunk-amd64:/boot//initrd.img-2.6.32-trunk-amd64:root=UUID=cfe65d23-6e74-407b-af61-a80d40eff118 ro ipv6.disable=1 quiet /dev/sda3:/dev/sda2:Debian GNU/Linux, avec Linux 2.6.32-trunk-amd64 (mode de dépannage):/boot//vmlinuz-2.6.32-trunk-amd64:/boot//initrd.img-2.6.32-trunk-amd64:root=UUID=cfe65d23-6e74-407b-af61-a80d40eff118 ro single ipv6.disable=1 /dev/sda3:/dev/sda2:Julien - Linux 2.6.32-trunk-amd64:/boot/vmlinuz-2.6.32-trunk-amd64:/boot/initrd.img-2.6.32-trunk-amd64:root=/dev/sda1 ro ipv6.disable=1 quiet rootfstype=ext4 /dev/sda3:/dev/sda2:Julien - Linux 2.6.32-trunk-686-bigmem:/boot/vmlinuz-2.6.32-trunk-686-bigmem:/boot/initrd.img-2.6.32-trunk-686-bigmem:root=/dev/sda3 ro ipv6.disable=1 quiet

But /dev/sda3 is the 32bit root.
The results of this command gives root as UUID=cfe65d23-6e74-407b-af61-a80d40eff118 but it is not correct :
# ll /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 janv. 19 09:23 75262850-1103-4869-8dcf-62ac3bf642b6 -> ../../sda3 lrwxrwxrwx 1 root root 10 janv. 19 09:23 c5a6e206-dac1-45ca-8a21-1216fbc16473 -> ../../sda2 lrwxrwxrwx 1 root root 10 janv. 19 09:23 cf636a6d-72ab-4bef-84b5-9c3b95dd4627 -> ../../sda7 lrwxrwxrwx 1 root root 10 janv. 19 09:23 cfe65d23-6e74-407b-af61-a80d40eff118 -> ../../sda1 lrwxrwxrwx 1 root root 10 janv. 19 09:23 fde6420a-e314-4f26-bf14-b3f04c04bc66 -> ../../sda6

I will try this command on /dev/sda1 at midday.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to