All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: nickyt44@optonline.net
Cc: reiserfs-list@namesys.com
Subject: Re: After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write
Date: Tue, 17 Aug 2004 01:57:41 +0100	[thread overview]
Message-ID: <41215805.1070806@superbug.demon.co.uk> (raw)
In-Reply-To: <22c16c22abfc.22abfc22c16c@optonline.net>

nickyt44@optonline.net wrote:
> Hi All,
> 
> I hope someone can help me to fix my broken system.  I'm using Libranet 
> 2.8.1 (debian-based) with kernel 2.4.26. It's a dual-boot (grub 
> bootloader) with Win XP.  I'm pretty sure I know what happened and why, 
> I just don't know how to resolve it.
> 
> I installed quotacheck, after googling and reading a popular sys admin 
> book, on my system.  It never worked.  I started doing additional 
> research on why it wasn't working and after a couple of days, my system 
> refused to boot.  During the boot sequence it complained about 
> `reiserfs_getopt:  unknown option "usrquota"`.  Of course, I'd edited my 
> /etc/fstab directory to explicitly include that option as follows:
> #<device>   <mount point>   <type>      <options>            <dump>   <pass>
> /dev/hde2            /               reiserfs       defaults,usrquota     0               1    
> 
> 
> Now that the `usrquota` option is choking my system, I want to edit it 
> out...but I can't because the root (/) filesystem will only mount 
> read-only.  Which brings me to the crux of the matter:  if I can't 
> re-edit the /etc/fstab file to eliminate the offending option, and I 
> can't force reiserfs to mount properly as a read-write root filesystem, 
> how do I recover my system? 
> 
> I've been googling for the last 2 weeks and have found a variety of 
> combinations of the `mount` command, none of them works.  I've tried 
> `mount / -o remount,rw` `mount -o remount,rw /dev/hde2`  `mount 
> /dev/hde2 -t reiserfs remount,rw` and `mount -n -o remount,rw /`...all 
> to no avail.  I invariably get the following message:  
> `reiserfs_getopt:  unknown option "usrquota"
> mount:  / not mounted already or bad option`.  I've tried using a 
> knoppix live cd to edit the /etc/fstab directory, but the /etc/fstab 
> shown when I cd to /etc/fstab is one created by knoppix and not the 
> /etc/fstab on my root /dev/hde2.
> 
> How do I force reiserfs to mount read-write in order to edit the 
> /etc/fstab file?  Although I have a recent backup of my Libranet system, 
> I'm hoping not to do a reinstall.  TIA.
> Nick
> 
> 
> 

boot from the knoppix live cd.
Then mount your problem root partition on /mnt
cd /mnt/etc
edit /mnt/etc/fstab, save, then reboot.



  reply	other threads:[~2004-08-17  0:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-17  0:12 After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write nickyt44
2004-08-17  0:57 ` James Courtier-Dutton [this message]
2004-08-17  1:03 ` Bernd Schubert
2004-08-20  1:28   ` daniel.poelzleithner
2004-08-20  6:17     ` Raymond A. Meijer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41215805.1070806@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --cc=nickyt44@optonline.net \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.