1. Download Ubuntu14.04iso image, you can go to (Ubuntu website) [http://www.ubuntu.com/download] Download, for example, we download is UBUNTU-14.04-SERVER-AMD64.ISO2. Configure startup Item 2.1 Download Grub4dos, you can go to Google's project download;
The GRLDR inside the compressed package is placed under the C packing directory ;
2.2 Edit Menu.lst
Create a new menu.lstin the C packing directory, add the following and save:
?
1 2 3 4 |
title Install Ubuntu root (hd0, 0 ) kernel /vmlinuz boot=install iso-scan/filename=/ubuntu- 14.04 -server-amd64.iso quiet splash ro locale=zh_CN.UTF- 8 initrd /initrd.gz |
2.3 Modifying the boot. ini
Add a line at the end of boot. INI:
?
1 |
c:\grldr= "Install Ubuntu" |
and modify the timeout to 5 or greater
2.4 Will ubuntu-14.04-server-amd64.iso below the install directory below the
Vmlinuz and Initrd.gzPut in
C Packing Directory3. Reboot the system for installation 3.1 Select the Install Ubuntu boot Menu set above (you may need to select two times), at which point the Ubuntu-14.04-server-amd64.iso is already installed 3.3 installation will encounter problems: "Probe and mount the disc" This step will fail because the above iso-scan/filename=/ Ubuntu-14.04-server-amd64.iso Scan to just start the install process, but to this step and find the ISO file, at this time the system will go to find the optical drive, based on this, we know that it is actually looking for/cdrom or/media/ CDRom
Based on this, we use the following scenario to solve this problem:
?
1 2 3 4 5 6 7 8 9 10 11 |
a. 选择执行Shell b. 挂载ubuntu-14.04-server-amd64.iso文件所有分区(此分区安装系统时不可以(需要)使用,如果是ntfs的分区且无法挂载请事先转换为fat32) # mkdir -p /media/temp # mount -t ntfs-3g /dev/sdb7 /media/temp 或 # mount -t vfat/dev/sdb7 /media/temp c. 挂载ubuntu-14.04-server-amd64.iso # mount -t iso9660 -o loop /media/temp/ubuntu-14.04-server-amd64.iso /cdrom d. 退出shell # exit e. 继续执行“探测并挂载光盘” |