长头发的和尚 写了:是不是grub没有安装到移动硬盘?
代码: 全选
grub-install /dev/sd×
update-grub
注意盘符,
看一下
一般是sdb
help~!
I'm now in CDlive system. I'm sorry that I haven't got the Chinese input method.
I've tried the way you told me, and the answer is as below:
----------------------------------------------------------------------------------------------------
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ fdisk -l
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7a7d4f72
Device Boot Start End Blocks Id System
/dev/sda1 * 1 192 1536000 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 192 19071 151647232 7 HPFS/NTFS
/dev/sda3 19071 37807 150495232 f W95 Ext'd (LBA)
/dev/sda4 37807 38914 8891392 17 Hidden HPFS/NTFS
/dev/sda5 19071 27995 71680000 7 HPFS/NTFS
/dev/sda6 27995 37807 78813184 7 HPFS/NTFS
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d8632
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2432 19530752 83 Linux
/dev/sdb2 2432 9730 58617857 5 Extended
/dev/sdb5 2432 3040 4881408 82 Linux swap / Solaris
/dev/sdb6 3040 9730 53735424 7 HPFS/NTFS
ubuntu@ubuntu:~$ grub-install /dev/sdb
cp: 无法创建普通文件"/boot/grub/915resolution.mod": 权限不够
ubuntu@ubuntu:~$ sudo grub-install /dev/sdb
/usr/sbin/grub-probe:错误: cannot stat `aufs'.
ubuntu@ubuntu:~$
--------------------------------------------------------------
What can I do next ... ...