VM Ware installed Linux

zhaozj2021-02-16  110

Not only Gentoo, in fact, it should be said that as long as it is booted by GRUB, it can be installed without the disc / floppy disk.

caveat! This method is not suitable for installation of Fedora Core 3! ! Other RPM systems are not tested, but not recommended! CAUTION! THIS Installation Method Is Not Capable for Installing Red Hat Fedora Core 3 System! Other rpm-based systems area not test but not recomment !!!

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 method ... All partitions are files, in / dev directory below IDE 0: 1 is HDA, HDA's partitions are HDA1, HDA2, HDA3, HDA4 ... A hard drive can exist four primary Partition, where the fourth can be used as an extension partition, then partitioning logical partitions thereon ... 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 be more painful ... "Note: This is actually a simpler method (for gentoo: I don't know Red Hat), that is, put GRUB FD0. You can make a virtual floppy disk with VMware, and then execute grub-install / dev / fd0. This will use this virtual floppy disk to guide Gentoo; and after exiting the virtual machine, use the tool as Rawwrite and the DD command directly under Linux, you can also put this floppy mirror on a floppy disk. This floppy disk can be used to guide your computer to Gentoo Linux, not just to guide the virtual machine. If you make such a boot floppy disk, the following procedure can be omitted. "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.lin= "gentoo Linux" because of 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! Reference document: http://www.nsfocus.net/index.php? ACT = sec_doc & do = view & DOC_ID = 765

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

New Post(0)