* After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write
@ 2004-08-17 0:12 nickyt44
2004-08-17 0:57 ` James Courtier-Dutton
2004-08-17 1:03 ` Bernd Schubert
0 siblings, 2 replies; 5+ messages in thread
From: nickyt44 @ 2004-08-17 0:12 UTC (permalink / raw)
To: reiserfs-list
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write
2004-08-17 0:12 After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write nickyt44
@ 2004-08-17 0:57 ` James Courtier-Dutton
2004-08-17 1:03 ` Bernd Schubert
1 sibling, 0 replies; 5+ messages in thread
From: James Courtier-Dutton @ 2004-08-17 0:57 UTC (permalink / raw)
To: nickyt44; +Cc: reiserfs-list
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write
2004-08-17 0:12 After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write nickyt44
2004-08-17 0:57 ` James Courtier-Dutton
@ 2004-08-17 1:03 ` Bernd Schubert
2004-08-20 1:28 ` daniel.poelzleithner
1 sibling, 1 reply; 5+ messages in thread
From: Bernd Schubert @ 2004-08-17 1:03 UTC (permalink / raw)
To: reiserfs-list
On Tuesday 17 August 2004 02:12, 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
You probably didn't apply Chris' patches, they are required for quota support
in 2.4.X
ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.25/
(they also apply to 2.4.{26,27}
> bootloader) with Win XP. I'm pretty sure I know what happened and why,
> I just don't know how to resolve it.
>
>
> 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?
>
> 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.
This would work, you should make familiar yourself with "chroot", read the
manpage! E.g. from knoppix:
mount /dev/hde2 /mnt/hde2
chroot /mnt/hde2
vi /etc/fstab
exit
reboot
>
> 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.
There are a dozens other ways for doing this, e.g. issuing as kernel parameter
"init=/bin/bash rw"
Then after booting:
vi /etc/fstab
sync; sync; sync
reboot
(This command (reboot) will probably fail, so you will have to press the reset
button ;) )
Cheers,
Bernd
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write
2004-08-17 1:03 ` Bernd Schubert
@ 2004-08-20 1:28 ` daniel.poelzleithner
2004-08-20 6:17 ` Raymond A. Meijer
0 siblings, 1 reply; 5+ messages in thread
From: daniel.poelzleithner @ 2004-08-20 1:28 UTC (permalink / raw)
To: Bernd Schubert; +Cc: reiserfs-list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bernd Schubert wrote:
| There are a dozens other ways for doing this, e.g. issuing as kernel
parameter
| "init=/bin/bash rw"
|
| Then after booting:
| vi /etc/fstab
| sync; sync; sync
mount / -o remount,ro
Then you can savely press the reboot button.
regards
~ Daniel
- --
Once the philosopher stone has fallen from the tree,
~ nonsense appeared to fix the courious fear.
.. . .. ... . . .. . ... . .. . ... . . .
pgp key @ http://files.poelzi.org/pgp.txt
ED80 E53D 5269 4BB1 1E73 3A53 CBF9 A421 0A7B 003D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFBJVOfy/mkIQp7AD0RAhCUAJ9hoqiDg86qeFYVlNvQsHuslZlbOgCfR4ZH
dq10J7IBBkjR0WPVGBc5GHM=
=oFS0
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write
2004-08-20 1:28 ` daniel.poelzleithner
@ 2004-08-20 6:17 ` Raymond A. Meijer
0 siblings, 0 replies; 5+ messages in thread
From: Raymond A. Meijer @ 2004-08-20 6:17 UTC (permalink / raw)
To: reiserfs-list
On Fri 20 August 2004 04:28, daniel.poelzleithner wrote:
> | "init=/bin/bash rw"
> |
> | Then after booting:
> | vi /etc/fstab
> | sync; sync; sync
> mount / -o remount,ro
>
> Then you can savely press the reboot button.
Or use the Magic Sys Rq key:
e -> TeRM signal to all processes
i -> KiLL signal to all processes
s -> Sync
u -> Umount filesystems
b -> reBoot
Works for me :)
Ray
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-08-20 6:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-17 0:12 After `quotacheck` ReiserFS Root Filesystem Won't Mount Read-Write nickyt44
2004-08-17 0:57 ` James Courtier-Dutton
2004-08-17 1:03 ` Bernd Schubert
2004-08-20 1:28 ` daniel.poelzleithner
2004-08-20 6:17 ` Raymond A. Meijer
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.