Quote:
Originally Posted by bulliver
Can we see grub.conf and /etc/fstab?
|
So now I found out how to look at my /etc/fstab file. It is:
/dev/mapper/nvidia_aafidaje5 / ext2 defaults 1 1
/dev/mapper/nvidia_aafidaje1 /boot ext2 defaults 1 2
/dev/hda /mnt/cdrom auto umask=0022, user, iocharser=iso8859-1, codepage=850, noauto, ro, exec, use rs 0 0
none /proc proc defaults 0 0
/dev/mapper/nvidia_aafidaje6 swap swap defaults 0 0
The grub loader option had these lines:
kernel (hd0,0)/boot/vmlinuz
root=/dev/mapper/nvidia_aafidaje5
resume=/dev/mapper/nvidia_aafidaje6
splash=silent
vga=788
initrd (hd0,0)/boot/initrd.img
(I reinstalled the system on other disks so grub loader differs a bit from the earlier one)
It seems that everything should be OK because "fstab" and "grub" looks compatable (at least for me). But I get that " Kernel panic - not syncing: No init found. Try padding init= option to kernel" error anyway.
So what I did was: with "linux rescue" disk I changed fstab file as:
/dev/sda5 / ext2 defaults 1 1
/dev/sda1 /boot ext2 defaults 1 2
/dev/hda /mnt/cdrom auto umask=0022, user, iocharser=iso8859-1, codepage=850, noauto, ro, exec, use rs 0 0
none /proc proc defaults 0 0
/dev/sda6 swap swap defaults 0 0
and the grub option as:
kernel (hd0,0)/boot/vmlinuz
root=/dev/mapper/sda5
resume=/dev/mapper/sda6
splash=silent
vga=788
initrd (hd0,0)/boot/initrd.img
Linux loaded normally but of course without RAID 1.
I did
# dmraid -s
and got:
*** Active Set
name : nvidia_aafidaje
size : 78161326
stride : 128
type : mirror
status : ok
subsets : 0
devs : 2
spares : 0
as it should be. But doing
# modprobe dm-mirror
# dmraid -ay
gave me:
ERROR: dos: reading /dev/mapper/nvidia_aafidaje[No such file or directory]
By the way, when I mount "/dev/sdb5" the content is the same as "/dev/sda5", which meens that Mandriva2006 was realy installed on the mirrored disks.
As far as I can understand all this story, installation goes on two mirrored disks. But after instalation finishes and computer reboots, then grub cannot load the system on the mirrored disks. Maby it is the problem that some modules are not loaded or something?
Please, could anybody explain what is happening.
Thank you