Bug#467501: grub-pc: Fails to cleanly upgrade a grub legacy box with RAID1

Robert Millan rmh at aybabtu.com
Thu Feb 28 12:22:00 UTC 2008


On Mon, Feb 25, 2008 at 10:26:14PM +0000, Jonathan McDowell wrote:
> Package: grub-pc
> Version: 1.96+20080219-2
> Severity: important
> 
> I have installed grub-pc on my shiny new AMD64 box. After verifying it
> loaded fine when chainloaded from legacy grub I typed
> "upgrade-from-grub-legacy" and rebooted. I was rewarded with the grub
> rescue shell.
> 
> For some reason it has decided that "prefix=(fd0)/boot/grub" rather than
> "prefix=(md0)/boot/grub". If I do something along the lines of (from
> memory, but I believe this was the rough gist):
> 
> root (md0)
> set prefix=(md0)/boot/grub
> insmod /boot/grub/boot.mod
> normal
> 
> then I get the expected boot menu.
> 
> I can't see any sign of fd0 in /boot/grub so I'm not even sure how to
> fix this locally myself at present.

Please provide the output of the following commands:

  sudo dd if=/dev/sda bs=1 count=2 skip=76 | od -tx1

  sudo grub-setup -v "(hd0)"

(assuming /dev/sda is the disk you boot from, of course)

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list