Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Fixed] Error Mounting Root? - Was cause by typo in fstab
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
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Sep 21, 2005 5:27 am    Post subject: [Fixed] Error Mounting Root? - Was cause by typo in fstab Reply with quote

Hello!

I just installed Linux for a friend. Dual Opteron system, 64 bit. I've never done 64 bit before (if it matters).

When he boots, it gets to the "remounting root filesystem as read only", errors on that (!!) instead of (OK). Same on the Remounting as read-write.

IT can either do "maitinance mode" or boot in. Either way, / is read only.

/dev/hda = windows drive
/dev/hdb1 = 100mb ext3 boot
/dev/hdb2 = 900mb swap
/dev/hdb3 = 39000 mb reiserfs /
/dev/hdb4 = unformated, ntfs someday for windows stuff.

WHen i first installed, i typo'd the /etc/fstab to "reiser" instead of "reiserfs" - i booted the livecd and fixed that now though.

Any clue why his hard drive won't mount read-write?

I can mount it if booted from the livecd no problem.

--Murph


Last edited by Negated Void on Wed Sep 21, 2005 6:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Sep 21, 2005 6:07 am    Post subject: Reply with quote

Code:

GNU nano 1.3.7                                   File: fstab                                                                             

# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 2005/01/31 23:05:14 vapier 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 / tail freely.
#
# See the manpage fstab(5) for more information.

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

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb1               /boot           ext3            noauto,noatime  1 2
/dev/hdb3               /               reiserfs        noatail         0 1
/dev/hdb2               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!
proc                    /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)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
Back to top
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Sep 21, 2005 6:09 am    Post subject: Reply with quote

Code:

  GNU nano 1.3.7                                File: grub/grub.conf                                                                       

#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

splashimage=(hd1,0)/grub/splash.xpm.gz

title  Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

# For booting GNU/Linux
title  GNU/Linux
root (hd1,0)
kernel /kernel-2.6.13-gentoo-r2 root=/dev/hdb3
Back to top
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Sep 21, 2005 6:12 am    Post subject: Reply with quote

Code:
livecd / # emerge -p reiserfsprogs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-fs/reiserfsprogs-3.6.19 
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Sep 21, 2005 6:21 am    Post subject: Reply with quote

Negated Void wrote:
/dev/hdb3 / reiserfs noatail 0 1

Maybe thats the issue; replace with notail
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Sep 21, 2005 6:47 am    Post subject: Reply with quote

Think4UrS11, that fixed it. Thanks!
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