Bug 51400 - cp, mv and other utilities missing in rescue mode
cp, mv and other utilities missing in rescue mode
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-08-10 03:11 EDT by p929001
Modified: 2007-04-18 12:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-10 04:57:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description p929001 2001-08-10 03:11:19 EDT
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:

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 04:41:11 EDT
I was wrong; e2fsck is not available. Available tools are:

init	insmod	modprobe	rmmod	sh

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

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
about 50 tools are missing. Furthermore, some tools present are not listed (e.g.

Another observation: The prompt is "#", not "bash#"
Comment 2 p929001 2001-08-10 04:57:41 EDT
The respose is not "Unknown command", but "cp: not found", "mv: not found" etc.
Comment 3 Brent Fox 2001-08-10 14:51:58 EDT
Fixed in the latest internal builds.

Note You need to log in before you can comment on or make changes to this bug.