On Sunday 21 January 2007 09:45, Bo Jacobsen wrote:
After having copied a OpenSuse 10.2 system with software-raid (
disk-mirror with 2 IDE harddisks) to a different set of harddisks,
Linux can no longer boot on the new disks, when I boot with the
standard Open SuSE 10.2 kernel.
The error message is from MD saying that it can not find any devices
for my three raid partions /dev/md0 (swap) , /dev/md1 (/) and /dev/md2
(/home)
md: No device found for /dev/md0...
and the boot sequence halts.
<snip>
On the harddisk where the system was originally copied from, it works
perfectly.
Any suggestions
Thanks in advance
/Bo
Sounds like grub doesn't know the new system. Have you stepped through grub
config when you are booted to the rescue system? Your previous grub setup
may not work on the new setup. You may just have grub re-read the disk
setup and install that.
Stan
I have done a:
grub root (hd0,1)
setup (hd0)
on the harddisk so it should be OK. Besides the 2.19.1 kernel on the
system boots without any problems.
Both kernels are defined in /boot/grub/menu.lst:
..
title Linux 2.6.19.1 # This always works, no matter
the hardware.
root (hd0,1)
kernel /boot/boot.2.19 root=/dev/md1
title Default OpenSuSE 10.2 # Do not work, but if harddisk is
attached to MS Virtual PC then it works !?
root (hd0,1)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/md1
initrd /boot/initrd-2.6.18.2-34-default
When booting the default SuSE kernel, the following is written to the
screen:
Loading liniar
md: Liniar personality registered for level1
Loading JBD
Loading mbcache
Loading ext3
md: MD1: No device found for /dev/md1
Waiting for device /dev/md1 to appear: OK
/dev/md1: Unknown volume type
Invalid boot file system - exiting to /bin/sh.
..
And then the boot stops.
The same harddisk mounted on a MS Virtual PC and booted with the same
Grub bootline,
boots as expected, and makes the following lines in boot.msg:
..
Loading liniar
Loading mbcache
Loading ext3
mdadm: /dev/md0 has been started with 1 drive (out of 2).
mdadm: /dev/md1 has been started with 1 drive (out of 2).
...
/Bo
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]