Re: file recovery ideas? bad boot block
From: Walter Mautner (nextnews.15.eatallspam_at_spamgourmet.com)
Date: 01/06/04
- Next message: Geoff: "Re: Can't ping into or outof Redhat box"
- Previous message: Walter Mautner: "Re: Can't ping into or outof Redhat box"
- In reply to: agathon: "file recovery ideas? bad boot block"
- Next in thread: nunya: "Re: file recovery ideas? bad boot block"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 06 Jan 2004 22:19:34 +0100
agathon wrote:
> Greetings,
>
> Note, I can ls and navigate through /home directories if
> I boot cdrom.
>
> 1. Running RH 8.0 on disk hdb. Have 2 HD: hda, hdb
> 2. Disk hdb apparently failed. Had message when vi invoked:
> something like "no swap space available; write error" and it went
> downhill from there, to the point where boot doesn't complete. I
> *don't* think I have a swap problem; more likely the disk fried
> or other hardware problem. Rescue diskette boots ok but no
> help otherwise (Am I missing something?).
>
> I'd like to:
>
> Recover about 1GB of important non-system files from
> hdb on /home and recover my installation or just re-install on hdb.
>
>
> ......I'm looking for a strategy to recover the files.......
>
> hda is available (not used in RH installation; it has old RH 7.2
> partitions; I want to put FreeBSD on it after crash problem is solved).
>
> These seem like choices:
>
> ......Without recovering system....
> Move files to hda using some method?
>From the rescue boot (you get a root prompt, don't you?) try to mount your
/home partition readonly. You are in luck if you know which hdb(1...n)
device you had, otherwise call "fdisk /dev/hdb" and "p" to display the
partition table. Figure out which number your /home might have. Then try to
"mkdir /mnt/home; mount -o ro /dev/hdbX /mnt/home". From the rescue cd,
/mnt is only a mountpoint in ramfs.
Do the same for a partition on /dev/hda where you want to put your data.
Then just cp with wildcards or "cp -a" a whole directory tree preserving
permissions.
> What if hda isn't viable - can I partition it without a working
> system?
>From your questions, I would suggest you install a minimal system or get a
knoppix live cd.
> I have a DDS drive that works; that would be a good option,
> but Rescue Mode from RH CDROM doesn't recognize tape devices,
> even though /dev/* is there.
>
Hmm, have you tried to insmod the necessary scsi modules from rescue?
Usually they are provided for recovery purposes. But that's too much
keyboard hacking for now, try the other option(s) first.
> .... Install 'temp' system on hda ....
> Install RH on hda, then try to move hdb files to hda, then
> reinstall on hdb? (For this, how do I make hdb partitions & files
> readable?) I do need to reinstall on the larger hdb. Obviously,
> I need to check its health after 'temp' installation on hda.
>
*After* you have saved your data, you should download a test utility from
maxtor or seagate. It creates a bootable floppy with a good test program.
-- Longhorn error#4711: TCPA / NGSCB VIOLATION: Microsoft optical mouse detected penguin patterns on mousepad. Partition scan in progress to remove offending incompatible products. Reactivate your MS software (3 days grace period). [LinuxCounter#295241]
- Next message: Geoff: "Re: Can't ping into or outof Redhat box"
- Previous message: Walter Mautner: "Re: Can't ping into or outof Redhat box"
- In reply to: agathon: "file recovery ideas? bad boot block"
- Next in thread: nunya: "Re: file recovery ideas? bad boot block"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|