[99523] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Recovering from Partition Magic

daemon@ATHENA.MIT.EDU (Eric Goforth)
Sun Nov 15 10:12:01 1998

Date: Sat, 14 Nov 1998 23:53:38 -0500
To: redhat-list@redhat.com
From: Eric Goforth <ericgoforth@csi.com>
In-Reply-To: <19981114075358.8808.qmail@mail2.redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Lance Cummings wrote:

| I don't know how to avoid this problem, but it *is* a problem.  Didn't 
| make the association at first, but every ext2 resize I've done with PM4.0 
| has resulted in a failed boot the next time around.  I use System 
| Commander, and I still have this problem with PM. Even my custom-
| made boot disks don't work after a re-size. 
| 
| Here's the fix that works for me every time, though:
| 
| 1) after entering the rescue program: run
| mount /dev/sda6 /mnt
| 
| (change /dev/sda6 to your root's home, of course -- specifying a file 
| system type is not necessary -- ext2 is assumed)
| 
| 2) run e2fsck /mnt/dev/sda6
| 
| (again, change the device to match your own config)
| 
| 3) There were no errors reported, so: lilo -r /mnt
| 
| Reboot from System Commander is now successful.
| 
| 4) Run /sbin/lilo -C /mnt/floppy/lilo.conf on the floppies, and then
| they're good, too.

I booted from the rescue disk an then mounted my root partition like so:

mount -t ext2 /dev/hda5 /mnt

I then set its root filesystem partition with a command as follows:

rdev vmlinuz /dev/hda5

(Do I need to do this everytime that I boot from the rescue disk?)

I then used set the new swap partition using:

rdev -s vmlinuz /dev/hda9

(Is this also necessary everytime that I boot from the rescue disk?)


I then tried:

run e2fsck /mnt/dev/hda5

and got the message that run wasn't found?  Where in the directory tree
would run normally be located?  I tried using the find command to look for
it, but got the message that find wasn't found.



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post