How to install debian on a hard disk

Source: Internet
Author: User
How to install debian on a hard disk-Debian Technology for the Linux release-details are as follows. Debian can be installed on a hard disk in either of the following two ways: Enter the pure DOS and place the ISO file you installed in debian in the root directory of the FAT32 partition. Put vmlinuz, initrd.gz, and loadlin.exe in the same directory, and then create the batch file autoboot. bat.

The file content is loadlin vmlinuz initrdw.initrd.gz ramdisk_size = 128000 devfs = mount, dall

The advantage of using this method for installation is that you only need to be able to access DOS. Use win98 or some super Chinese boot disks to install the OS. Then go to the following interface to start installation.

Note that the vmlinuz and initrd files must be located and cannot be extracted directly from the netinist. iso file in sarge. If Debian installed with hiweedcannot be extracted from isofiles, I think vmlinuzand initrd.gz ON THE hiweedwebsite are really good.

Another method is to use the GRUB function. Call the kernel command for guidance.

First, run vmlinuzand initrd.gz to install ISO. All three files are placed in the root directory of the FAT32 partition. If you do not have GRUB, you can download a grub for DOS installation from the Internet. After restart, go to GRUB,

> Kernel (hd0, 0)/vmlinuz root =/dev/ram ramdisk_size = 128000 devfs = mount, dall
> Initrd (hd0, 0)/initrd.gz
> Boot

Among them, (hd0, 0) hd0 indicates your first hard disk. If there are two hard disks and the three files above are in the second hard disk, then, the value 0 after hd1. indicates the order in which your FAT32 partition is ranked.

In my summary, 0 indicates your C: 2 indicates your extended partition. the partitions in the extended partition are subordinate from 4. For example, if your D: is 4, E: is 5, F: is 6. This is how GRUB recognizes hard disks, not LINUX's hard disks. Linux's hard disk recognition method is similar to GRUB, which starts with 1. For details, see other articles. This is my practice and thoughts over the past few days. I have tried it. I think GRUB installation is better than DOS batch processing installation.

That is to say, the second method is relatively reliable. There are a lot of installation tutorials in this area, so here we will talk about it, you can look for it.
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.