Bug 51400

Summary: cp, mv and other utilities missing in rescue mode
Product: [Retired] Red Hat Linux Reporter: p929001
Component: anacondaAssignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www.redhat.com/support/manuals/RHL-7.1-Manual/customization-guide/rescuemode.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-10 08:57:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description p929001 2001-08-10 07:11:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i586)

Description of problem:
The problem is not really on the URL mentioned, but...
When I boot "linux rescue" with the bootnet install disk, I get to the
terminal prompt without problems. However, essential utils such ad cp, mv
and others are not available. These should be available, as mentioned in
the customisation guide (see URL). Other utils such as e2fsck, anaconda,
python, mount and many others are available. I have not compiled a complete
list of the missing utils.

How reproducible:
Always

Steps to Reproduce:
1. Boot the standard Redhat 7.1 network bootdisk
2. Use ftp install (don't know whether it is also a problem with HTTP,
CD-ROM installs)
3. Enter "cp", "mv" or other commands at the prompt.
	

Actual Results:  Response to step 3 is something like "Unknown command".

Expected Results:  Well, depending on the command, files should be copied,
moved etc.

Additional info:

Comment 1 p929001 2001-08-10 08:41:11 UTC
I was wrong; e2fsck is not available. Available tools are:

/bin:
init	insmod	modprobe	rmmod	sh

/sbin:
badblocks	clock	e2label	fdisk	hwclock	mkdosfs	mke2fs	mkfs.ext2	mkfs.msdos	mkraid
mkreiserfs	mkswap	probe

/usr/bin:
anaconda	anaconda.real	ash	cat	chmod	chroot
collage	df	gunzip	ln	losetup	ls	lsmod	mkdir
mknod	mount	pump	python	python1.5	raidstart
raidstop	rm	sh	umount	uncpio

The path also contains /usr/X11R6/bin, but this directory does not exist.
Furthermore, it contains /mnt/{,usr}/{bin,sbin}, which should probably be
/mnt/sysimage/{,usr}/{bin,sbin} (cf. bug no. 30791). However, it is _not_ enough
to correct the path, as the tools are needed also if /mnt/sysimage is unmounted
(e.g. e2fsck if you want to check the root filesystem).

Comparing to
http://www.redhat.com/support/manuals/RHL-7.1-Manual/customization-guide/rescuemode.html,
about 50 tools are missing. Furthermore, some tools present are not listed (e.g.
e2label).

Another observation: The prompt is "#", not "bash#"

Comment 2 p929001 2001-08-10 08:57:41 UTC
The respose is not "Unknown command", but "cp: not found", "mv: not found" etc.

Comment 3 Brent Fox 2001-08-10 18:51:58 UTC
Fixed in the latest internal builds.