View previous topic :: View next topic |
Author |
Message |
DrWoland l33t
Joined: 13 Nov 2004 Posts: 603
|
Posted: Sun Dec 26, 2004 6:35 am Post subject: Kernel Panic: Not Syncing: No init found. > Solved, stupi |
|
|
Here are the last few lines I get that seem erroneous, everything up to that point looks tip-top:
Code: |
VFS: Mounted root (ext2 filesystem) readonly.
mount_devfs_fs(): unable to mount devfs, err: -2
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
|
It detects my SATA harddrive as sda, which is what the LiveCD detected it as, so there's nothing awry there for sure.
I had a successful setup a couple weeks ago, then decided to start over with ReiserFS. That's why that line about root being ext2 worries me. I did nothing different from last time, except enabled ReiserFS support in the kernel. Here's fstab:
Code: |
/dev/sda7 /boot ext2 noauto,noatime 1 1
/dev/sda6 / reiserfs noatime 0 1
/dev/sda8 none swap sw 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
|
Any ideas?
Last edited by DrWoland on Sun Dec 26, 2004 9:26 am; edited 1 time in total |
|
Back to top |
|
|
ishunnedmypants n00b
Joined: 08 Jan 2004 Posts: 27 Location: Illinois - pronounced without the s!
|
Posted: Sun Dec 26, 2004 8:26 am Post subject: |
|
|
All I can think is that maybe your grub config file is setup wrong. Make sure in your /boot/grub/grub.conf file, you have:
kernel (hd0,6)/bzImage root=/dev/sda6
I'm not sure if (hd0,6) is totally right, because I don't know how the sda vs. hda works in grub. If you're using lilo, then I have no clue. _________________ Mr. Pickles Fun Time Abortion Clinic, "We'll bring out the kid in ya!" |
|
Back to top |
|
|
ishunnedmypants n00b
Joined: 08 Jan 2004 Posts: 27 Location: Illinois - pronounced without the s!
|
Posted: Sun Dec 26, 2004 8:39 am Post subject: |
|
|
You also might need to add an init command to the grub.conf file. I think you only need this if you used genkernel. It might look like this:
kernel /linux-blah root=/dev/ram init=/linuxrc etc.
Try the installation how-to to see what you need. _________________ Mr. Pickles Fun Time Abortion Clinic, "We'll bring out the kid in ya!" |
|
Back to top |
|
|
DrWoland l33t
Joined: 13 Nov 2004 Posts: 603
|
Posted: Sun Dec 26, 2004 9:26 am Post subject: |
|
|
ishunnedmypants wrote: | All I can think is that maybe your grub config file is setup wrong. Make sure in your /boot/grub/grub.conf file, you have:
kernel (hd0,6)/bzImage root=/dev/sda6
I'm not sure if (hd0,6) is totally right, because I don't know how the sda vs. hda works in grub. If you're using lilo, then I have no clue. |
Yeah, I'm a dumbass. My grub.conf was pointing to /dev/hde7 from my previous install. Works fine now, I totally forgot I changed my partition structure and keep underestimating the importance of grub.conf. |
|
Back to top |
|
|
|
|
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
|
|