Gentoo Linux installation notes

zhaozj2021-02-16  91

?

Main dishes: LINUX ISO file set (CD? So you still fees this thing?!) Ingredient: Windows 2000 Professional, VM Ware 4.5.1 Production Process: 1, enter Windows 2000 Pro, open VM Ware 2, establish a new Virtual machine (unused to lose things! Tomatoes are baby ...) 3, pay attention Don't be wrong! 4, ok -> set -> r!

Before you begin, you need to confirm the partition used to install Linux ... I like "Computer Management" in the "Computer Management" MMC provided by Windows 2000. Locate the disk partition you need, delete! Recalling Linux disk naming methods ... All partitions are files, in / dev directory below IDE 0: 1 is HDA, HDA's partitions are HDA1, HDA2, HDA3, HDA4 ... Linux supports a disk has four PRIMARY Partition, Windows only supports one (backs behind ...), which are both logical partitions above the extension partition ... This extension partition is / dev / hda4, and the logical partition starts from HDA5. I am the partition after the E disk ... So / dev / hda7 optical drive in Ide 2: 1, so / dev / hdc

Turn on the virtual machine's settings, change the CD-ROM to your Linux ISO (if it is a CD, use auto detect), OK, start. The VM startup screen appears, point F2 enters "BIOS Settings", select CD-ROT, and save exit ...

Below is a long and hard installation process (it is for me ... because I installed the legendary gentoo: "I want to vomit ^ _ ^). Boot loader can be selected during the Red Hat installation, select GRUB; then installed, the option is MBR or First Sector of Partition, remember to select First Sector of Partition! Once the MBR is covered, you lose the precious NT Loader. If you want to delete Linux, you will suffer more pain ... OK, all installed ~ restart the virtual machine, enter Linux.

Open a konseole or gnome terminal or ATERM, XTERM, ... What? Are you in Console? Great is too good ... If it is a disgu, then the hard disk partition should have been loaded (MOUNT) ... Otherwise, you can use a floppy disk (for unlunished insurance). Entering Mount FD0 / MNT / FLOPPY should be successful. This way we can access the content of the floppy disk via the / mnt / floppy directory. DD if = / dev / hda7 of = / mnt / floppy / bootsect.lin BS = 512 count = 1

The DD command is used to copy the file. If is an input file, the OF is an output file, BS is Block size, Count is Block Count. So DD if = / dev / hda7 of = / mnt / floppy / bootsect.lin BS = 512 count = 1 is from / dev / hda7 this file (file!) Read 512 Byte once, read once, then write Bootsect.lin files under / mnt / floppy. Why is / dev / hda7 as an input file? Because we need to read the top 512 characters starting at the hard disk partition, that is, directly access the hardware, so you can only achieve the purpose by reading device files. These 512 bytes of files contain GRUB startup information ~ By default is to be directly guided by the MBR by BIOS. However, for NT Loader, I can only grienet it ~ There is bootsect.lin on the floppy disk? LS / MNT / FLOPPY can you see? Ok, umount / dev / fd0 uninstalls the floppy disk, then shutdown -h now shuts down. The following work is below Win 2k. Open my computer, folder option, and cancel "hidden protected system files". Enter C, copy the bootsect.lin on the floppy disk to C: / below. Double-click Boot.ini to open, join the line at the bottom:

C: /Bootsect.ini= "gentoo Linux"

Because my Gentoo, in fact, the name doesn't matter, isn't it? Save and exit ~ In case, in case, in order to be cautious, for our wonderful tomorrow ... open "folder option", select "Hide Protected System File", determine ~ "Start" - "Run", enter cmd.exe Enter. Enter C: Directory, then enter

Attrib R S H C: /Bootsect.lin

Add "System, Read-only, Hide" property to bootsect.lin, hoho and enter shutdown -r now - depressed, miss XP. . . Restart, enjoy fresh Linux!

Original: http://community.9cbs.net/expert/topic/3187/3187689.xml? Temp = .6997339

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

New Post(0)