ghost ubuntu 8.10 中文版 (文件已删除,各位不要浪费时间看了)

Ubuntu各种衍生版本
回复
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#181

帖子 luanqh » 2009-04-02 14:58

我重装一下,即重新ghost,这次又不灵了 ,重装grub失败,屏幕如下:

luanqh@ubuntu:~$ sudo mount /dev/sdc1 /mnt

luanqh@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sdc1
/dev/sdc1 does not have any corresponding BIOS drive. :em03
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#182

帖子 luanqh » 2009-04-02 15:30

又折腾了几遍,还是上面一样,看来重装grub也装不了。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#183

帖子 billbear » 2009-04-02 15:53

分区表有没问题。
sudo fdisk -l
sudo parted -l
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#184

帖子 billbear » 2009-04-02 15:57

另外,可以
sudo mount /dev/sdc1 /mnt
之后,把原来的 grub 改名,即
sudo mv /mnt/boot/grub /mnt/boot/grub-old
然后再运行
sudo grub-install --root-directory=/mnt /dev/sdc1
最后,把菜单从 grub-old 拷过来:
sudo cp /mnt/boot/grub-old/menu.lst /mnt/boot/grub/menu.lst
如果一切正常,就可以删掉 grub-old 了。留着也无碍。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#185

帖子 billbear » 2009-04-02 16:13

等等,帮忙测试一下。你的问题可能是由于有 3 块硬盘引起的。请恢复到最初刚刚 ghost 好无法启动的状态,然后试试这个:
livecd 启动后,
sudo mount /dev/sdc1 /mnt
然后,在
/mnt/boot/grub/device.map 里添加一行
(hd2) /dev/sdc
可以用这个命令来打开修改上述文件
sudo gedit /mnt/boot/grub/device.map
修改完重启看看能不能解决问题。
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#186

帖子 luanqh » 2009-04-02 18:22

终于在网站上找到解决办法,
作grub-install时,出现does not have any corresponding BIOS drive错误的解决办法。

Your grub folder is missing quiet a few files.
Please copy all the files from

/usr/lib/grub/i386-pc
to
/boot/grub

Then you can reinstall grub

sudo grub
grub> find /boot/grub/stage1
grub> find /grub/stage1

One of the above commands should return your Ubuntu partition in the form of (hdX,Y) where X and Y are numbers, for example (hd0,4), but use whatever it returns as follows:
Code:

grub> root (hdX,Y)
grub> setup (hdX)
grub> quit

Hope this helps

第一条,我们不缺文件,不用作。作第二条,执行时屏幕如下:

sudo grub

grub> find /boot/grub/stage1
(hd2,0)

grub> find /grub/stage1

Error 15: File not found

grub> root (hd2,0)

grub> setup (hd2)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd2)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd2) (hd2)1+16 p (hd2,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

grub> quit

我在作上面命令之前,还做了下面安装mbr命令,不知是否必须。

sudo apt-get install mbr
sudo install-mbr /dev/sdc1
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#187

帖子 luanqh » 2009-04-02 20:19

本来想按着 billbear 的想法再来一遍,但是重新ghost以后仍然好用,看来最后的办法是可行的。
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#188

帖子 luanqh » 2009-04-03 8:14

今天把移动硬盘重建分区、格式化,ghost程序,结果又回到原来状态,启动不了。作:

sudo grub
grub> find /boot/grub/stage1
(hd2,0)
grub> root (hd2,0)
grub> setup (hd2)
grub> quit

一次成功,看来这个办法很好。
肯定不是三个硬盘的问题,因为我试过的另一台笔记本电脑就一个硬盘,也不好用。可能是原来的ghost文件,在写盘时,没有在引导中写入GRUB的原因吧。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#189

帖子 billbear » 2009-04-03 11:33

root (...)
setup (...)
是用原有的 grub stage1, stage1.5, stage2 文件来安装。由于你的 grub 死得比较厉害,我担心原来的文件有问题,所以用更彻底的重装,就是如 184 楼所说。既然只用 root 和 setup 就能解决,那就这么做吧。
在 186 楼,你 setup (hd2) 是把 grub stage1 安装到了 mbr 里,187 楼重新 ghost 不会重写 mbr, 所以仍然可用。
可能是原来的ghost文件,在写盘时,没有在引导中写入GRUB的原因吧。
原来的 gho 文件,是包含 grub 引导的,在分区引导扇区,因为 gho 文件不包含 mbr,所以不采用 mbr 里写 grub 的方式。原来的引导方式是:微软的 mbr 寻找活动主分区,到此分区引导扇区启动 grub 引导,在我这里都能正常工作。现在你是用 grub 覆盖掉了 mbr 里的微软代码,直接进入 grub,也是可以的。如果要保留微软的 mbr,修复分区引导扇区的 grub,应该是
root (hd2,0)
setup (hd2,0)
MORR
帖子: 2
注册时间: 2009-04-01 15:38

Re: ghost ubuntu 8.10 中文版

#190

帖子 MORR » 2009-04-03 16:56

我也用了,舒服啊,呵呵。
kiso
帖子: 88
注册时间: 2008-11-23 20:24

Re: ghost ubuntu 8.10 中文版

#191

帖子 kiso » 2009-04-04 1:52

剛想裝個玩玩,,打算8.04的了! 哈哈,,謝謝樓主!!!!!!!! :em11 :em11
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#192

帖子 luanqh » 2009-04-04 18:55

昨天,把装好的移动硬盘ubuntu8.10升级,开始用网上的办法,先用sudo gedit /etc/apt/sources.list 改源,然后用命令:
sudo apt-get update
sudo apt-get upgrade
升级。升级中就有一些错误,而且升级不全,再开机又死机。一直升了N遍,都不行。
今天换了一个办法,先用sudo gedit /etc/apt/sources.list 改源,然后用 “更新管理器“ 中的 “部分更新“ 功能,一次成功升级到9.04。现在的问题是,更新后不能用ghost备份,ghost总是处于 检查目录结构状态。
头像
厄圖
帖子: 141
注册时间: 2007-10-25 3:40
来自: 广西,在西安读书
联系:

很好用,

#193

帖子 厄圖 » 2009-04-06 9:54

很好用,虽然对各位大侠遇到的问题不了解,但是我用得很好用,我先使用某ghostXP的硬盘安装程序在XP选择ghostubuntu安装,重启后就像往常装XP一样,一会就好了,我选择的是硬盘的第一个分区也就是杀死XP安装的,结果安装完后grub菜单就出来了,我拿着7.10的光盘发愣呢,我还以为要自己装grub呢!直接就进入系统了。
附件
222.png
0.png
2.png
头像
厄圖
帖子: 141
注册时间: 2007-10-25 3:40
来自: 广西,在西安读书
联系:

Re: ghost ubuntu 8.10 中文版

#194

帖子 厄圖 » 2009-04-06 9:57

luanqh 写了:昨天,把装好的移动硬盘ubuntu8.10升级,开始用网上的办法,先用sudo gedit /etc/apt/sources.list 改源,然后用命令:
sudo apt-get update
sudo apt-get upgrade
升级。升级中就有一些错误,而且升级不全,再开机又死机。一直升了N遍,都不行。
今天换了一个办法,先用sudo gedit /etc/apt/sources.list 改源,然后用 “更新管理器“ 中的 “部分更新“ 功能,一次成功升级到9.04。现在的问题是,更新后不能用ghost备份,ghost总是处于 检查目录结构状态。
ghost是不是不支持ext4啊同学
syslight2020
帖子: 55
注册时间: 2008-05-10 16:33
联系:

Re: ghost ubuntu 8.10 中文版

#195

帖子 syslight2020 » 2009-04-09 15:12

thanks you very very much..... :em02
回复