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

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

Re: ghost ubuntu 8.10 中文版

#166

帖子 luanqh » 2009-04-01 22:56

在宏基笔记本上也一样,不过这次真的只有grub 四个字就死了。 :em06
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#167

帖子 luanqh » 2009-04-01 23:01

今天就到这里,昨天晚上个搞得很晚,要休息了。请楼主帮助多多帮助,本人是菜鸟。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#168

帖子 billbear » 2009-04-01 23:06

livecd 先列一下
sudo fdisk -l

sudo parted -l
的输出给我。
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#169

帖子 luanqh » 2009-04-02 6:46

ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
240 heads, 63 sectors/track, 5169 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xc001c001

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2439 18438808+ 7 HPFS/NTFS
/dev/sda2 2440 5169 20638800 f W95 Ext'd (LBA)
/dev/sda5 2440 5169 20638768+ 7 HPFS/NTFS

Disk /dev/sdb: 30.0 GB, 30020272128 bytes
240 heads, 63 sectors/track, 3877 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xe5c72b31

Device Boot Start End Blocks Id System
/dev/sdb1 1 3877 29310088+ 7 HPFS/NTFS

Disk /dev/sdc: 10.0 GB, 10056130560 bytes
255 heads, 63 sectors/track, 1222 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcad4ebea

Device Boot Start End Blocks Id System
/dev/sdc4 * 1 1222 9815683+ 83 Linux

ubuntu@ubuntu:~$ sudo parted -l
Model: ATA WDC WD400BB-22HE (scsi)
Disk /dev/sda: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 18.9GB 18.9GB primary ntfs boot
2 18.9GB 40.0GB 21.1GB extended lba
5 18.9GB 40.0GB 21.1GB logical ntfs


Model: ATA WDC WD300BB-00AU (scsi)
Disk /dev/sdb: 30.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 30.0GB 30.0GB primary ntfs


Model: IBM-DJSA -210 (scsi)
Disk /dev/sdc: 10.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
4 32.3kB 10.1GB 10.1GB primary ext3 boot


Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label

做ubuntu@ubuntu:~$ sudo parted -l时,插上移动硬盘很慢,不插移动硬盘时很快。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#170

帖子 billbear » 2009-04-02 9:04

有两个内置硬盘? /dev/sdc 是那块移动硬盘吧?试试这样:
sudo gparted /dev/sdc&
然后删除 sdc4,新建一个分区 sdc1,为 fat 或 ext3,并标记为活动。应用变更。
进入 windows 重新 ghost 一下。
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#171

帖子 luanqh » 2009-04-02 9:55

billbear :
我用你说的方法作了,仍然是老样子,我先前用这个方法作过,这次我又作了一遍,删除 sdc4,新建一个分区 sdc1,为ext3,活动。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#172

帖子 billbear » 2009-04-02 10:12

奇怪,写个 syslinux 的 mbr 看看,
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdc
顺便再列 168 楼的命令。
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#173

帖子 luanqh » 2009-04-02 10:39

刚才我在windows下,用ultraiso的写硬盘功能,用usb-hdd方式,写一个空文件,然后ghost。结果屏幕显示为:
Attempting Boot From USB Device
Start booting from Device...
GRUB

先前的屏幕是:
Attempting Boot From USB Device
GRUB

可能没有什么用,参考。
下面马上做测试。
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#174

帖子 luanqh » 2009-04-02 10:49

luanqh@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
240 heads, 63 sectors/track, 5169 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xc001c001

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2439 18438808+ 7 HPFS/NTFS
/dev/sda2 2440 5169 20638800 f W95 Ext'd (LBA)
/dev/sda5 2440 5169 20638768+ 7 HPFS/NTFS

Disk /dev/sdb: 30.0 GB, 30020272128 bytes
240 heads, 63 sectors/track, 3877 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xe5c72b31

Device Boot Start End Blocks Id System
/dev/sdb1 1 3877 29310088+ 7 HPFS/NTFS

Disk /dev/sdc: 10.0 GB, 10056130560 bytes
255 heads, 63 sectors/track, 1222 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xccd4ebea

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 1223 9820408+ 83 Linux



luanqh@ubuntu:~$ sudo parted -l
Model: ATA WDC WD400BB-22HE (scsi)
磁盘 /dev/sda: 40.0GB
Sector size (logical/physical): 512B/512B
分区表:msdos

数字 开始: End 大小 类型 文件系统 标志
1 32.3kB 18.9GB 18.9GB primary ntfs 启动
2 18.9GB 40.0GB 21.1GB extended lba
5 18.9GB 40.0GB 21.1GB logical ntfs


Model: ATA WDC WD300BB-00AU (scsi)
磁盘 /dev/sdb: 30.0GB
Sector size (logical/physical): 512B/512B
分区表:msdos

数字 开始: End 大小 类型 文件系统 标志
1 32.3kB 30.0GB 30.0GB primary ntfs


Model: IBM-DJSA -210 (scsi)
磁盘 /dev/sdc: 10.1GB
Sector size (logical/physical): 512B/512B
分区表:msdos

数字 开始: End 大小 类型 文件系统 标志
1 32.3kB 10.1GB 10.1GB primary ext3 启动
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#175

帖子 billbear » 2009-04-02 11:02

ultraiso 已经做出一个有问题的分区表。

Disk /dev/sdc: 10.0 GB, 10056130560 bytes
255 heads, 63 sectors/track, 1222 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xccd4ebea

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 1223 9820408+ 83 Linux

分区已经超过了硬盘的大小。 1223>1222
马上用 gparted 重做,不然很危险。
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#176

帖子 luanqh » 2009-04-02 11:36

用 gparted 重做了,屏幕有回到老样子。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#177

帖子 billbear » 2009-04-02 12:44

livecd 启动,重新安装一下 grub 试试-
sudo mount /dev/sdc1 /mnt
sudo grub-install --root-directory=/mnt /dev/sdc1
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#178

帖子 luanqh » 2009-04-02 13:02

luanqh@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sdc1
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1. Check your device.map.

[: 494: =: unexpected operator
Installing GRUB to /dev/sdc1 as (hd2,0)...
Installation finished. No error reported.
This is the contents of the device map /mnt/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc

上面是我在9.04上做得结果。我再用livecd作一下。
头像
luanqh
帖子: 184
注册时间: 2009-03-31 23:57

Re: ghost ubuntu 8.10 中文版

#179

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

:em05 做了上面两条命令就好了,成功引导装入!
我是在我的机器上安装的ubuntu9.04上做得,不用livecd,我想用哪一个都一样,都是修理别人,而不是自己修理自己。感谢楼主的无私帮助!还有什么好东东,我都愿意试。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: ghost ubuntu 8.10 中文版

#180

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

呵呵。grub 有时候是会出奇怪的问题。 grub 的 bug 还远没有排除完,并且开发和除虫处于相对停滞状态。
相比之下, grub4dos 更加健壮,而且开发活跃。我更倾向于使用 grub4dos :)
回复