LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compile 2.6 with raid 1 (mirroring) support (https://www.linuxquestions.org/questions/linux-newbie-8/compile-2-6-with-raid-1-mirroring-support-704946/)

mad_penguin 02-16-2009 12:24 AM

compile 2.6 with raid 1 (mirroring) support
 
I tried to compile the 2.6 kernel with raid 1 (software - mirroring) support. After configuration of kernel and creation of the new kernel image, I rebooted the machine and on boot I get the following erors then it stops:
"" Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
/dev/hda: unknown volume type
Begin: Running /scripts/local-premount ...
Done.
mount: Mounting /dev/hda on /root failed: No such device
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
Done.
mount: Mounting /sys on /root/sys failed: No such file or directory
mount: Mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init

BusyBox v1.1.4 (Debian 1:1.1.3-4) Built-in shell (ash)Enter 'help' for a list of built-in commands.

/bin/sh:can't access tty; job control turned off
(initramfs) _
"
I followed the instruction given here, http://www.epimetrics.com/topics/one...e_topic_id=120

Can someone help me ? Did I miss something?

monsm 02-17-2009 09:01 AM

Did you include the file system and raid drivers in the kernel itself? If you configure any drivers needed during boot as modules you need to create an initramfs file.
It is also possible the name of your root has changed. It might now be called /dev/sda instead of /dev/hda..

Mons


All times are GMT -5. The time now is 09:25 PM.