- 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
最新推荐文章于 2025-01-03 20:42:36 发布
本文介绍如何在Ubuntu安装过程中将GRUB引导加载程序安装到特定的硬盘分区。包括使用终端打开sudo权限,查找Ubuntu所在分区,挂载分区,以及最终安装GRUB的过程。
1083

被折叠的 条评论
为什么被折叠?



