Windows 7硬盘安装Ubuntu系统

来源:互联网 发布:木马网络行为分析 编辑:程序博客网 时间:2024/05/31 11:04

说明:24,25号自己又重新利用Windows硬盘安装了Ubuntu操作系统。之所以决定写篇博文记录安装过程,是安装过程中遇到“Error 15 File not foud”问题,苦恼了半小时。理论上本文方法可以安装其他Linux发行版。


安装过程分为:准备工作 -- 重启进行Ubuntu引导 -- 安装Ubuntu -- 清理工作(清除)。自己苦恼半个小时的问题在“重启进行Ubuntu引导”之前,因此重点叙述前两个步骤。

一 准备工作

  • 下载EasyBCD(可以从官方或者软件站点下载)及Ubuntu ISO镜像文件。
  • 添加新条目(启动项),选择Ubuntu ISO文件(建议存放C盘根目录,否则需要更改配置文件的磁盘,例如D盘根目录需要更改为(hd0, 1))
  • 编辑配置文件menu.lst,示例:

<pre name="code" class="python"># NeoSmart NeoGrub Bootloader Configuration File## This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst# Please see the EasyBCD Documentation for information on how to create/modify entries:# http://neosmart.net/wiki/display/EBCD/title Install Ubunturoot (hd0,0)kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-16.04-desktop-amd64.iso ro quiet locale=zh_CN.UTF-8initrd (hd0,0)/initrd.lz
  • 提出Ubuntu ISO镜像中casper文件夹的initrd.lz和vmlinuz,放入C盘
  • 重启电脑
二 进入Ubuntu引导页面
开机时选择对应的启动项,加载Ubuntu系统。

“Error 15 File not foud”问题原因分析:
1. 配置文件中磁盘写错,可能写的是(hd0,0)--即C盘,但是存放ISO的盘符却不是C盘
2. Ubuntu ISO文件initrd.lz和vmlinuz没有提出

三 安装Ubuntu

原理与U盘安装一样,主要是分区。略。

四 清理

删除EasyBCD新增的引导项,删除initrd.lz和vmlinuz文件,可选择地卸载EasyBCD。

OK,完成安装。


Ref:360Doc详细安装说明

0 0