Help My Machine Hangs During Boot

When configuring a Linux machine, you may encounter problems with the /etc/grub.conf file. This file indicates the operating system or systems to which your system can boot, and the file also contains Linux startup settings. Linux can boot from any of your hard drives — not just the master IDE drive on the primary IDE channel. Consider this list of potential solutions if the /etc/grub.conf file makes trouble:

1 If you have altered or added hard drives, you may need to change the boot line in the /etc/grub.conf file.

i If you haven't made hardware changes, check to make sure that your /etc/grub.conf file is referring to the correct location of the Linux image. (The program code that loads and executes at runtime and is located in the /boot directory.)

1 If the location under the /boot directory or the device for the root entry is incorrect, your system can't boot to Linux. In this situation, a rescue or emergency disk is helpful. Refer to Chapter 5 for instructions on using a rescue disk.

378 Part V:The Part of Tens_

1 If you're working with a multiboot operating system environment, be sure that your / etc/grub.conf file contains entries for each of your operating systems. Each operating system or Linux installation needs to be in separate entries.

1 If your file contains entries to switch to a higher-resolution display and you have boot problems, try reducing the video setting to simple VGA.

Linux allows you to use spaces and other characters in filenames that you may or may not be able to use in filenames on other operating systems. However, some Linux applications may stumble when they encounter file or directory names containing spaces. Usually, a safe bet is to stick with alphanumeric characters and avoid spaces and odd characters, such as question marks and exclamation points.

0 0

Post a comment