Re: Booting to rescue mode, but no /mnt/sysimage
- From: Dances With Crows <danceswithcrows@xxxxxxx>
- Date: 19 Feb 2008 18:42:31 GMT
Kenneth Holter staggered into the Black Sun and said:
For recovery testing purposes, [I] issued "rm -fr /" on my Red Hat
Enterprise Linux 5 server, and tried to boot into rescue mode to see
if I could recover from this sort of failure.
Redhat's rescue systems have always struck me as being sub-par. You're
booting from a LiveCD of some sort, right? If you did rm -rf / on a
box, there wouldn't be enough left to boot from (/bin gone, /dev mostly
gone, chunks of /lib missing....)
I'm running NetWorker backup software to [perform] recovery of files.
But when booting into recovery mode, however, there is no "/mnt/
sysimage" [directory], as described in Red Hat's documentation.
Documentation lies. Go figure, eh? Just mount the disk or the LV
wherever and wing it from there.
But there is an "/mnt/runtime" folder that seems to contain the
remaining files on the hard drive. How come there is no
"/mnt/sysimage", and what is "/mnt/runtime"?
They changed things without telling the documentation writers? BTDT, it
was a pain.
How can I access the files in a write-enabled mode so that I can
perform full recovery?
If you mean that a filesystem is mounted ro, just remount it rw. That's
"mount /mnt/crud -o remount,rw". Note that you'll have to add -n if you
started up with kernel command line option ro and bypassed the normal
init scripts with init=/bin/bash or something.
--
Yesterday upon the stair, I met a man who wasn't there.
He wasn't there again today -- I think he's from the CIA.
=======Hire me! http://crow202.dyndns.org:8080/~mhgraham/resume/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.
- Follow-Ups:
- Re: Booting to rescue mode, but no /mnt/sysimage
- From: Kenneth Holter
- Re: Booting to rescue mode, but no /mnt/sysimage
- References:
- Booting to rescue mode, but no /mnt/sysimage
- From: Kenneth Holter
- Booting to rescue mode, but no /mnt/sysimage
- Prev by Date: Re: standard email directory?
- Next by Date: Re: FC8 : segfault with many network program
- Previous by thread: Booting to rescue mode, but no /mnt/sysimage
- Next by thread: Re: Booting to rescue mode, but no /mnt/sysimage
- Index(es):
Relevant Pages
|