30 may 2008

Editar menu.lst en Kubuntu [Orden de Arranque]

Respondiendo a una duda, que me plantean, sobre el menu.lst.
Link de la Duda.

Aunque no sé, lo que quieres hacer exactamente.... Pero si vas a editar el menu.lst, antes que nada mejor hacerle una copia de seguridad.

Ruta del menu.lst
/boot/grub/

Backup del menu.lst:
$> sudo cp menu.lst menu.lst.backup 

Mediante Console usando los comandos (el que más te guste).

#>vi menu.lst

#>edit menu.lst

#>nano menu.lst

Si no eres root:

$>sudo vi menu.lst

$>sudo edit menu.lst

$>sudo nano menu.lst

Nota: Para distinguir si somos root o usuarios se distinguen por el prompt, este símbolo # indica que eres root. Por el contrario $ eres usuario.

En entorno gráfico:
  • Ejecutar "kwrite". (Teniendo permisos o siendo root)
  • Para hacer el backup en entorno gráfico, copia y crea un nuevo archivo : P

Si por ejemplo quieres editar el orden de arranque, teniendo Kubuntu primero y segundo Windows XP.
Simplemente donde pone "default" al lado hay un número "0", con ese número indicas con quien quieres que arranque.

Si tienes por ejemplo:
  • Kubuntu (hd0,0)
  • Winxp (hd0,1)
Cambia el 0 por el 1 en default y listo ^^. (Mira más abajo).
[Resalto en default, porque lo anterior no hay que tocarlo].

Otro a tener en cuenta es el tiempo de espera:
timeout 10
Cambiandole este valor, podemos ampliar o reducir el tiempo que tarda en cargar uno de nuestros SO's.
Cogeré este ejemplo, para que sea más claro y donde está la linea de código:

Por defecto, antes de editarlo:
## 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 0

Después de la edición:

## 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 1
Cualquier duda me dices ^^ bueno, hasta donde pueda claro!.

Nota: no recuerdo si el nano funciona en kubuntu (que sería cuestión de instalarlo).

Si me preguntan porque quiero Kubuntu antes que Ubuntu, ; ) mmm, es igual que ubuntu mismos principios, mmm el entorno gráfico KDE, es más favorable, hay cosas que te permite este escritorio que en Gnome, no, entre otros...(nivel avanzado), ejemplo [lee comentarios y si encima Chema Alonso lo prefiere será por algo], vamos a ser sinceros! no nos compliquemos para eso esta Kubuntu ^^ es que tiene que ser más amigable al usuario, no complicarlo como en el Ubuntu.

Es mi opinión personal y para gustos colores, también lo recomienda Linus Torvalds, también Goyo Regalado (que de él me fio x D) .

Links:

2 comentarios:

JMGG dijo...

gracias nu
te debo una

Nu dijo...

You Welcome ^^
Un saludin!