You are not logged in.

#1 2009-09-17 20:39:58

whoops
Member
Registered: 2009-03-19
Posts: 891

everything on software raid /mdadm - grub & kernel tipps?

Hi!

- Does anyone have everything on software-raid?
- Or just "/" & ...
- Or /boot

I could really use some general guidance... had a hard time the last time I tried & finally gave up, because grub1 wouldn't do it and the grub2 docs I found were even worse than grub1.

Different versions of the arch kernel I had so far either
a) panicked when didn't define the / md device in the kernel line (like: " md=0,/dev/sda,/dev/sdv "),
b) panicked when I to define them (had to remove that part from menu.lst again)
c) did strange stuff I didn't really understand but eventually get to work again

So - anyone else has it running, knows how or can provide examples? I just can't find useful information on that stuff, so links to basic information is welcome too.


Thanks!

Offline

#2 2009-09-17 20:57:16

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: everything on software raid /mdadm - grub & kernel tipps?

Perhaps the following post will give some info for your project:
http://bbs.archlinux.org/viewtopic.php?id=79306

Good luck.....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2009-11-10 16:05:51

siot
Member
Registered: 2009-11-10
Posts: 27

Re: everything on software raid /mdadm - grub & kernel tipps?

The last weekend, after hours of pain..., I configured my system with everyting inside LVM (LogicalVolume striped along 4 PhysicalVolumes + ext4) tanks to Grub2. I updated the wiki http://wiki.archlinux.org/index.php/Grub2
I think that to create a software raid you have to change, on grub2, the "insmod lvm" with "insmod raid" and the "set root", "root" as suggested in http://grub.enbug.org/LVMandRAID

"For RAID arrays, the same name is used as the Linux devicename. E.g. if the array is /dev/md2 under Linux, its GRUB name is (md2). The number is taken from the superblock. If it happens that there are two different arrays with the same number in their superblocks the first free number is used."

Maybe:

set timeout=20
set default=0
menuentry "Linux on Raid" {
        insmod raid
        set root=(RaidName)
        linux /vmlinuz root=/dev/RaidName
        initrd /kernel26.img
}

Offline

Board footer

Powered by FluxBB