HP Workstation x2100 hp workstation x2100 - Linux getting started guide and wa - Page 46
booting single user mode directly
View all HP Workstation x2100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 46 highlights
Linux system setup and recovery recovering your Linux system Table 2-1 Linux Commands (Continued) gunzip mke2fs probe 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 file system is undamaged, you can mount it and then run any standard Linux utility. For example, suppose your root file system 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 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. booting single user mode directly You may be able to boot single-user mode directly. If your system boots, but does not allow you to login when it has completed booting, try rebooting and specifying one of these options at the LILO boot prompt: LILO boot: linux single LILO boot: linux emergency In single-user mode, you computer boots to run level 1. Your local file systems will be mounted but your network will not be activated. You get a usable system maintenance shell. In emergency mode, you are booted into the most minimal environment possible. The root file system will be mounted read-only and almost nothing will be set up. The main advantage of this over Linux single user is that your init files are not loaded. If init is corrupted or not working, you can still mount file systems to recover data that could be lost during a re-installation. 46 Chapter 2
-
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
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72