View previous topic :: View next topic |
Author |
Message |
manuj n00b
Joined: 11 Jun 2013 Posts: 4
|
Posted: Wed Jun 12, 2013 12:12 pm Post subject: [Solved]Gentoo Boot Ext4 filesystem error |
|
|
I have created a ext4 filesystem for my root partition
When i try to boot Kernel Panic occurs
Quote: | Kernel panic - not syncing:VFS: Unable to mount root fs error 6
set "root="
|
Grub.conf
Quote: |
title Gentoo Linux 3.8.13
root (hd0,4)
kernel /boot/kernel-genkernel-x86-3.8.13-gentoo root=/dev/sda4
title Gentoo Linux 3.8.13 (rescue)
root (hd0,4)
kernel /boot/kernel-genkernel-x86-3.8.13-gentoo root=/dev/sda4 init=/bin/bb
|
Partition Table:
Quote: |
Device Boot Start End Blocks Id System
/dev/sda1 2048 1259519 628736 5 Extended
/dev/sda2 41945088 73402367 15728640 7 HPFS/NTFS/exFAT
/dev/sda3 73402368 234436607 80517120 7 HPFS/NTFS/exFAT
/dev/sda4 1259520 41945087 20342784 83 Linux //Root Partition
/dev/sda5 * 4096 208895 102400 83 Linux //Boot Partition
/dev/sda6 210944 1259519 524288 82 Linux swap / Solaris
|
PS: I have used "genkernel all" for compiling that is the alternate method
Last edited by manuj on Thu Jun 13, 2013 4:29 pm; edited 1 time in total |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Wed Jun 12, 2013 12:33 pm Post subject: |
|
|
is the ext4 driver built into the kernel you are booting or as a module?
also shouldn't there be a initramfs entry for grub as well since genkernel makes an initramfs
also in using an initramfs shouldn't there be a real_root option?
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2 _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
manuj n00b
Joined: 11 Jun 2013 Posts: 4
|
Posted: Thu Jun 13, 2013 4:28 pm Post subject: [Solved]Re: Gentoo Boot Ext4 filesystem error |
|
|
The problem was that i have enable ext4 as a Module <M>
So i changed it to <*> and reccompile
It works!!!!
Thanks everyone |
|
Back to top |
|
|
|