Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with initial ramdisk: "no init found"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
JeePee
n00b
n00b


Joined: 31 Dec 2004
Posts: 16
Location: België - Turnhout

PostPosted: Mon Jan 17, 2005 5:48 pm    Post subject: Problems with initial ramdisk: "no init found" Reply with quote

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
View user's profile Send private message
JeePee
n00b
n00b


Joined: 31 Dec 2004
Posts: 16
Location: België - Turnhout

PostPosted: Wed Feb 02, 2005 1:02 pm    Post subject: Reply with quote

Nobody any idea?
_________________
One way to accelerate windows: Throw it harder
Back to top
View user's profile Send private message
BlinkEye
Veteran
Veteran


Joined: 21 Oct 2003
Posts: 1046
Location: Gentoo Forums

PostPosted: Sun Mar 06, 2005 8:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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