Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"Superblock could not be read ..."
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
mumebuhi
n00b
n00b


Joined: 21 Aug 2005
Posts: 3

PostPosted: Sun Aug 21, 2005 4:40 pm    Post subject: "Superblock could not be read ..." Reply with quote

Hi,

First of all, I am totally new to Gentoo. I am switching myself to the FSF.

I think my problem will be considered as simple for some Gentoo experts, still I could not solve it. Would somebody please help me? I do not want to give up to start loving Linux! :)

I tried to install Gentoo 2005.1 in my machine. I have carefully followed the 'Gentoo 2005.1 Handbook'. However, when I tried to start the kernel (using GRUB), it says
Code:

 [/quote]* Checking root filesystem ...
fsck.ext3: No such file or directory while trying to open /dev/ROOT
/dev/ROOT:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
 e2fsck -b 8193 <device>

 * Filesystem couldn't be fixed :( [!!]


The /etc/boot/grub.conf looks like the following:
Code:

root (hd0,0)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/ram0 initi=/linuxrc  ramdisk=8192 real_root=/dev/hda3 udev
initrd /initramfs-genkernel-x86-2.6.12-gentoo-r6



The /etc/fstab looks like the following:
Code:

/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0

proc /proc proc defaults 0 0

shm /dev/shm tmpfs nodev,nosuid,noexec 0 0




Buhi
Back to top
View user's profile Send private message
geniux
Veteran
Veteran


Joined: 19 Feb 2004
Posts: 1400
Location: /home

PostPosted: Sun Aug 21, 2005 4:47 pm    Post subject: Re: "Superblock could not be read ..." Reply with quote

mumebuhi wrote:


The /etc/fstab looks like the following:
Code:

/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0

proc /proc proc defaults 0 0

shm /dev/shm tmpfs nodev,nosuid,noexec 0 0



Here's your error.
Change it to:
Code:

/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0

or whatever your hd partitions is. IE, it shouldn't read /dev/BOOT, ROOT or SWAP
_________________
AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20
Back to top
View user's profile Send private message
arjay
n00b
n00b


Joined: 11 Jun 2005
Posts: 60
Location: Jacksonville, FL

PostPosted: Sun Aug 21, 2005 4:50 pm    Post subject: Re: "Superblock could not be read ..." Reply with quote

mumebuhi wrote:
Hi,

First of all, I am totally new to Gentoo. I am switching myself to the FSF.

I think my problem will be considered as simple for some Gentoo experts, still I could not solve it. Would somebody please help me? I do not want to give up to start loving Linux! :)

I tried to install Gentoo 2005.1 in my machine. I have carefully followed the 'Gentoo 2005.1 Handbook'. However, when I tried to start the kernel (using GRUB), it says
Code:

 [/quote]* Checking root filesystem ...
fsck.ext3: No such file or directory while trying to open /dev/ROOT
/dev/ROOT:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
 e2fsck -b 8193 <device>

 * Filesystem couldn't be fixed :( [!!]


The /etc/boot/grub.conf looks like the following:
Code:

root (hd0,0)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/ram0 initi=/linuxrc  ramdisk=8192 real_root=/dev/hda3 udev
initrd /initramfs-genkernel-x86-2.6.12-gentoo-r6



The /etc/fstab looks like the following:
Code:

/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0

proc /proc proc defaults 0 0

shm /dev/shm tmpfs nodev,nosuid,noexec 0 0




Buhi


Your fstab should delimate which partition your boot root swap partions are in. For example:
/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 /root ext3 noatime 0 1
/dev/hda5 /swap none

Your Grub configuration may need a little tweaking as well to include the root location of your kernel:

title=Gentoo Linux 2.6 whatever
root (hd0,2)
kernel ........etc.

Don't forget GRUB starts with a 0 (zero) so that hda1(in fstab)=(hd0,0) in grub

arjay
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Aug 21, 2005 5:30 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
Dupe of: https://forums.gentoo.org/viewtopic.php?t=2104
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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