- 论坛徽章:
- 0
|
前面查了下 这段话 应该蛮有用的,英文看的不是很懂,谁能帮我简单说明下,谢谢!!!
140 VOLUME ID MAINTENANCE
141 =====================
142
143 1. Duplicate Volume ID's
144
145 LILO will complain if two disks have duplicate Volume ID's. This usually
146 happens when the Volume ID field is a residue of a low-level format, or a
147 residue of some older boot program which overwrites the Volume ID field.
148 With duplicated Volume ID's, LILO will be unable to distinguish the two
149 offending disks at boot-time, hence it may make an error and read the wrong
150 disk. Thus, it will refuse to install a boot loader as long as this
151 condition persists. Unassigned ID's are automatically overwritten, and a
152 backup copy of the sector is created, so the fix is to write an "unassigned"
153 value to one of the duplicated fields. Say /dev/hda and /dev/hdb have
154 duplicate Volume ID's. Choose the disk with the higher BIOS device code,
155 since it will not be a Windows NT or 2000 disk, and set the Volume ID to
156 zero; viz.,
157
158 lilo -z -M /dev/hdb
159
160 The disk will receive a new Master Boot Record (which boots the first active
161 partition), and the Volume ID will be set to zero. A subsequent
162 installation of LILO:
163
164 lilo -v
165
166 Should no longer complain about duplicated Volume ID's on /dev/hda and
167 /dev/hdb. /dev/hdb will at this time receive a newly generated Volume ID,
168 which will be checked for uniqueness against all other disks in the system.
169
170 CAUTION: NEVER CHANGE THE VOLUME ID OF A WINDOWS 2000 BOOT DISK.
171
172 Windows NT, 2000, and XP (presumably), all use the Volume ID during the boot
173 process. Changing the ID can render Windows unbootable. Recovery seems to
174 be possible by zeroing the Volume ID, although Windows would prefer that the
175 Boot Volume ID remain unchanged. No trouble has been encountered with
176 changing the Volume ID of Windows 2000 data disks, other than the necessity
177 of resetting the drive letter to its former value. Basically, if you run
178 Windows NT or later, your disks probably already have Volume ID's assigned
179 by Windows. If they do, leave them alone. The Windows ID's are completely
180 compatible with the LILO scheme, and vice versa.
181
182 2. Volume ID check
183
184 The following command was added in LILO 22.5.4:
185
186 lilo -T vol-ID
187
188 The volume ID's will be printed in BIOS order (as of the most recent LILO
189 boot), based upon the BIOS data check information. If you did not boot with
190 LILO the last time, then the information as of the last boot will not be
191 available. Any conflicts will be noted, along with the corrective action
192 LILO will take the next time a boot loader is installed (/sbin/lilo
193 command). This is the preferred check of the state of Volume ID's on the
194 disks.
195
196 Sample output from "lilo -T vol-id":
197
198 BIOS Volume ID
199
200 0x80 B21AB21A
201 0x81 EBF5EB74
202 0x82 EBF5EB7B
203 0x83 34225390
204 0x84 78711C09
205
206 Volume ID's are all unique.
207
208
209 A volume ID check (Volume S/N) will be printed with the following command:
210
211 lilo -t -v2
212
213 The "-t" switch means a "test mode" install, with no boot record written,
214 and your system unmodified. The "-v2" is needed to set the verbosity of the
215 output high enough to print the table of BIOS device codes used by LILO (not
216 necessarily the same as the BIOS itself), and the corresponding disk Volume
217 ID's. This information indicates the order of the BIOS device code
218 translate table, as it would be set up for the next boot. Disks are
219 indicated by major/minor device numbers, in hex.
220
221 Sample output from "lilo -t -v2 | tail":
222
223 ...
224 Mapped 6 (4+1+1) sectors.
225 Added Windows
226
227 BIOS Volume S/N Device
228 80 B21AB21A 0300
229 81 EBF5EB74 0340
230 82 EBF5EB7B 1600
231 83 34225390 2100
232 84 78711C09 0800
233 The boot sector and the map file have *NOT* been altered.
234
235
236 In the two examples above, the Volume ID's are in the same BIOS order,
237 indicating that the BIOS device codes are being assigned by LILO for the
238 boot loader in the correct sequence on this 5 disk system.
239 |
|