View previous topic :: View next topic |
Author |
Message |
dj_farid l33t
Joined: 14 Jun 2004 Posts: 613
|
Posted: Fri Mar 03, 2006 10:45 pm Post subject: [SOLVED]Kernel Panic after partition re-order. Please help! |
|
|
I was fiddling around with my different partitions. I think that I got everything the way I wanted but...
I created an extra partition between my two NTFS partitions and my three linux partitions. This made the naming of the three linux partitions change, as expected.
/boot from /dev/hda5 to hda6
swap from /dev/hda6 to hda7
root from /dev/hda7 to hda8
Now when I boot I get:
Code: | Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block (3,7) |
I got grub working. After reinstalling it and changing the config to point at the right partition.
/etc/fstab is changed also.
Is there something in the kernel that points to the old locations? Do I need to recompile the kernel, or is there something else I have missed?
Last edited by dj_farid on Sat Mar 04, 2006 5:36 pm; edited 1 time in total |
|
Back to top |
|
|
eelke Guru
Joined: 17 May 2004 Posts: 406 Location: Earth, Netherlands, Friesland
|
Posted: Sat Mar 04, 2006 8:26 am Post subject: |
|
|
In your kernel grub.conf should be a line similar to this one
Code: | kernel /kernel-2.6.14-gentoo-r2 root=/dev/hda8 |
Make sure the root parameter is correct. Should be hda8 in your case. If you have a resume/resume2 option you may have to correct that one to. Also check your /etc/fstab if you didn't do it allready
If you still have problems post your grub.conf and /etc/fstab |
|
Back to top |
|
|
dj_farid l33t
Joined: 14 Jun 2004 Posts: 613
|
Posted: Sat Mar 04, 2006 5:36 pm Post subject: |
|
|
Thanks! It was a stupid mistake. I had forgotten to change the "root=/dev/hda8". I thought that I had since I had changed everything else in grub.conf...
Sometimes it's better to do this kind of bigger operations when you are not tired |
|
Back to top |
|
|
|