Skip to contentSkip to conversation

rebuilding tree of root fs

DISCUSSION Bram Stolk 2 participants 2 messages Oct 17, 2002 1 message not in the archive

lore
Share & tools
lore

Bram Stolk

author
#0 lore raw

Hello,

My reiserfs filesystem is damaged.
When I run reiserfsck, it reports that '--rebuild-tree' is required.

However, if I add the --rebuild-tree, reiserfsck refuses to continue because the fs cannot be mounted.

Unfortunately, the fs is my root fs, so it cannot be unmounted.

How can I solve this?
This is on a notebook, which has a USB floppy, so maybe that can be used somehow? Are there floppy disks with reiserfsck tools available?

Thanks,

Bram Stolk

Signature · 8 lines
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: [email protected]   Phone +31-20-5923059  Fax +31-20-6683167

 "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
 "Thats nothing, if you play it forward, it installs NT-4.0"
------------------------------------------------------------------------------

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 8 lines · Bram Stolk

Hello,

My reiserfs filesystem is damaged.
When I run reiserfsck, it reports that '--rebuild-tree' is required.

However, if I add the --rebuild-tree, reiserfsck refuses to continue because the fs cannot be mounted.

Quoted 6 lines

Unfortunately, the fs is my root fs, so it cannot be unmounted.

How can I solve this?
This is on a notebook, which has a USB floppy, so maybe that can be used somehow? Are there floppy disks with reiserfsck tools available?

strip -s fsck/reiserfsck and put it to floppy, boot from CDROM.

In the case of problems you will probably need to build it statically:
make LDFLAGS=-static
strip again

Signature · 2 lines
Thanks,
Vitaly Fertman