View previous topic :: View next topic |
Author |
Message |
MetalWarrior Guru
Joined: 07 Nov 2004 Posts: 347 Location: Malè (Trento), Italy
|
Posted: Sun Oct 16, 2005 3:13 pm Post subject: Kernel panic with reiserfs [SOLVED] |
|
|
Hi,
I've just completed a stage3 installation on my desktop pc, but I'm havin some problems now at the first reboot..
I have an IDE hd on /dev/hda (hd0) and a SATA hd on /dev/sda (hd1). Linux is on the IDE hd, on /dev/hda3 (I do not have a separate boot partition, I have everything on /dev/hda3). /dev/hda3 (the root partition) is formatted with reiserfs. I installed grub (the installation completed succesfully, recognizing that there is reiserfs on the root partition) but when I boot into Gentoo I see the following two lines:
Code: |
EXT3-fs: unable to read superblock
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)
|
Why does it tells something about ext3 even if no partitions are formatted with such a fs?
This is the biggest issue that I have at the moment.. Another thing is booting WinXP.. I added the lines that are necessary to boot Windows, which is on the first partition of the sata hard disk, but it doesn't boot.. Could it be a problem related to SATA? _________________ (Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html
Last edited by MetalWarrior on Sun Oct 16, 2005 4:01 pm; edited 1 time in total |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Oct 16, 2005 3:24 pm Post subject: |
|
|
1. Make sure the reiserfs driver is compiled into your kernel, not as a module.
2. Make sure that you specify the right filesystem type in /etc/fstab for your root partition _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
MetalWarrior Guru
Joined: 07 Nov 2004 Posts: 347 Location: Malè (Trento), Italy
|
Posted: Sun Oct 16, 2005 3:36 pm Post subject: |
|
|
This is my fstab:
Code: |
/dev/hda3 / reiserfs notail 1 1
/dev/hda4 none swap sw 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
proc /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
none /tmp tmpfs defaults,size=512M 0 0
|
and this is are few lines of my .config:
Code: |
#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=m
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=m
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
|
I've put ext3 as module and the first line "EXT3-fs: unable to read superblock" has disappeared..
I don't know what to try now.. _________________ (Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html |
|
Back to top |
|
|
MetalWarrior Guru
Joined: 07 Nov 2004 Posts: 347 Location: Malè (Trento), Italy
|
Posted: Sun Oct 16, 2005 3:45 pm Post subject: |
|
|
Now I try removing the swap partition and creating an ext2 boot partition (I must remove the swap because I cannot simply reduce it and create two partitions, one for swap and one for boot.. but I think it is not strictly necessary with 1Gb of ram.. tell me if I'm wrong).. _________________ (Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html |
|
Back to top |
|
|
MetalWarrior Guru
Joined: 07 Nov 2004 Posts: 347 Location: Malè (Trento), Italy
|
Posted: Sun Oct 16, 2005 3:54 pm Post subject: |
|
|
I'm getting always the same problem... _________________ (Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html |
|
Back to top |
|
|
MetalWarrior Guru
Joined: 07 Nov 2004 Posts: 347 Location: Malè (Trento), Italy
|
Posted: Sun Oct 16, 2005 4:00 pm Post subject: |
|
|
Please, someone tells me I'm stupid... The grub.conf I used on my desktop pc was copied from my laptop, with the wrong root= option passed to the kernel... I will put SOLVED on this thread and create a new one for the "booting windows" problem.. _________________ (Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html |
|
Back to top |
|
|
|