Posts

Showing posts with the label GRUB

Repair GRUB when installing Windows XP after installing Ubuntu

Spanish version / Versión en Español When we have more than one Operating System in the same machine, it is usual to select which one to boot on startup using GRUB. The problem is that when we install Windows XP, something more frequent than desirable, it wipes out GRUB. It's easy to fix that, see here: Fix GRUB after Windows Install Needless to say, all credit goes to Scott Calonico and the makers of SuperGRUB. But there's a catch! Since version 9.10, Ubuntu uses Grub2, which is quite different from its ancestor. The guys from SuperGRUB claim to have a SuperGRUB version for Grub2, but according to them, it doesn't always work. If that is the case or whe don't even want to bother, we can boot from an Ubuntu Live CD or USB, fire up a terminal and type: sudo update-grub sudo fdisk -l sudo grub-install /dev/sdx In the last line, you should replace the "x" in "sdx" by the letter corresponding to the hard drive where we want to rein...

Reparar GRUB al instalar Windows después de Ubuntu

Versión en inglés / English version Cuando tenemos varios sistemas operativos en una misma máquina, típicamente seleccionamos cuál cargar al arrancar usando GRUB. El tema es que instalar Windows, cosa muy frecuente, se lleva puesto el GRUB. Rescatarlo es fácil, pero siempre tengo que buscarlo de nuevo así que voy a poner esta guía acá: Fix GRUB after Windows Install De más está decirlo, pero todo el crédito es para Scott Calonico y los creadores de SuperGRUB ¡Ojo! Desde su versión 9.10, Ubuntu usa Grub2, que es bastante diferente a su antecesor. En todo caso, SuperGRUBDisk tiene una versión para GRUB2, pero según ellos no funciona del todo bien. En ese caso, pelamos el Live CD de Ubuntu, arrancamos desde él, abrimos una terminal y hacemos: sudo update-grub sudo fdisk -l sudo grub-install /dev/sdx Donde reemplazamos la "x" de "sdx" por la letra correspondiente al disco duro en cuyo MBR queremos reinstalar GRUB (para eso usamos el comando fdisk,...