Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub, raid1, lvm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
isoranger
n00b
n00b


Joined: 31 Aug 2005
Posts: 7

PostPosted: Fri Sep 02, 2005 9:04 pm    Post subject: grub, raid1, lvm Reply with quote

Hi,
I have just finished installing gentoo, however I have a kernel panic due to no initrd found followed by a message saying could not start initial console, then there is a kernel panic
I think I have screwed up something in my grub.raid1/lvm installation, here is my setup: (I have followed this http://gentoo-wiki.com/Installing_on_LVM2_And_Raid5 instructions)

/dev/sda

/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 140 1020127+ 8e Linux LVM
/dev/sda3 141 4870 37993725 8e Linux LVM


/dev/sdb

/dev/sdb1 * 1 13 104391 fd Linux raid autodetect
/dev/sdb2 14 140 1020127+ 8e Linux LVM
/dev/sdb3 141 4870 37993725 8e Linux LVM

I have created md0 as described as raid1 using sda1 and sdb1 and it is running, even at boot it detects the raid but fails just after.
I have created two lvm's, one for swap using sda2 and sdb2, and one for root using sda3, sdb3, sdc1 and sdd1.

here is my grub.conf.
timeout 5
default 0
fallback 1
splashimage=/boot/grub/splash.xpm.gz


title Gentoo Linux 2.6.13-r6 - (mirror sda1)
root (hd0,0)
kernel /boot/kernel-2.6.13-gentoo-r6 root=/dev/md0

any help is appreciated, this grub is giving me a serious headache...

thx
isoranger
Back to top
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Fri Sep 02, 2005 9:36 pm    Post subject: Reply with quote

I have a very similar setup, however i use genkernel to compile my kernel. If you run it with

Code:

genkernel --lvm2


(and other relevant arguments) it automatically includes support for LVM in die initramfs. Of course you also need all relevant Device Mapper and LVM2 kernel options.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum