All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kuba Ober <kuba@mareimbrium.org>
To: Moritz Angermann <moritz.angermann@gmx.net>
Cc: reiserfs-list@namesys.com
Subject: Re: 3 corruptions found which can only be corrected via --rebuild-tree...
Date: Thu, 18 Jul 2002 12:31:43 -0400	[thread overview]
Message-ID: <200207181231.43113.kuba@mareimbrium.org> (raw)
In-Reply-To: <1027006557.995.2.camel@prototype>

On czwartek 18 lipiec 2002 11:35 am, you wrote:
> nice idea, so here is what my partition layout looks like:
> could you now tell me what commands i shall run exactly ?
More-or-less exactly. I suggest you buy a linux/unix book. You *need* to know 
and understand what you are doing.

> [17:25][cone@prototype:~]$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda6             4.7G  3.6G  1.1G  77% /
> /dev/hda1              28M   11M   16M  40% /boot
> /dev/hda7             4.7G  3.5G  1.2G  75% /home
> /dev/hda8              14G   14G  2.0M 100% /media/music
> /dev/hda9              14G  2.1G   12G  15% /media/movie
> /dev/hda10             19G  9.9G  8.3G  55% /backup
> /dev/hdb5              19G  5.9G   13G  32% /media/disk0
> /dev/hdb6              19G  8.6G   11G  46% /media/disk1
> /dev/hdb7              19G  7.8G   11G  42% /media/disk2

1. Get rid of /home - dump it somewhere
2. Copy the boot partition
# telinit 1
# sync; sleep 10; dd if=/dev/hda6 of=/dev/hda7
3. Edit your bootloader so that the kernel knows that the root is /dev/hda7 
# vi /etc/grub.conf or /etc/lilo.conf
4. Reboot
5. Fix and restore
# reiserfsck -V
Make sure it's 3.6.2 or newer
# reiserfsck --rebuild-tree /dev/hda6
# vi /etc/grub.conf or /etc/lilo.conf
-- restore the kernel's root
6. Reboot
7. Redo filesystem on home
# mkreiserfs /dev/hda7
7. Restore your /home partition

Cheers, Kuba Ober

  reply	other threads:[~2002-07-18 16:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18 15:20 3 corruptions found which can only be corrected via --rebuild-tree Moritz Angermann
2002-07-18 15:34 ` Kuba Ober
2002-07-18 15:35   ` Moritz Angermann
2002-07-18 16:31     ` Kuba Ober [this message]
2002-07-18 19:36       ` Moritz Angermann
2002-07-18 15:42   ` Philippe Gramoullé

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=200207181231.43113.kuba@mareimbrium.org \
    --to=kuba@mareimbrium.org \
    --cc=moritz.angermann@gmx.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.