Section B.2. My machine won t boot How do I fix it?


B.2. My machine won't boot! How do I fix it?

If your machine won't boot at all, you need to use a rescue disk. Linux is available in Live CD form, which is a full Linux installation that runs entirely from a CD without touching the machine's hard disks. Fortunately, you can boot a Live CD and then look at the hard disks from the Live CD environment.

Before you boot from a Live CD, watch the failing boot process. Linux tries to be verbose about errors that occur while the system is booting; make a note of anything that fails. Often, the best way to find a remedy for this kind of problem is to search the Web for the error message that the system displays. Of course, once you've identified what the error is, you'll need to be able to get at Linux in order to fix it; this is where the Live CD becomes useful.

There is no "official" Fedora Live CD, but many other Linux distributions offer Live CDs that will work similarly to a Fedora installation. The Berry Linux CD, which is based on Fedora Core, can be obtained from http://yui.mine.nu/linux/eberry.html, and the Ubuntu Linux CD can be downloaded from http://www.ubuntulinux.org/download/. Download the CD image from the Website, burn it to a CD, and boot your LAMP server from it.

Once the server has booted, open a Terminal . You will need to know which device is your root partition (a decision that was made when the system was installed); if the machine runs only Fedora Core, it's likely to be /dev/VolGroup00/LogVol00. Execute the following commands:

 $ su Password: # mkdir /tmp/hd # mount /dev/VolGroup00/LogVol00 /tmp/hd #  

The files in your root partition will now be available in the directory /tmp/hd, and you can make alterations to them as necessary.




Run Your Own Web Server Using Linux & Apache
Run Your Own Web Server Using Linux & Apache
ISBN: 0975240226
EAN: 2147483647
Year: 2006
Pages: 92

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net