HP Xw5000 Linux-based workstations xw5000 - xw8000 - getting started guide - Page 33

table 2-1. Linux commands, Rescue Mode.

Page 33 highlights

Linux system setup and recovery table 2-1. Linux commands (Continued) ddcprove mattrib mread depmode mbadblockes mren df mcd mshowfat e2fsck mcopy mt fdisk mdel mtools fsck mdeltree mtype fsck.ext2 mdir mv ftp mdu mzip genhdlist mformat open gnome-pty-helper minfo pico grep mkdir ping gunzip mke2fs probe sed sh sync tac tail tar touch traceroute umount uncpio uniq zcat NOTE: The man command is not available in Rescue Mode. Make sure you know how to use all the above commands before you use Rescue Mode. If your root filesystem is undamaged, you can mount it and then run any standard Linux utility. For example, suppose your root filesystem is in /dev/hda5. Here is how to mount this partition: mount -t ext2 /dev/hda5 /foo Where /foo is a directory that you have created. Now you can run chroot, fsck, man, and other utilities. At this point, you are running Linux in single-user mode. If you do not know the names of your Linux partitions, you can guess; mounting non-existent partitions will do no harm. getting started guide 2-13

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48

getting started guide
2–13
Linux system setup and recovery
NOTE:
The
man
command is not available in Rescue Mode. Make
sure you know how to use all the above commands before you use
Rescue Mode.
If your root filesystem is undamaged, you can mount it and then run
any standard Linux utility. For example, suppose your root filesystem
is in
/dev/hda5.
Here is how to mount this partition:
mount -t ext2 /dev/hda5 /foo
Where
/foo
is a directory that you have created.
Now you can run
chroot, fsck, man,
and other utilities. At
this point, you are running Linux in single-user mode.
If you do not know the names of your Linux partitions, you can guess;
mounting non-existent partitions will do no harm.
ddcprove
mattrib
mread
sed
depmode
mbadblockes
mren
sh
df
mcd
mshowfat
sync
e2fsck
mcopy
mt
tac
fdisk
mdel
mtools
tail
fsck
mdeltree
mtype
tar
fsck.ext2
mdir
mv
touch
ftp
mdu
mzip
traceroute
genhdlist
mformat
open
umount
gnome-pty-helper minfo
pico
uncpio
grep
mkdir
ping
uniq
gunzip
mke2fs
probe
zcat
table 2-1. Linux commands
(Continued)