Article Title: three methods to guide linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I know the following three methods to guide linux:
Method 1: boot floppy disk (1) Use mkbootdisk in linux.
(2) If the boot information of the hard disk is lost, the boot floppy disk cannot be used in the Linux system. For RH, use the RedHat linux CD to boot to the secure mode, when you ask whether to set the linux system on the hard disk as the current environment, select "yes". Then, the system enters the linux environment on the hard disk, runs mkbootdisk, and creates a boot disk.
(3) Take the boot floppy disk of the same version of linux and modify "root =/dev/hdXX" in the syslinux. cfg file to your hdaX, hdbX!
Method 2: dos: Copy several files from the first disc to the same directory on the hard disk:
Dosutils Directory: loadlin.exe
Isolinux Directory: initrd. img, vmlinuz
Create a batch file xxx. bat in this directory:
Loadlin vmlinuz root =/dev/hdXX
Loadlin vmlinuz initrd = initrd. img
(HdXX represents the partition where your linux is located! The details are hda1, hda2,... depends on the partition you have installed .)
Start to dos (do not load other drivers and settings), enter the directory to execute the batch processing file, it should be able to enter!
Method 3: Use WindowsNT loader (NT boot menu) If you have installed windowsNT, 2000, XP,..., you can run the following command in linux:
Dd if =/dev/hdxx of = bootsect. lnx count = 1
Copy bootsect. lnx to C. Modify C: \ boot. ini and add a line of content, which looks like this:
[Boot loader]
Timeout = 10
Default = multi (0) disk (0) rdisk (0) partition (1) \ WINNT
[Operating systems]
Multi (0) disk (0) rdisk (0) partition (1) \ WINNT = 'Microsoft Windows 2000 professional'/fastdetect
C: \ bootsect. lnx = 'Red Hat 9'
Start NT (2000, XP...) and you can see the selection menu!
I don't know how to name partitions in linux. Let's take a look at this:
Http://www.linuxaid.com.cn/articles/2/5/256984665.shtml
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service