Thứ Tư, 15 tháng 7, 2009

[P11] Install Red hat enterprise 4.X - Error and Fix

When install red hat linux enterprise advance server 4.X you may probably get this error: Unable to find any devices of the type needed for this installation type. Would you like to manually select your driver or use a driver disk?

To fix:
type this command at boot screen:
#> linux acpi=off all-generic-ide irqpoll

Good luck

Thứ Hai, 6 tháng 7, 2009

[P10] Xp and Redhat 9 - Dual Boot

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/

Configuring a Dual-Boot System

If you want to install Red Hat Linux and then have the option of booting either Red Hat Linux or your other operating system? A Red Hat Linux installation can be performed so that Red Hat Linux is installed on your system, but the other operating system is not affected. Since you already have Windows installed, you need to allocate disk space for Linux. Refer to Section G.1 Allocating Disk Space for Linux, and then refer to Section G.2 Installing Red Hat Linux in a Dual-Boot Environment

G.1.2. Use an Existing Hard Drive or Partition

Another way to make room for Linux is to use a hard drive or disk partition that is currently being used by Windows. For example, suppose that Windows Explorer shows two hard drives, C: and D:. This could indicate either that the computer has two hard drives, or a single hard drive with two partitions. In either case (assuming the hard drive has enough disk space), you can install Red Hat Linux on the hard drive or disk partition that Windows recognizes as D:.

This choice is available to you only if the computer has two or more hard drives or disk partitions.

If a local Windows partition is available in which you want to install Linux, complete the following steps:

1. Copy all data you want to save from the selected hard drive or partition (D: in this example) to another location.

2. Start the Red Hat Linux installation program and tell it to install in the designated drive or partition — in this example, in the hard drive or partition that Windows designates as D:. Note that Red Hat Linux distinguishes between hard drives and disk partitions. Thus:

o If C: and D: on this computer refer to two separate hard drives, the installation program will recognize them as hda and hdb (IDE) or sda and sdb (SCSI). Tell the installation program to install on hdb or sdb.

o If C: and D: refer to partitions on a single drive, the installation program will recognize them as hda1 and hda2 (or sda1 and sda2). During the partitioning phase of the Red Hat Linux installation, delete the second partition (hda2 or sda2), then partition the unallocated free space. You do not have to delete the second partition prior to starting the Red Hat Linux installation.

G.2. Installing Red Hat Linux in a Dual-Boot Environment

After Windows is installed and you have free disk space ready for Linux, you can start the Red Hat Linux installation program. Go to Chapter 1 Steps to Get You Started to begin. At this point, the only difference between a Red Hat Linux installation and configuring a dual-boot system during the Red Hat Linux installation is partitioning the hard drive and configuring the boot loader. When you are at the Disk Partitioning Setup screen as described in Section 3.17 Disk Partitioning Setup, return to this section.

G.2.1. Disk Partitioning

At the Disk Partitioning Setup screen of the installation program, you have a few options. Depending on which option you choose, the steps for configuring a dual-boot system vary. If you do not know how many Linux partitions to create, refer to Section 3.19 Partitioning Your System for a recommended partitioning scheme. If you choose:

· Automatic Partitioning — Choose Keep all partitions and use existing free space. This option will leave your Windows partitions on the hard drive and partition the free space or additional hard drive for Red Hat Linux.

· Manual partitioning with Disk Druid — Do not delete the existing Windows partitions (they are the partitions of type vfat). Create your Linux partitions on the additional hard drive or in the free space you have reserved for Red Hat Linux.

G.2.2. Configuring the Boot Loader

When you arrive at the Boot Loader Installation screen during the Red Hat Linux installation, choose to install the boot loader. You can use a 3rd-party boot loader (such as System Commander or Partition Magic) to boot both Red Hat Linux and Windows. Red Hat does not support alternate boot loaders. Thus, this section will discuss how to configure GRUB or LILO to boot both operating systems.

The Red Hat Linux installation program will usually detect Windows and automatically configure the boot loader (GRUB or LILO) to boot either Red Hat Linux or Windows. This can be seen on the boot loader screen of the installation program. An entry named DOS appears in the list of operating systems to boot.

G.2.3. Post-Installation

After the installation, whenever you start the computer, you can indicate whether you want to start Red Hat Linux or the other operating system from the boot loader screen. Choose Red Hat Linux to boot into Red Hat Linux, and choose DOS to boot into Windows.

If you did not partition all the free space on your hard drive for Red Hat Linux, you can partition it for Windows after installing Red Hat Linux. You can use parted to create these partitions. For example, to view the partition table, you type print in parted. For more information about parted, refer to Section G.3 Partitioning with parted or to the Red Hat Linux Customization Guide.

Warning

It is highly recommended that you use parted to create partitions after installing Red Hat Linux. Other partitioning software has been known to change the partitioning table of the hard drive and move the Linux partitions. If this happens, the boot loader will not be able to find the Linux partitions and will not boot into Red Hat Linux.

To access the files on the Windows partitions while using Red Hat Linux, refer to the Accessing a Windows Partition FAQ in the Red Hat Linux Getting Started Guide. If you formatted the Windows partitions in NTFS format, this method will not work.

G.3. Partitioning with parted

As a convenience to our customers, we provide the parted utility. This is a freely available program that can resize partitions.

If you decide to repartition your hard drive with parted, it is important that you do two things:

· Perform a Backup — Make two copies of all the important data on your computer. These copies should be to removable media (such as tape, CD-ROM, or diskettes), and you should make sure they are readable before proceeding.

· Read the Documentation — Completely read the parted documentation; refer to the chapter titled Managing Disk Storage in the Red Hat Linux Customization Guide.

G.3.1. Partitioning a Windows System

On a Windows-only box, you may need to repartition the system to make room for Red Hat Linux.

First, insert the Red Hat Linux CD #1 and reboot your system. You need to boot off the CD in order to access parted in rescue mode. If you cannot boot off the CD, you may need to edit your BIOS settings. For more information about editing your BIOS, see Section 3.3.1 Booting the Installation Program.

Once you have booted off the CD, you will receive a boot prompt. At the boot prompt, type: linux rescue. This will start the rescue mode program.

You will be prompted for your keyboard and language preferences. Select these values as you would during the installation of Red Hat Linux.

Next, a screen will appear telling you that the program will now attempt to find a Red Hat Linux install to rescue. Select Skip on this screen.

After selecting Skip, you will be given a command prompt where you can access the partitions you would like to repartition.

At the prompt, type parted /dev/hdX or parted /dev/sdX (for whichever drive you want to repartition), where X is the partition number of that hard drive.

View the current partition table using the print command to determine the minor number of the partition to remove as well as the start and end points for the partition:

print

The used space of the partition to resize must not be larger than the new size.

Warning

Warning

Any changes that you make with parted take place immediately.

To resize the partition, use the resize command followed by the minor number for the partition, the starting place in megabytes, and the end place in megabytes. For example:

resize 3 1024 2048

After resizing the partition, use the print command to confirm that the partition has been resized correctly, is the correct partition type, and is the correct file system type.

Once you have completed your repartitioning tasks, type exit to shutdown your system.

Finally, reboot your system. Rebooting may occur automatically, but if it does not, manually reboot your system.

You are now ready to install Red Hat Linux.