先装win7, 再装ubuntu

来源:互联网 发布:公司 数据分析 编辑:程序博客网 时间:2024/04/28 07:35

The simple way to install grub/ grub2 from any linux live-CD or any other bootable medium.

Step 1: boot from linux live CD
Step 2: mount your hdd
Step 3: chroot in the mounted filesystem
Step 3: install grub
Step 4: reboot

 

 

if you want to add windows items into the grub menu, type:

update-grub

if update-grub failed, need to run :
mount -t sysfs /sys /mnt/sys

原创粉丝点击