LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Gentoo software raid boot problems (https://www.linuxquestions.org/questions/linux-from-scratch-13/gentoo-software-raid-boot-problems-207147/)

MaDDeePee 07-19-2004 06:25 PM

Gentoo software raid boot problems
 
Hi!

I hope im posting in the right corner here.. :D

If installed gentoo from a stage3 tarball on my system.
It should run on a software - raid 0 / 1 combination, but i cant boot it gives me a kernel panic (cant mount rootfs on /dev/md2!)

I did:

a two disk set with 3 partitions on each disk combined to a software raid;
md0 as raid1 ext2 for boot (GRUB)
md1 as raid0 swap
md2 as raid0 reiserfs for root

/etc/raidtab is present on /dev/md2, but if i even cant mount /dev/md2 while booting the kernel
so it is useless isnt it? :D
What could i forget compiling the kernel?

CONFIG_MD is set
CONFIG_BLK_DEV_MD is set
CONFIG_MD_LINEAR is set
CONFIG_MD_RAID0 is set
CONFIG_MD_RAID1 is set
This stuff isnt load as module; its directly loaded into the kernel...
I also did emerge raidtools and reiserfsprogs
Could anyone here imagine what i could forgot?

YOURS

MaDDeePee

slackuser 08-28-2004 10:57 AM

booting soft raid 0
 
Problem may be that kernel cannot boot directly from software raid partition or disk. I would add new small (ex.64mb) single partition with ext2 filesystem and mount that under /boot.


All times are GMT -5. The time now is 05:55 AM.