我安装的是Ubuntu 11.04 64位桌面版本,主板是880G。两块500G硬盘已经在主板bios里面设置成raid0,先安装了win7。硬盘目前结构,100M win7隐藏分区,另外还有c,d,e盘各100G。经过改进的步骤:先试用Ubuntu,然后开始安装。边安装,还可以一边上网,两不耽搁。开始的安装很顺利,到最后一步grub无法安装,出现致命错误。
这个时候是关键了,不要慌张。在附件程序组里面打开一个终端,我参考了这个帖子的方法,http://www.linuxidc.com/Linux/2011-05/36502.htm以下是步骤:$ sudo -i先挂根目录# mount /dev/mapper/pdc_XXXXXXXXXXn /targetpdc_XXXXXXXXXX在安装过程中应该有,没有记住的话,ls -l /dev/mapper/ 命令可以列出来。再挂 /home# mount /dev/mapper/pdc_XXXXXXXXXXn /target/homen是和你分区时候的代码一致。其他的挂载点根据自己安装的情况定,如果需要共享win分区,可以考虑把win目录也mount到 /media/c ,/media/d然后是系统相关的。# mount -o bind /proc /target/proc# mount -o bind /sys /target/sys# mount --rbind /dev /target/dev然后chroot进入我们已经安装好的系统,就在target目录里面,(Now we do a chroot to the mount system.)
# chroot /target /bin/bash创建device.map给grub(Now create the file device.map, used by GRUB.)# echo "(hd0) /dev/mapper/pdc_XXXXXXXXX" > /boot/device.map
这里的pdc_XXXXXXXXXXXX 是raid0阵列的代号,后面不要加数字
# cp /boot/device.map /boot/grub/然后安装grub。# grub-setup /dev/mapper/pdc_XXXXXXXXXXXX
这里的pdc_XXXXXXXXXXXX 是raid0阵列的代号,后面不要加数字
# update-grub
grub会自动找到并且配置好ubuntu和win7启动选项,生成/boot/grub/grub.cfg文件。这样就大功告成了。
重启就可以。
Source Navigator NG 4.3在Ubuntu上的中文目录解决方法Linux top free命令学习笔记相关资讯 Ubuntu 11.04 Ubuntu教程
- Ubuntu教程 - 使用Ubuntu拷贝CD和 (12/18/2013 14:38:16)
- 让Ubuntu 12.10支持RAR和7Z文件解 (11/15/2012 18:51:50)
- Windows 7硬盘安装Ubuntu 12.10图 (11/03/2012 19:22:47)
| - 完美安装Ubuntu 12.10最新AMD显卡 (11/27/2012 08:17:47)
- Win 7硬盘安装Ubuntu 12.10 (11/05/2012 13:30:34)
- Ubuntu 11.04 已经停止技术支持 (10/29/2012 06:01:43)
|
本文评论 查看全部评论 (0)