LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2005, 12:20 PM   #1
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 179

Rep: Reputation: 30
Gentoo boot problem - fstab?


Hello all,

I have been meaning to try Gentoo for some time and now, having had a few days to spare, decided to give it a go.

Although it has taken some time to do a full Stage 1 install I think I am nearly there. It will not boot however and gives me this message:

Code:
*Activating (possible) swap...
Adding 594364k swap on /dev/hdb5. Priority:-1 extents:1			[ok]
*Remounting root filesystem read-only (if necessary)...			[ok]
*Checking root filesystem...

reiserfs_open: the reiserfs superblock cannot be found on /dev/hdb.

Failed to open the filesystem.

If the partition table has not been changed, and the partition is valid
and it really contains a reiserfs partition, then the superblock is corrupted
and you need to run this utility with
--rebuild-sb.

Warning... fsck.reiserfs for device /dev/hdb exited with signal 6.

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



Give root password for maintenance

(or type Control-D for normal startup):
Unfortunately - as well as experimenting with Gentoo - I decided to experiment using a reiser filesystem for the Gentoo partition (/dev/hdb8)...

I am certain that I compiled the kernel with reiser fs support.

There does not appear to be anything wrong with the partition because I can mount it from Fedora (on /dev/hdb6) with the command :
mount -t reiserfs /dev/hdb8 /mnt/gentoo
which mounts it with no complaints....

here is my fstab file - what am I doing wrong?...
Code:
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail and tail freely.

# <fs>          	<mountpoint>    <type>  	<opts>      		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb8		/boot		reiserfs	noauto,noatime,notail	1 1
/dev/hdb		/		reiserfs	noatime,notail		0 0
/dev/hdb5		none		swap		sw			0 0
/dev/hdb2		/home		ext3		defaults		0 0
/dev/cdroms/cdrom0	/mnt/cdrom	iso9660		noauto,ro		0 0
/dev/fd0		/mnt/floppy	auto		noauto			0 0
none			/proc/bus/usb	usbfs		defaults		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:

none			/dev/shm	tmpfs		defaults		0 0
 
Old 02-18-2005, 12:32 PM   #2
Mystified
Member
 
Registered: Mar 2002
Distribution: Gentoo & Mandrake 10.1 OE
Posts: 96

Rep: Reputation: 15
You don't have a parition number for your / partition. It should be /dev/hdbx
 
Old 02-18-2005, 01:20 PM   #3
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 179

Original Poster
Rep: Reputation: 30
Doh!!!!

Sorry guys!

I can't tell you how much time I have spent poring over that #!&##^"* file. Sometimes you just can't see things even when they're right under your nose...

(it's either that or something to do with my complete stupidity).

I'm still getting some errors (filesystem not shut down properly) which I am going to investigate further and will probably post back here later once I have exhausted my limited knowledge.

Thanks again and sorry for wasting everyone's time.

Mark
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
gentoo boot problem tiedot Linux - Distributions 5 09-11-2005 08:27 AM
gentoo network boot problem... Tigra Linux - Networking 1 06-05-2005 04:09 AM
Gentoo ppc fstab... no gentoo documentation I_Come_anon3410 Linux - Software 0 01-16-2005 11:28 PM
Gentoo boot problem ex0 Linux - General 2 07-11-2003 07:19 AM


All times are GMT -5. The time now is 06:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration