View previous topic :: View next topic |
Author |
Message |
JeePee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Dec 2004 Posts: 16 Location: België - Turnhout
|
Posted: Mon Jan 17, 2005 5:48 pm Post subject: Problems with initial ramdisk: "no init found" |
|
|
I recently compiled my 2.6.9-gentoo-r13 kernel so it will boot from my USB-HD. Because my motherboard won't boot from usb by itself, I had to make an initial ramdisk. After a while, the initial ramdisk worked, and my harddrive was recognised at boottime. But immediatly after mounting the root (sda3) - I even don't know whether it is mounted or not - I get this error message:
Quote: | pivotroot: pivot_root(/sysroot, /sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Kernel panic - not syncing: No init found. Try passing init= option to kernel |
So I added Code: | append="init=/initrd" | to my lilo.conf. But it still hung at the same point.
this is my fstab:
Code: | /dev/sda1 /boot est3 defaults,noatime 1 2
/dev/sda2 swap swap sw 0 0
/dev/sda3 / reiserfs noatime 0 1
/dev/sda4 /mnt/media ntfs noauto 0 0 |
and my lilo.conf:
Code: | image=/boot/kernel-2.6.9-gentoo-r13
label="Gentoo"
root=/dev/sda3
read-only
initrd=/boot/initrd-2.6.9-gentoo-r13
append="init=/initrd" |
Does anybody know how to solve this?
(Could it be that the reiserfs from root <--> ext3 from initrd has something to do with the error?)
Greetz, JeePee _________________ One way to accelerate windows: Throw it harder |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JeePee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Dec 2004 Posts: 16 Location: België - Turnhout
|
Posted: Wed Feb 02, 2005 1:02 pm Post subject: |
|
|
Nobody any idea? _________________ One way to accelerate windows: Throw it harder |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BlinkEye Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 21 Oct 2003 Posts: 1046 Location: Gentoo Forums
|
Posted: Sun Mar 06, 2005 8:30 pm Post subject: |
|
|
i'm not sure if we do have the same problem or not. i started a thread here. i never used a initrd, so i can't help you there. but it may be kernel related. i got my usb hd working with 2.6.9 sources, so you might want to try an older kernel - i keep looking for a fix ...
[EDIT] found the bug, have a look at: https://bugs.gentoo.org/show_bug.cgi?id=76445 [/EDIT] _________________ Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|