韩紫 發表於 2024-2-12 00:00:00

硬盘安装ubuntu12.04步骤

<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        安装前的准备:</p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        <strong>1.创建未分配硬盘。</strong></p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        先选定一个30g以上的硬盘分区作为安装ubuntu的目标硬盘,将其原本的数据备份后格式化。接着,win7下的操作是:点击开始—&gt;控制面板—&gt;系统和安全—&gt;管理工具—&gt;计算机管理—&gt;磁盘管理。找到刚才格式化的那个硬盘分区,右键—&gt;删除卷。这样我们就有了一个未分配的硬盘空间,留着安装ubuntu。</p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        <strong>2.下载镜像。</strong></p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        要安装ubuntu呢,首先要有一个其任一版本的安装镜像(当然最好是最新的版本)。linux是开源操作系统,而ubuntu是它的一款十分优秀的distribution,所以取得ubuntu的安装镜像是十分容易而且免费的。具体呢,可以到ubuntu中文站点下载:http://ubuntu.org.cn/getubuntu/download/但是中文站点的最新版本是11.04比11.10低一个版本。你可以到ubuntu官网上下载:http://www.ubuntu.com/download但由于官网是国外的,所以会比较慢。如果你会使用六维空间的话,建议你在六维上下载:http://bt.neu6.edu.cn</p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        <strong>3.有了安装镜像之后</strong>,我们需要做一个引导文件。在下载好的iso文件中,casper文件夹目录下,找到vmlinuz、initrd.lz(文件名也可能是initrd.gz)解压,并复制到C盘根目录下(无需解压整个casper文件夹)。下载一个名为EasyBCD的软件最新版安装之。启动 EasyBCD 选择Add new entry—&gt;NeoGrub—&gt;Install,然后在新出现的界面点:configure,出现menu.lst,添加以下内容:<br>
         </p>
<div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'>
        <div class="right">
                <span><u>复制代码</u></span>
</div>
        <p>
                代码如下:</p>
</div>
<div class="msgborder" id="phpcode3" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
        <br>
        title Install Ubuntu 12.04<br>
        root (hd0,0)<br>
        kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-12.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8<br>
        initrd (hd0,0)/initrd.lz</div>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
         </p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        注:红色字体部分就是需要安装的ISO映像文件的文件名,根据实际情况作调整,initrd.lz也可能是initrd.gz,请确保文件名正确,注意大小写一致。(某些同学的win7安装时候分区了,有一个100MB的系统分区在第一位置,这样所谓的C盘就不是(hd0,0)了,应该为(hd0,1);同样,万一点儿背,还是在grub4dos下测试看看应该是哪个分区吧。)</p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        <strong>4.重启计算机。在开机画面应该会出现下面两个选项:</strong><br>
         </p>
<div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'>
        <div class="right">
                <span><u>复制代码</u></span>
</div>
        <p>
                代码如下:</p>
</div>
<div class="msgborder" id="phpcode4" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
        <br>
        windows7<br>
        NeoGrub Bootloader</div>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
         </p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        选择NeoGrub Bootloader进入live cd(经测试此硬盘安装法较适用于ubuntu的desktop版,如果是alternate版可能无法进入live cd画面)。这时我们就能看到ubuntu的安装准备画面。这里需要通过终端键入一个命令,这对第一次接触linux操作系统的朋友来说可能会不知道怎么办。我详细的说明下。</p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        在live cd 安装画面的左上角找到带有ubuntu logo的黑色按钮,它有点类似于windows下的开始按钮,点击之后在出现的搜索栏里键入字母t,找到terminal终端,点击。这时会运行一个窗口,键入一下命令:<br>
         </p>
<div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'>
        <div class="right">
                <span><u>复制代码</u></span>
</div>
        <p>
                代码如下:</p>
</div>
<div class="msgborder" id="phpcode5" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
        <br>
        sudo umount -l /isodevice</div>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
         </p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        然后回车,关闭终端。点击桌面上的安装ubuntu图标。开始安装!</p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        <strong>5安装过程。</strong></p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        到达相应步骤后,按下图选择安装类型<br><br><img style="max-width:100%!important;height:auto!important;"title="硬盘安装ubuntu12.04步骤" alt="硬盘安装ubuntu12.04步骤" src="https://zhuji.jb51.net/uploads/img/202305/21acf26a2050bd3fb56d84318ba7c70e.jpg"></p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        选择最后一项以自定义分区<br>
        找到第一步准备好的未分配区,然后开始在ubuntu下分区:</p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        /建议15G以上 /home 建议30G以上,单独分区。 swap 建议2G以下。 /boot 可以不单独分区,如果单独分区,建议300M以上。</p>
<p style='margin: 0px; padding: 5px 0px; outline: none; font-size: 14px; line-height: 30px; font-family: tahoma, arial, "Microsoft YaHei";'>
        <strong>6.最后等待安装完毕。</strong></p>
頁: [1]
查看完整版本: 硬盘安装ubuntu12.04步骤