LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-02-2003, 02:14 AM   #1
Aphex
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
Angry Software RAID0 + Slack9.1


I'm trying to install Slack 9.1 on a software raid0 of 2 identical IDE drives, and everything seems to go well (no errors). BUT, when the system finally boots, it dies with "Kernel panic: VFS Unable to mount root FS on 09:00"

Here is what I did to install:
*Booted into slack installer
*Got root shell
*Partitioned like so (with cfdisk):

/dev/hda1 -- bootable, linux, ext3
/dev/hda2 -- linux ext3

/dev/hdb1 -- linux swap
/dev/hdb2 -- linux ext3

*Made an /etc/raidtab containing
raiddev/dev/md0
raid-level 0
nr-raid-disks 2
chunk-size 32
persistent-superblock 1
device/dev/hda2
raid-disk 0
device/dev/hdb2
raid-disk 1

*mkraid /dev/md0
*mke2fs -j -R stride=8 /dev/md0
*mke2fs -j /dev/hda1
*mount /dev/md0 /mnt
*mkdir /mnt/boot
*mount /dev/hda1 /mnt/boot
*setup (slack installed successfully)
(I used kernel "scsi.s" since I have an adaptec aic7890, but this isn't important since I don't use scsi anyway)
*cp /etc/raidtab /mnt/etc/raidtab
*Added this to /mnt/etc/fstab:

/dev/md0 / ext3 defaults 1 1
/dev/hda1 /boot ext3 defaults 1 2

*In /mnt/etc/lilo.conf:

root = /dev/fd2
got changed to;
root = /dev/md0

boot=/dev/hda1 (normal)

*lilo -C /mnt/etc/lilo.conf (success)
*Rebooted, lilo shows, boots linux...
*Kernel freaks out

If i reboot back into the slack installer shell, copy the /etc/raidtab back from a floppy backup I made, and do raidstart /dev/md0, then mount it, it works fine, and the whole file system is there also. It seems to be a problem with my fstab/kernel.

Any possible fix?

(PS, I adapted this howto to fit my hardware setup)
 
  


Reply


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
boot from software raid0 with debian ulmo Debian 2 07-30-2004 03:06 AM
boot to PATA raid0 on Promise 378 *and see* SATA raid0 ICH5 ? patr Linux - Hardware 2 02-25-2004 01:36 AM
Trouble with HD and software raid0 RC_ Linux - Hardware 0 08-07-2003 12:28 AM
Software RAID0 mess up, help! Devoras Linux - General 1 01-01-2003 11:20 PM
software RAID0 errors. repair utility? ziidle Linux - General 0 09-29-2002 10:59 PM


All times are GMT -5. The time now is 03:18 PM.

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