Hard disk installation gentoo (original)

xiaoxiao2021-03-06  39

Hard disk installation gentoo

If you use Redhat Linux, the installation is definitely won't encounter, whether it is installed from the CD, installed from a hard drive, or uses NFS network installations, because Redhat has provided you with a very complete Install the floppy disk.

However, if you don't have a recorder, you can't install the disc installation, then it is more trouble, because Gentoo doesn't provide a set of installation floppy disks.

After I constantly explored, I tried a way to install Gentoo from the hard disk. It is now written now, I hope to have some help to the people who will, or is installing the Gentoo hard drive.

1. Download the necessary stuff.

Gentoo LiveCD Download Point: http://mirror.pacific.net.Au/gentoo/ Grub for DOS Download Point: ftp://ftp.linuxeden.com/tinybit/grub_for_dos-0.2.0pre13.tar.gz

2. Divide the hard drive. It is best to do a good job in the hard disk in advance, I am partitioning the hard drive with Redhat's installation disc. Of course, you can also use other partition tools to partition, the format of the partition does not have to be EXT2 / 3 or SWAP format, as long as the size is appropriate, the size of each partition can refer to the program in the Gentoo installation manual. "/ boot" partition does not need to be large and dozens of trill, "/" to stay bigger, if you want to compile a lot of software (such as openoffice kde gnome), the longer it, huh, huh.

Of course, it must be careful when the partition is partitioned, which is damaged, which can be big. 3. Copy the installation file, and the Grub for DOS read the contents of the Live CD with DEAMON TOOLS, copy him to a partition (note It is not possible to store the partitions in step 2). Then copy GRUB for DOS to a partition (note, the partitioned in step 2). For the sake of simplicity, I copied GRUB and LiveCD to the same Under a partition.

My system hard disk distribution profile: IDE1: HDA ST 60G IDE3: CDROM IDE4: HDD Quantum Bigfoot 12.7g (My Gentoo is installed on this hard disk) HDD1 EXT3 / BOOT | HDD3 EXT3 / | -> for Gentoo HDD4 SWAP | HDD2 DOS EXTENDED Partition HDD5 FAT32 Logical Partition | -> Gentoo LiveCD and Grub for DOS HDD6 NTFS Logical Partition in this partition

4. Grub common command profile:

You can refer to GRUB's help document: http://www.gnu.org/software/grub/manual/grub.html or this: http://www.yesky.com/20020808/1624211.shtml

5. Edit the startup configuration file for GRUB for DOS: Menu.lst

I have written #this is a name menu.lst file.you should make some change to it. color black / cyan yellow / cyan # set displayed color timeout 60 # Waiting for 60 seconds to boot Default 0 # default 1 item

Title Gentoo Linux on (HD1, 4) # 1 option, content with you Root (HD1, 4) # Since my installation file is placed on the second fast hard disk, it is HD1, because it is the 5th partition Therefore with the comma is 4 kernel / isolinux / gentoo root = / dev / ram0 init = / linuxrc acpi = ht looptype = squashfs loop = / livecd.squashfs udev nodevfs cdroot = / dev / hdd5 vga = 791 dokeymap splash = silent , Theme: LiveCD-2004.3 Initrd = / isolinux / gentoo.igz # kernel and initrd two sentences You can refer to the ISOLINUX / ISOLINUX.cfg file in LiveCD, the content is completely copied, but there is a point to modify, the kernel statement After cdroot, please add your location, where I am, I am copying on HDD5, so it is cdroot = / dev / hdd5. Save, exit. It is OK. 6. Use GRUB to find a DOS boot disk. Start the machine, cut to HDD5, A: / g: Enter (my HDD5 is a G disk in the DOS environment) G: / cd grub (my grub.exe, and menu.lst storage in g: / grub) g : / Grub grub --config-file = (hd1, 4) /grub/Menu.lst (Start GRUB, - Config-file Indicates the position where MENU.lst is located).

Ok now GRUB's interface is presented in front of you, choose Gentoo Linux, then Gentoo can be able to start. There will be an error message when starting, it may be that the location of the installation file is referred to as a hard disk. (CDROOT = / dev / hdd5) can be skipped by Ctrl D. Next you can install Gentoo according to the indication of the Gentoo Installation Guide.

7. Go, enjoy the fun brought to you, huh, huh.

转载请注明原文地址:https://www.9cbs.com/read-68277.html

New Post(0)