分页: 1 / 2

硬盘启动desktop镜像安装ubuntu8.04

发表于 : 2008-03-30 15:53
syrano
1.下载 ubuntu-8.04-desktop-i386.iso 到一个分区的根目录
2.挂载ISO

代码: 全选

sudo mount ubuntu-8.04-desktop-i386.iso -o loop /media/cdrom0/
3.进入/cdrom, 把casper目录下的vmlinuz及initrd.gz两个文件copy到放ubuntu-8.04-desktop-i386.iso的分区的根目录

4.编辑menu.lst文件:

代码: 全选

sudo grub
然后输入

代码: 全选

find /ubuntu-8.04-desktop-i386.iso
把显示的(hd0,*)记下来(比如我的是(hd0,11))

代码: 全选

sudo gedit /boot/grub/menu.lst
在最后另起一行加上
title install-ubuntu8.04

root (hd0,*) #大家应用上面记下的分区号修改这个参数

kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-8.04-desktop-i386.iso quiet splash ro automatic-ubiquity locale=zh_CN.UTF-8 noprompt --

initrd /initrd.gz
保存退出。
5.重起电脑,选择install-ubuntu8.04启动项便能引导了(ubuntu8.04live不象以往先进入系统界面启动installer 安装,而是installer在登入live之前自动运行,你如不习慺可以先取消安装,进入live后再运行installer安装,过程基本上同以往版本一样。)

参考viewtopic.php?t=110512&start=0&postdays ... highlight=

发表于 : 2008-04-18 22:15
SecretZero
楼主,这贴貌似以前发过。。

嗯~再支持下。

发表于 : 2008-04-21 20:52
woaiwojia
呵呵,再温习下

发表于 : 2008-04-21 21:25
phonen
title Ubuntu livecd 8.04

find --set-root /hardy/ubuntu-8.04-beta-desktop-i386.iso

kernel /hardy/vmlinuz boot=casper iso-scan/filename=/hardy/ubuntu-8.04-beta-desktop-i386.iso quiet ro automatic-ubiquity locale=zh_CN.UTF-8 noprompt --

initrd /hardy/initrd.gz
这样更方便

发表于 : 2008-04-22 8:49
syrano
phonen 写了:title Ubuntu livecd 8.04

find --set-root /hardy/ubuntu-8.04-beta-desktop-i386.iso

kernel /hardy/vmlinuz boot=casper iso-scan/filename=/hardy/ubuntu-8.04-beta-desktop-i386.iso quiet ro automatic-ubiquity locale=zh_CN.UTF-8 noprompt --

initrd /hardy/initrd.gz
这样更方便
title Ubuntu livecd 8.04

find --set-root ubuntu-8.04-beta-desktop-i386.iso

kernel vmlinuz boot=casper iso-scan/filename=ubuntu-8.04-beta-desktop-i386.iso quiet ro automatic-ubiquity locale=zh_CN.UTF-8 noprompt --

initrd initrd.gz

发表于 : 2008-04-22 19:09
drvicar
:wink: 呀,差点闹笑话,哈哈,以为挂载iso是做什么呢,原来只是为了考东西!

发表于 : 2008-04-23 15:17
live4love
drvicar 写了::wink: 呀,差点闹笑话,哈哈,以为挂载iso是做什么呢,原来只是为了考东西!
晕到对穿肠~~

发表于 : 2008-04-23 15:18
live4love
SecretZero 写了:楼主,这贴貌似以前发过。。

嗯~再支持下。
确实

发表于 : 2008-04-23 17:51
林葭一
顶一下,好东西,回去试试

发表于 : 2008-04-23 19:56
drvicar
:idea: 有没有进入到busybox的

发表于 : 2008-04-23 20:22
SecretZero
我的cdrom0删了。

发表于 : 2008-04-23 20:36
syrano
SecretZero 写了:我的cdrom0删了。
挂载到 /cdrom 或/media/cdrom也行

发表于 : 2008-04-23 22:19
sevk
好文,收藏了.

发表于 : 2008-04-23 22:22
yaska
phonen 写了:title Ubuntu livecd 8.04

find --set-root /hardy/ubuntu-8.04-beta-desktop-i386.iso

kernel /hardy/vmlinuz boot=casper iso-scan/filename=/hardy/ubuntu-8.04-beta-desktop-i386.iso quiet ro automatic-ubiquity locale=zh_CN.UTF-8 noprompt --

initrd /hardy/initrd.gz
这样更方便

gun grub 支持find --set-root 命令吗?

发表于 : 2008-04-23 23:13
yihuanlingjian
yaska 写了: gun grub 支持find --set-root 命令吗?
支持

样例文件里就有这个命令