Install linux from hard disk

Source: Internet
Author: User

The first step is to download the Linux ISO impression file. It should be emphasized that, after downloading, it is best to use winmd5 to calculate whether the MD5 verification code of the ISO file is the same as the MD5 Code provided by the download website (there cannot be an error ), this ensures that the downloaded ISO file has not been tampered.

Step 2: partition. In Windows, you can easily use power quest partition magic.

Step 3: put all the ISO files in the root directory of the C drive and use the winiso software (in windows, WinRAR can also open the ISO file) in the Linux ISO file, find the dosutils folder together with all the files in the folder and save it to the C drive dosutils directory for backup.

Step 3: restart the computer and use the Win98 boot disk to enter DoS (do you not understand this ?).

Enter the following command (carriage return and □blank ):

C:/Windows/CD .. example
C:/Example
C:/CD □dosutils restart
C:/dosutils/Samples
C:/dosutils/autoboot.exe cute
Go to the Linux GUI installation screen ~ Next, select your ISO file location. Didn't all be placed on drive C just now? The hard disk is "/dev/hda1" and the directory is "/". The subsequent installation process is described in the previous sections.

Other Linux releases have different settings and methods for hard disk installation, which are generally described in the user manual.

Author: Echo 20:57:13
Hongqi linux4.0 desktop Edition

Copy the. ISO file to the bottom of drive C, and then extract the dosutils from the ISO file. Vmlinuz and initrd under the autoboot directory. copy the imgfile to the dosutils directory and enter the following command in DOS: loadlin vmlinuz ramdisk_size = XXXXX initrd = initrd. IMG [where Xxxxx is the memory size, the calculation method is MB × 1024, for example, 64 MB memory should input 65536 (64 × 1024), 131072 MB is, and so on]

Author: Echo 20:57:49
1. What versions of Linux can be installed from hard disk?
Other Linux systems except ml can be installed on hard disks, such as Mandrake SuSE Turbo RH.

2. Common Methods
Copy the downloaded ISO file to any fat directory. We recommend that you store the downloaded ISO file in the root directory of the partition.
The name cannot be garbled. We recommend you rename it hdstg1 or hdstg2.
Extracts the dosutilies folder from the first ISO file,
Then start it with DoS or run it at the 98 DOS prompt (the command prompt of 2000, XP, and NT is not supported ).
Autoboot. BAT in this folder
If there is no dos, you need to create a boot disk (with the rewrite command ). The content of this bat file is
Loadlin autoboot/vmlinuz initrd = autoboot/initrd. IMG ramdisk_size = 9216
Then select hard disk installation.
When an error occurs, it means that "the second disk cannot be found" is not consecutive from the CD serial number of the ISO file.
Change the second ISO file or re-down the two files.

3. Hard Disk installation of mandrake8.2
Mandrake8.2 cannot be directly installed from ISO. There are two solutions:
Method 1:
Decompress the first ISO file to the mandrake directory, and decompress the second ISO file and the third ISO file,
Cut the rpms, rpms1, rmps2.... In the mandrake directory of the last two ISO sheets
The name of the mandrake subdirectory under the mandrake directory where the first disk is located (case sensitive)
Parallel several RPMs folders. Then, the alt0 under the isolinux directory in the second ISO
Vmlinuzand all.rdzin the directory are copied to a local directory.
Put it in the same directory of vmlinuz and all. RDZ and run it in DOS
Loadlin vmlinuz initrd = all. RDZ can be installed.

Method 2:
Use the HD. IMG boot installer and select the first ISO installation. When an error occurs during installation (the second ISO is required ),
Press CTRL + ALT + F2 to enter the shell and execute the following command:
Umount/tmp/Image
Losetup-D/dev/loop3
Mknod/dev/loop0 B 7 0
/Mnt/bin/Mount-o loop/tmp/hdimage/(your Mandrake directory )//
Mandrake81-cd2-ext.i586.iso/tmp/Image
Press Alt + F7 to continue the installation, and then mount the third ISO when an error occurs,
After the software package is copied, re-mount the first ISO to complete the installation.
That is to say, during the installation process, you can switch to another workbench and mount several ISO files to/tmp/image in sequence.

4. full installation of the hard drive of mandrake8.2
1. Place the ISO file in the root directory of a partition for convenience.
2. Extract rawrite.exe under dosutiliesand HD. IMG under images, and use rawrite-f hd. Im
G-d A: Create a hard disk and install the boot disk.
3. After hard disk boot, select the correct partition and enter the ISO name, for example: Mandrake82-cd1-inst.i5
86. ISO. If it is correct, it will continue backward.
4. After the page is up, it will be the same as the CD installation.
5. A dialog box will pop up to indicate that a file cannot be installed. Below is the hard disk Security
The key to complete the installation.
6. Press CTRL + ALT + F2 to switch to the console and run the following command:
# Umount/tmp/Image
# Losetup-D/dev/loop3
# Mknod/dev/loop0 B 7 0
#/Mnt/bin/Mount-o loop/tmp/hdimage/(your DIR)/(your ISO filename)/tmp/IMA
Ge
For example
In this case, enter:
#/Mnt/bin/Mount-o loop/tmp/hdimage/Mandrake82-cd2-ext.i586.iso/tmp/Image
If no error message is displayed, switch Alt + F7 to the installation page and continue.
7. When an error occurs again, the third disk is required to switch to the console again, but this is slightly different from the previous one:
# Umount/tmp/Image
# Losetup-D/dev/loop0
#/Mnt/bin/Mount-o loop/tmp/hdimage/Mandrake82-cd3-supp.i586.iso/tmp/Image

Switch to the installation page to continue the installation.
8. At the end of File Installation, switch to the console and run the following command when setting the root password:

# Umount/tmp/Image
# Losetup-D/dev/loop0
#/Mnt/bin/Mount-o loop/tmp/hdimage/Mandrake82-cd1-inst.i586.iso/tmp/Image

This is because the content in the first ISO file will be read in subsequent installation.
9. You can set it all the way below.
10. Now there should be no problem. Congratulations!

5. suse8.2 no CD or floppy disk installation manual
1. After downloading the suse8.2 five CD images, use the virtual optical drive
The files are copied to the CD1, CD2, CD3, CD4, and CD5 directories respectively. (
I am under suse82 of drive D ).

2. Copy the loadlin.exe file in the CD1/dosutils/loadlindirectory
CD1/boot/loader directory.

3. the reset machine starts to the DOS state, enters suse82/CD1/boot/loader, and runs
Loadlin Linux append initrd = initrd VGA = 791
Select the hard disk installation path/suse82/CD1 to start installation.
6. Note that the ending cylinder of SuSE/partition cannot exceed 1024 during partitioning; otherwise, no
Can be started, except for Linux systems that have other grub-enabled systems installed. Installation files will be placed
Partition (My is hda5) Mount is/mnt/win_d, set the characters in the fstab Option
Fill in gb2312 in the Set, 936 in the code, and umask = 0 in any options.

4. After the first disk is installed, it will be automatically restarted and you will be inserted into the second disk,
There are two ways to handle this problem. The first is "Show Details" in the prompt window ",
Change the path to "dir: // MNT/win_d/suse82/CD2 ".
It needs to be changed several times.
Another method is to press CTRL + ALT + F2 when prompted to insert the second disc ",
Run YaST and select "software-> change source of install ",
Delete the path and add "dir: // MNT/win_d/suse82/CD1 ",
"Dir: // MNT/win_d/suse82/CD2", "dir: // MNT/win_d/suse82/CD3 ",
"Dir: // MNT/win_d/suse82/CD4", "dir: // MNT/win_d/suse82/CD5 ",
Exit YaST and run "shutdown-R now". After the restart, the system will automatically install the tool.

6. I plan to install linux on all hard disks. How can I start from the ISO file on the hard disk?
You can select a network for installation.
If you still want to install the hard disk,
Assume that your ISO file is on drive C. Do not format the drive C during installation.
What else should I do?
After installation, use newfs to kill drive C, and then you can mount a directory such as/var to this
Partition, of course, you need to back up the data in/var and then write the data together
The newly formatted partition, and modify/etc/fstab to write/var separately.

 

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.