Hi Kirk and all
Thanks for your suggestion. Yes, I had forgotten to include raid1.o
module in the initrd.img in the bootdisk. It almost work now....
It seems that now during the boot process it can create and start the
raid array. One of the arrays md0 contains the root filesystem. But near the
end I get kernel panic.
The message that I get is as follows:
Warning: Unable to open an initial console
Kernel panic:No init found. Try passing init=option to kernel
I would be immensely thankful if anybody can provide me with any
suggestion.
regards..
--rezwanul
-----Original Message-----
From: Kirk [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 18, 2000 3:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [RHL] seeking help with software raid
Does your boot floppy have an initrd.img that contains the raid(x).o module
you need to boot the raid partition?
>At 03:31 PM 8/18/00 -0500, you wrote:
>Hi
> I'm trying to establish a software raid1 after installing linux
>(redhat 6.2, kernel 2.2.14) in the first drive. I went to a certain extent
>but could not succeed completely.
> Here is what I am doing..
>
> 1) Install linux in /dev/sda ( boot partition /dev/sda1, root partition
>/dev/sda5, swap /dev/sda6)
> 2) fdisk the second drive (/dev/sdb) with the same size partitions as
>/dev/sda but converted the type to 0xfd
> 3) Create /etc/raidtab using failed_disk for /dev/sda1 and /dev/sda5..
>
> raiddev /dev/md0
> .
> .
> device
>/dev/sdb5
> raid-disk 0
> device
>/dev/sda5
> failed-disk 1
>
> reiddev /dev/md1
> .
> .
> device
>/dev/sdb1
> raid-disk 0
> device
>/dev/sda1
> failed-disk 1
>
> 4) mkraid /dev/md0
> mkraid /dev/md1
> I checked the devices in /proc/mdstat and they looked fine
>
> 5) mount /dev/md0 /mnt ; mount /dev/md1 /mnt/boot
> 6) cp directories from / to /mnt except (proc,mnt)
> 7) cd /mnt/etc; changed the fstab..
> /dev/md0 / ext2 defaults 1 1
> /dev/md1 /boot ext2 defaults 1 1
>
> 8) umount /mnt/boot; umount /mnt; raidstop /dev/md0 ; raidstop /dev/md1
>
> Everything went on fine till now. Then I tried to boot from a floppy
with
>root=/dev/md0
> But the kernel panicked...
>
> I would be very grateful if anyone could help me out with this..
> Thank you very much
>
> --rezwanul
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list