Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-16-2009, 12:24 AM   #1
Registered: Mar 2008
Posts: 69

Rep: Reputation: 15
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 ...
/dev/hda: unknown volume type
Begin: Running /scripts/local-premount ...
mount: Mounting /dev/hda on /root failed: No such device
Begin: Running /scripts/local-bottom ...
Begin: Running /scripts/init-bottom ...
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
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,

Can someone help me ? Did I miss something?
Old 02-17-2009, 09:01 AM   #2
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
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..



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID mirroring tekmann33 Linux - Hardware 1 02-07-2008 07:03 PM
WD | My Book 2 TB and RAID mirroring Aleksandersen Linux - Hardware 2 01-14-2008 07:19 AM
SATAII RAID(1) Mirroring industris Slackware 2 09-19-2005 02:52 AM
raid card is not mirroring abefroman Linux - Hardware 6 09-13-2005 11:28 PM
Raid 1 mirroring in RH7.3 prue3 Linux - Software 1 07-03-2002 05:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration