Remover Ubuntu temporalmente.
Ayer llego un amigo mio. Me preguntó que si como se le hacía para borrar Ubuntu y dejar únicamente Windows en una laptop.
Yo le instalé Ubuntu en su equipo y fue muy feliz. Pero como el equipo es de la compañía, lo tiene que devolver.
Me quede pensando. Si reinstalas Windows, truenas el grub. Pero no iba a meterme en problemas de reinstalar. Así que me puse a jugar con el menu.lst, que se encuentra en /boot/grub/ de Ubuntu.
Le cambié la opción de default. Como tengo instalados dos kernels, con sus dos modos de recuperación habilitados, cambié la opción del menú:
Con esto, siempre va a estar seleccionada la opción de Windows. Después le cambié el tiempo de espera de selección de opción:
Así, no hay tiempo de espera. Por ultimo, oculte el menú del grub:
Y con eso, siempre va a entrar a Windows. Listo. Tan fácil y tan sencillo.
Así no pierdo la instalación y mi usuario se queda contento. Para cuando le devuelvan el equipo, edito el archivo y le cambio las opciones para que me deje entrar. Simple.
Ahí esta, por si alguien mas le sirve.
Yo le instalé Ubuntu en su equipo y fue muy feliz. Pero como el equipo es de la compañía, lo tiene que devolver.
Me quede pensando. Si reinstalas Windows, truenas el grub. Pero no iba a meterme en problemas de reinstalar. Así que me puse a jugar con el menu.lst, que se encuentra en /boot/grub/ de Ubuntu.
Le cambié la opción de default. Como tengo instalados dos kernels, con sus dos modos de recuperación habilitados, cambié la opción del menú:
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 6
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 6
Con esto, siempre va a estar seleccionada la opción de Windows. Después le cambié el tiempo de espera de selección de opción:
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 0
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 0
Así, no hay tiempo de espera. Por ultimo, oculte el menú del grub:
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
Y con eso, siempre va a entrar a Windows. Listo. Tan fácil y tan sencillo.
Así no pierdo la instalación y mi usuario se queda contento. Para cuando le devuelvan el equipo, edito el archivo y le cambio las opciones para que me deje entrar. Simple.
Ahí esta, por si alguien mas le sirve.
#2 Re: Remover Ubuntu temporalmente.
Xiam, pero el proceso de recuperacion del GRUB es mas engorroso que conectar el disco duro a otra maquina y editar el archivo.
O al menos, yo pienso que es mas sencillo.
[ Responder (0) ]
Dejar un comentario
Fuentes XML de comentario: RSS | Atom
Busqueda

Búsqueda personalizada

esta obra está bajo una licencia de Creative Commons.
Estadísticas de visitantes









#1 Re: Remover Ubuntu temporalmente.
Windows tiene una opción para sobreescribir cualquier cosa por su master boot record. Sería cosa de buscar por Windows MBR.