Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Booting Linux from software RAID-1

Status
Not open for further replies.

MeelMarcel

Technical User
Feb 3, 2002
3
NL
I have been trying to get Linux to boot from my software RAID set. The RAID sets are mountable and all, but I cant get Linux to boot from it. The root device should be /dev/md1, the message I get from the kernel at boot time is: "Kernel panic: VFS: Unable to mount root fs on 9:01"

The lilo.conf file has the following directives:
boot=/dev/md0
vga=normal
read-only
lba32
prompt
timeout=80
image=/boot/vmlinuz.new
label=linux.sg20
root=/dev/md1
append="enableapic"

The distribution used is SuSE Linux 7.3, the Lilo version is 21.7-5.If anybody has a clue please let me know.

Thanx in advance.
 
is the RAID support built in to the kernel or is it a module?
 
RAID-1 and the filesystem needed are both compiled in the kernel. I have also reviewed the documentation in the howto directory of my Linux distribution, but somehow this doesn't seem to work. I did not experience these problems on another server which boots of of raid now.
 
i was just going for the obvious ;)

i can only think of trying to respecifiy the root device at the lilo prompt in case lilo got it wrong.
 
Yeah, that was what I thought too, I have tried everything, root=/dev/md1, root=0x901, root=901, but it didn't work... :-( I even set the root with rdev. Tnx for the help anyway, it was a good guess, it wouldn't be the first time I forget to compile something :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top