Operating System - Linux
1830898 Members
2706 Online
110017 Solutions
New Discussion

RHAS3U3 rescue system - no fsck

 
SOLVED
Go to solution
Matthias Bayer
Advisor

RHAS3U3 rescue system - no fsck

Hi,

can somebody comfirm the following problem or knows a solution:

i boot from first RHAS3U3 boot CD and enter 'linux rescue askmethod', then i specify my FTP/HTTP network source and use the 'SKIP' function to NOT mount any filesystems within my rescue system - now i do not have an fsck command available, correct ? or is somethig wrong with my network source ?
if i do the same with an NFS server everything works fine (also if i don't use the 'skip' function instead i use 'continue' it works).

thanks for any hint.

regards,
Matthias
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: RHAS3U3 rescue system - no fsck

A rescue cd is useless without fsck. Its a primary command needed to recover a system. It should be included on the rescue CD you have the option of creating, even when you do an ftp or nfs install.

Houston, there is a problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rick Beldin
HPE Pro

Re: RHAS3U3 rescue system - no fsck

I'd recommend burning a copy of System Rescue.

http://www.sysresccd.org/

You can configure the net, mount almost every kind of filesystem, fix grub/lilo, ect.
Necessary questions: Why? What? How? When?
Ted M Johnson_1
Frequent Advisor

Re: RHAS3U3 rescue system - no fsck

So, it sounds like you not only won't have fsck, but you won't have any other non-shell commands since you have no filesystem (/sbin, /usr/bin, /lib, /etc, and so forth).

It works over NFS because you have your filesystem on NFS - you don't have a filesystem via FTP or HTTP.

echo $PATH to double check.

In other words, you told it you didn't want fsck I believe.

You basically did something like

# mkdir /newdir
# cp /bin/bash /newdir
# chroot /newdir /bin/bash

...so there will be nothing available that isn't built into the shell.