Grub herinstalleren na windows installatie
Gepost Zondag 13 Januari 2008 @ 8:40 pm door Rene |
:0 | T:0 | ¶
Tja, een windows server 2008 release candidate geinstalleerd en dan kun je Linux niet meer starten. Ik moest vandaag voor de zoveelste keer weer opzoeken hoe grub ook alweer op de bootpartitie geinstalleerd kan worden.
PC opstarten van Ubuntu Livecd (of willekeurige andere distro en/of medium)
Mijn root partitie staat op /dev/sda6 en ik gebruik een aparte boot partitie (/dev/sda1).
Root partitie mounten onder /mnt, boot partitie mounten onder /mnt/boot, grub-install draaien en de foutmelding negeren.
Geen chroot nodig.
ubuntu@ubuntu:~$ sudo su -
root@ubuntu:~# mount /dev/sda6 /mnt/ root@ubuntu:~# mount /dev/sda1 /mnt/boot/ root@ubuntu:~# grub-install --root-directory=/mnt /dev/sda Due to a bug in xfs_freeze, the following command might produce a segmentation fault when /mnt/boot/grub is not in an XFS filesystem. This error is harmless and can be ignored. xfs_freeze: specified file ["/mnt/boot/grub"] is not on an XFS filesystem Installation finished. No error reported. This is the contents of the device map /mnt/boot/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'. (hd0) /dev/sda root@ubuntu:~#
:0 Reacties
Trackback link:
Zet Javascript aan om een Trackback URL te genereren

