Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Linux+ Certification Bible.pdf
Скачиваний:
46
Добавлен:
15.03.2015
Размер:
3.78 Mб
Скачать

Chapter 17 Study Guide 525

20.After installing Linux on a system that also dual boots into Windows, you aren’t given the option to boot into the Windows partition at the LILO prompt. How can Linux be configured so that it will give the option to boot into Windows?

A.Reinstall Windows

B.Add a Windows section to the /etc/lilo.conf file

C.Run fdisk to set the Windows partition

D.Run LILO -w to install a Windows prompt

Scenarios

1.A power outage happened overnight and brought down a server that didn’t have a UPS attached. When you come in to work in the morning, the system has rebooted, but it won’t mount the root file system. What can you do to fix the problem?

2.A user has installed Windows onto a machine that already has Linux installed. The Windows installation has overwritten the MBR, and you aren’t given the option to boot into Linux. What can you do to fix the system so that it will dual boot into both Linux and Windows?

Lab Exercises

Lab 17-1 Using the fsck utility

The objective for this hands-on lab is to gain experience in using the fsck utility to check file systems. You should be able to use any default Linux installation for this exercise.

1.Logged in as root, you want to unmount the root partition so that you can run a filesystem check on it:

umount /

You should get a warning message that the device is busy and can’t be unmounted. Because this is the root partition, you can only safely use the fsck utility when booting from a floppy, or when booting Linux into single user mode.

2.Change to single user mode by issuing the command: init s

Соседние файлы в предмете Операционные системы