I have been googling and searching these forums for 5 hours now, and have found a lot of posts regarding problems similar to mine, but not quite the same, and no solution so far.
I have a Dell PowerEdge SC1425 with two SCSI-disks, that I have tried installing Debian Squeeze on. This machine has previously been running Lenny (with grub 1), and the upgrade was done by booting a live-cd, mounting the root partition and moving everything in / to /oldroot/, then booting the netinstall (from USB), selecting expert install and setting up everything (not formatting the partition). Both disks have identical partition tables:
Code: Select all
/dev/sda1 1 7 56196 de Dell Utility
/dev/sda2 8 250 1951897+ fd Linux raid autodetect
/dev/sda3 * 251 9726 76115970 fd Linux raid autodetect
/dev/sda2 and /dev/sdb2 are members of a Raid-1 for swap.
/dev/sda3 and /dev/sdb3 are members of a Raid-1 for / formatted with reiserfs.
After installation, grub loads, but fails with the following message:
Code: Select all
GRUB loading.
Welcome to GRUB!
error: no such disk.
Entering rescue mode...
grub rescue>
(md0) (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
I can do the following to get grub to boot:
Code: Select all
set root=(hd0,3)
set prefix=(hd0,3)/boot/grub
insmod normal
normal
It appears that grub has only found md0, which I believe is the swap partition, because ls (md0)/ returns error: unknown filesystem.
I have installed grub to both sda, sdb and md1, and tried dpkg-reconfigure grub-pc and dpkg-reconfigure mdadm, as well as update-grub. I manually added
(md1) /dev/md1
to /boot/grub/device.map, but still no result.
I have run the boot_info_script.sh, but unfortunately I cannot attach the RESULTS.txt, because the forum aparently does not allow the txt-extension. Instead I have placed it here:
http://symlink.dk/stuff/RESULTS.txt
I am tempted to go back to grub-legacy, but it seems I am quite close to getting the system working with grub2. Any suggestions are welcome.