View previous topic :: View next topic |
Author |
Message |
Turd Furguson n00b
Joined: 16 Jun 2005 Posts: 49
|
Posted: Mon Jun 27, 2005 4:37 am Post subject: Superblock bad? |
|
|
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 |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Mon Jun 27, 2005 5:01 am Post subject: |
|
|
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 |
|
|
Turd Furguson n00b
Joined: 16 Jun 2005 Posts: 49
|
Posted: Mon Jun 27, 2005 5:01 am Post subject: |
|
|
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 |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Mon Jun 27, 2005 5:03 am Post subject: |
|
|
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 |
|
|
Turd Furguson n00b
Joined: 16 Jun 2005 Posts: 49
|
Posted: Mon Jun 27, 2005 5:18 am Post subject: |
|
|
Thx. That got me on to some more errors. *Sigh* |
|
Back to top |
|
|
|