- insert Live/Install CD
- find a terminal
- run: sudo su
- find your ubuntu out (e.g. /dev/hda5 or /dev/sda7[my case]): fdisk -l
- mkdir /mnt/root
- mount -t ext3 /dev/sda7 /mnt/root
- unmount it if it's not the one you want: umount /mnt/root
- mount -t ext3 /dev/sda7 /mnt/root
- install grub: grub-install --root-directory=/mnt/root /dev/sda
- restart your computer if you get "This is the contents of the device map /voot/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'. (sd0) /dev/sda),
安装Windows后重新启动Ubuntu
最新推荐文章于 2024-04-23 17:12:31 发布