1 |
Hello, |
2 |
|
3 |
I wan't to use an initrd for loading my Highpoint raid controller by using the drivers provided by highpoint. |
4 |
I can't get an initrd to load, the kernel load, the initrd is mounted as root. But then it says it can't find INIT: add init= to kernel (but there allready is).... |
5 |
|
6 |
Does anyone know what i'm doing wrong? (my config below) |
7 |
|
8 |
Luke Ordelmans |
9 |
gentoo since 1.0rc_6 :) |
10 |
|
11 |
** my grub entry for this one: (grub is installed on a floppy) |
12 |
|
13 |
title=Gentoo Linux (Highpoint) |
14 |
kernel (hd0,3)/boot/vmlinuz-2.4.20-ac1 root=/dev/ram0 init=/linuxrc rw |
15 |
initrd (hd0,3)/boot/initrd-2.4.20-ac1 |
16 |
|
17 |
** the relevantfiles on my initrd-2.4.20-ac1: |
18 |
/bin: bash insmod insmod.static modprobe pivot_root sh |
19 |
/dev: console |
20 |
/etc: fstab |
21 |
/lib/2.4.20-ac1/kernel/drivers/scsi: scsi_mod.o sd_mod.o sg.o sr_mod.o |
22 |
/lib/2.4.20-ac1/kernel/hpt: hpt37x2.o |
23 |
/linuxrc (executable) |
24 |
|
25 |
** my /linuxrc: (none of this is done at boot?) |
26 |
|
27 |
echo Doing The INITRD Stuff... |
28 |
echo ========================== |
29 |
|
30 |
echo mounting /proc |
31 |
mount -t proc /proc /proc |
32 |
#echo making root device |
33 |
#mkrootdev /dev/root |
34 |
echo setting real root device in /proc/sys/kernel |
35 |
echo 0x0100 > /proc/sys/kernel/real-root-dev |
36 |
|
37 |
// COPIED PART OF GENTOO /etc/init.d/modules here |
38 |
// (cut out for readability of this e-mail) |
39 |
|
40 |
echo unmounting /proc |
41 |
umount /proc |
42 |
echo mounting root |
43 |
mount --ro -t reiserfs /dev/sda4 /sysroot |
44 |
echo doing pivot_root |
45 |
pivot_root /sysroot /sysroot/initrd |
46 |
echo switching to INIT..... |
47 |
exec init |
48 |
|
49 |
|
50 |
-- |
51 |
gentoo-dev@g.o mailing list |