View previous topic :: View next topic |
Author |
Message |
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Fri Aug 04, 2006 5:20 am Post subject: kernel | dmraid question |
|
|
I'm currently working on a sata 3G bios raid installation using dmraid. I'm at the kernel section where I'm a bit stumped. The guide to install on a bios raid tells me that I need an initrd to boot ... or something of the sort. I've manually compiled my kernel (no initrd) and I'm using 'genkernel --dmraid all' to build my generic kernel as a fallback if you will incase my prebuilt kernel doesn't work out. Now can I use my initrd I get from genkernel on my manually built kernel so that I can use that? _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54801 Location: 56N 3W
|
Posted: Fri Aug 04, 2006 1:51 pm Post subject: |
|
|
FcukThisGame,
dmraid provides 3rd party kernel modules so you cannot include dmraid support in the kernel bzImage file.
If your root is on a dmraid volume, you need to load the dmraid modules to mount root. This is a problem if they are stored on the root volume itself. The initrd is a fake root filesystem used (among other things) to hold third party modules needed to mount the real root filesystem. Its normally a compressed ext2 filesystem loaded by grun and mounted on /dev/ram0. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Suicidal l33t
Joined: 30 Jul 2003 Posts: 959 Location: /dev/null
|
Posted: Fri Aug 04, 2006 3:03 pm Post subject: |
|
|
Might want to look at swraid devs just masked dmraid and apparently it is going to be dropped from portage.
package.mask wrote: | # Alec Warner <antarus@gentoo.org> (03 Aug 2006)
# sys-fs/dmraid masked for treecleaners for bug(s) 139860,103912,
# 134050, 138823 Removal in 30 days
sys-fs/dmraid |
|
|
Back to top |
|
|
|