grub2: After current update update-grub messes up device names, making the system unbootable.
A message that is not in the archive (sent off-list or not yet received): 20070506064150.4623.60299.reportbug@localhost
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Szántó Dániel
Root partition is
/dev/md0.
Ah, you should have mentioned that you're using software RAID or the likes.
RAID is supported but it is not too mature. Please can you run "grub-probe -v -t device /boot/grub" and send the output?
I'm also forwarding this to upstream mailing list. Keep them in CC.
GRUB maintainers: Szántó got /dev/sda1 instead of /dev/md0 when running grub-probe -t device.
Quoted 3 lines
For clarification I have attached the original and the updated
/boot/grub/grub.cfg, with comments cut away, as well as/etc/fstaband/etc/mtab
/etc/fstab and /etc/mtab are not used now, only grub-probe.
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Szántó Dániel
Quoted 6 lines · Robert Millan
Quoted 1 line · Szántó Dániel
Root partition is
/dev/md0.Ah, you should have mentioned that you're using software RAID or the likes.
RAID is supported but it is not too mature. Please can you run "grub-probe -v -t device
/boot/grub" and send the output?Sorry for not pointing out RAID, I'm not yet an expert at reporting bugs :) Anyway, I have attached the result.
Actualy you forgot it ;-)
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 5 lines · Robert Millan
Quoted 1 line · Szántó Dániel
Root partition is
/dev/md0.Ah, you should have mentioned that you're using software RAID or the likes.
Quoted 7 lines
RAID is supported but it is not too mature. Please can you run "grub-probe -v -t device
/boot/grub" and send the output?I'm also forwarding this to upstream mailing list. Keep them in CC.
GRUB maintainers: Szántó got
/dev/sda1instead of/dev/md0when running grub-probe -t device.
Is it really mounted correctly? What is the content of /proc/mount?
Okuji
A message that is not in the archive (sent off-list or not yet received): [email protected]
retitle 422459 update-grub generates broken grub.cfg when /boot is a separate partition thanks
Quoted 10 lines · Szántó Dániel
Quoted 4 lines
Is it really mounted correctly? What is the content of
/proc/mount?Okuji
Here it is:
ananasz:~# cat /proc/mounts [...] /dev/sda1 /boot ext3 rw,data=ordered 0 0
Here it is. /dev/sda1 _is_ the right device, but your grub.cfg is still wrong.
What do you see during boot?
Can you try "ln -s . /boot/boot" and confirm this works around the problem?
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: grub2: update-grub generates broken grub.cfg when /boot is a separate partition
Quoted 11 lines · Szántó Dániel
Quoted 7 lines · Robert Millan
Quoted 3 lines
ananasz:~# cat /proc/mounts [...] /dev/sda1 /boot ext3 rw,data=ordered 0 0Here it is.
/dev/sda1_is_ the right device, but your grub.cfg is still wrong.What do you see during boot?
What details should I give? The output of dmesg with the correct grub.cfg or the error message I get when trying to boot with the wrong one?
The error message.
Quoted 4 lines
Quoted 1 line
Can you try "ln -s .
/boot/boot" and confirm this works around the problem?Nothing changes, after symlinking /boot to
/boot/bootupdate-grub generates exactly the same grub.cfg.
Does it boot now?
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: grub2: update-grub generates broken grub.cfg when /boot is a separate partition
Quoted 4 lines · Szántó Dániel
Quoted 3 lines · Robert Millan
Quoted 1 line · Szántó Dániel
On Wed, May 09, 2007 at 09:15:48AM +0200, Robert Millan wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Can you try "ln -s .
/boot/boot" and confirm this works around the problem?Nothing changes, after symlinking /boot to
/boot/bootupdate-grub generates exactly the same grub.cfg.Does it boot now?
No,
Ah. Well, I spotted a problem with update-grub not generating relative paths when /boot is a separate partition.
But it seems you hit other bugs related with RAID. I'm afraid I can't comment on these.
Quoted 16 lines
It gives the same error message:
Booting "Debian GNU/Linux, linux 2.6.20-1-amd64"error: you need to load the kernel first
Press any key to continue...
If I edit the grub command line and settings to set root to hd0,0 and the linux kernel paramter to root=/dev/md0, I get the same error if the cursor is below the last line. If the cursor is at the end of the last line I get
error: Out of memory
instead.
I
DTR
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.