Usb System Installation

Source: Internet
Author: User

I have to find a lot of setup instructions on the Internet for each Reinstallation, which is very troublesome. So I have to sort out my notes. For future use.

It is too slow to apply for a CD. The hard disk installation method is the best way to keep up with the release version. There are too few desktop software, so the alternate version is generally used.

Download the corresponding boot file initrd.gz(.gz) and vmlinuz (no file type, that is, no suffix is added ),

Note: http://ubuntu.mithril-linux.org/archives/dists/intrepid/main/installer-i386/current/images/hd-media/
The hard drive boot file of the intrepid version is provided in the example website. You only need to modify this name for different versions.

Store the boot file and downloaded iso image in the FAT32 partition of windows. I usually use the D disk as the partition. The hard disk partition corresponding to the D disk is (hd0, 4), the E disk (hd0, 5), and so on. I only have one hard disk, so the first digit is 0. Download the grub4dos boot document and copy grldr and grldr. mbr to the C root directory.
Then
In XP, modify the C-drive root directory to hide the file boot. ini, and add the last line.
Grldr = "ubuntu"
VIsta does not have a boot file. Run-CMD to open the command prompt and enter
Bcdedit/create/d "GRUB4DOS"/application bootsector
The command returns a {GUID}, which is used by the following command. Replace the {GUID} in the following command with the string generated by the previous command}
Bcdedit/set {GUID} device partition = C:
Bcdedit/set {GUID} path \ grldr. mbr
Bcdedit/displayorder {GUID}/addlast
The preceding command is used to create the grldr option of the VIsta Startup File.
Restart. Select grldr before the windows Startup screen, and press C to enter the command line.
Load the kernel: (kubuntu is also the same)
> Kernel (hd0, 4)/vmlinuz root =/dev/ram4 ramdisk_size = 32000 devfs = mount, dall
> Initrd (hd0, 4)/initrd.gz
> Boot
If you do not know which one is (hd0, X), run the find/vmlinuz command.

Follow the prompts to continue.
There is a formatting hard disk on the way, select the third manual formatting.
Then my partitions are as follows:
Ext3 format/7G system file Zone
Ext3 format/home 3G User File and configuration Area
Ext3 format/data to be changed during var 3G Runtime
Swap 512 M if your memory is smaller than 1 GB, enable this partition (equivalent to the virtual memory in MS)

Prompt that the image cannot be found
Ctrl + Alt + F2 go to the console/F1 <shell>
Input
Mkdir/dev/loop
Mknod/dev/loop/0 B 7 0
Mknod/dev/loop/1 B 7 1
Exit
Search for the image again.

If you encounter MS Reinstallation, you cannot boot into ubuntu and use grldr to fix it.
> Find/boot/grub/stage ### return root partition (hd0, X)
> Root (hd0, X) ### this is the root partition.
> Setup (hd0)
> Quit
If windows boot is not started, modify/boot/grub/menu. lst.
Follow the example in the document to copy and paste the windows Startup option.

Author "system world"

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.