Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Superblock bad?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Turd Furguson
n00b
n00b


Joined: 16 Jun 2005
Posts: 49

PostPosted: Mon Jun 27, 2005 4:37 am    Post subject: Superblock bad? Reply with quote

I am past the grub install and upon booting up the system I am told the following error:

fsck.ext3: No such file or directory while trying to open /dev/ROOT

I set my fstab for /dev/hda3 which is ROOT to ext3. That was the only thing I changed from the defaults that were given to me. The original FSTAB had the ROOT partition setup as XFS which is not what I set it up to be so I changed it.

Does the fstab need changed to xfs?

Also, I do not know how to get back to edit the fstab from when I boot the system up with the install cd. Could someone plz instruct me on that so I can make notes on it.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jun 27, 2005 5:01 am    Post subject: Reply with quote

Hi.

You have to edit the /etc/fstab file. Boot with the live-cd, mount the partitions and edit the file
Code:
# mount -t ext3 /dev/hda3 /mnt/gentoo/
# nano -w /mnt/gentoo/etc/fstab

You have to change the /dev/ROOT and /dev/BOOT lines to reflect your partitions. From what you said, you should have in /etc/fstab something like
Code:
/dev/hda?               /boot           ext2            noauto,noatime      1 1
/dev/hda3               /               ext3            noatime             0 0

_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh


Last edited by jmbsvicetto on Mon Jun 27, 2005 5:02 am; edited 2 times in total
Back to top
View user's profile Send private message
Turd Furguson
n00b
n00b


Joined: 16 Jun 2005
Posts: 49

PostPosted: Mon Jun 27, 2005 5:01 am    Post subject: Reply with quote

Here is my fstab after booting into Knoppix and searching for the FSTAB for my Gentoo install.
Code:

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT      /boot      ext2      noauto,noatime      1 1
/dev/ROOT      /      xfs      noatime         0 0
/dev/SWAP      none      swap      sw         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro      0 0
#/dev/fd0      /mnt/floppy   auto      noauto         0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
/dev/shm tmpfs defaults 0 0
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jun 27, 2005 5:03 am    Post subject: Reply with quote

You also need to change the /dev/SWAP line and use the appropriate partition.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Turd Furguson
n00b
n00b


Joined: 16 Jun 2005
Posts: 49

PostPosted: Mon Jun 27, 2005 5:18 am    Post subject: Reply with quote

Thx. That got me on to some more errors. *Sigh*
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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