7 comentarios el “Crear un disco de inicio de Ubuntu persistente en USB

  1. Hola…

    Cuando hago eso, me aparece lo siguiente:

    Attempting Boot From USB Device

    SYSLINUX 3.82 2009-06-09 EBIOS Copyright (C) 1994-2009 H. Peter Anvin et al
    Unknown keyword in configuration file: gfxboot

    También probé con otras sugerencias para editar el mismo archivo que hay en la red, y me aparece lo mismo excepto la última línea (sólo hasta «Peter Anvin et al»).

    Alguna idea?

    Realmente lo necesito porque tengo un problema fatal con mi HD.

    Gracias!
    Ivo

  2. tambien lo he intentado iso del ubuntu 10.10 el cual gratamente ya traia el wubi y el usb creator,pero siguiendo estas recomnedaciones lo hice con el unebootin,pero despues de selleccionar el usb en la bios se queda pantalla negra,el cursor parpadeando y nada mas

  3. Ahora, recomiendo poner mejor el pendrive o memoria flash USB: con 2 particiones -> a) la primera para nuestros archivos o ficheros personales (canciones, fotos, vídeos, documentos, etc.); y b) la segunda para el sitema operativo (SO) y el fichero de persistencia casper-rw. De esta forma el lápiz de memoria sirve para 3 cosas: a) Usar Ubuntu en cualquier ordenador (en vivo o Live), b) Instalar Ubuntu en cualquier PC, c) Usar nuestros ficheros, tanto desde Ubuntu Live (del mismo pendrive, p.e.), Ubuntu instalado, otra distro de Linux, Windows, etc.

    Y al estar nuestros ficheros aparte del SO (y fichero de persistencia): a) nuestros ficheros personales son manejados por facilidad por cualquier sistema operativo (p.e. usando Ubuntu Live desde el mismo pendrive no hace falta ser root ni buscar en el sistema de archivos), b) los ficheros del SO están seguros (p.e. Windows XP sólo accede a la primera partición, donde están los ficheros personales y no puede tocar el Ubuntu Live, que está en la segunda partición; si todo estuviera en 1 sola partición, en cualquier SO, se podría acceder a todos los ficheros y p.e. al querer borrar un fichero personal podríamos borrar por accidente un archivo del SO).

    Aquí va un tutorial detalladísimo:

    I’ll do it with this example:

    32-bit computer (desktop -or laptop-, not netbook)
    USB flash drive of 4 GB
    Persistence option desired (casper-rw file will exist for that)
    Personal files will take up more than half of the memory or space

    1. Download the required ISO file: http://www.ubuntu.com/desktop/get-ubuntu/download (and choose and click) or ftp://swtsrv.informatik.uni-mannheim.de/pub/linux/distributions/ubuntu-release/lucid/ubuntu-10.04.1-desktop-i386.iso (or from other country ….)
    2. Plug the USB flash drive
    3. Copy the files you want to keep to another drive
    4. Hold Alt key and press F2 . Type gnome-terminal and press Enter
    5. Type sudo bash and press Enter. Enter your password
    6. Type ls /dev/disk/by-id/*usb* -l and press Enter . At the end of the first line there should be something like sdb or sdc or sdd … In my case sdb
    7. Type fdisk -l and press Enter . After /dev/sdb I see /dev/sdb1 (there is only 1 partition; no divisions in my USB flash drive)
    8. Type umount /dev/sdb1 and press Enter
    9. Type fdisk /dev/sdb and press Enter
    10. Type m and press Enter to see the options
    11. Type p and press Enter to see the partitions (in my case /dev/sdb1 )
    12. Type d and press Enter (fdisk selects the only partition I have)
    13. Type p and press Enter (now there is no partition so no /dev/sdb1 is shown)
    14. Type n and press Enter then p and Enter then 1 (number of partition) and Enter then Enter (to use the default beginning: 1) then 600 (something more than the half) and Enter
    15. Type p and press Enter. I see /dev/sdb1 with Id of 83 (Linux file system)
    16. We want change it to FAT32: Type l and press Enter . We see that c is our option (W95 FAT32 (LBA) file system)
    17. We change it: Type t and press Enter (it selects the only partition up to now). Type c and press Enter
    18. Type p and press Enter . We see Id of c (W95 FAT32 (LBA) file system)
    19. Type n and press Enter then p and Enter then 2 and Enter then Enter (to use the default: just after first partition) then Enter (to use the default: all the free space, to the end)
    20. Type p and press Enter . We see also /dev/sdb2 . With Id of 83
    21. Type t and press Enter then 2 and Enter then c and Enter
    22. Type p and press Enter . We see Id of c bor both
    23. Type w and press Enter. Changes are written on disk
    24. Type fdisk -l and press Enter . Now we see the 2 partitions.
    25. Now we format the first one: type mkfs.vfat /dev/sdb1 and press Enter
    26. Now we format the second one: type mkfs.vfat /dev/sdb2 and press Enter
    27. Close the terminal or console
    28. Hold Alt key and press F2 . Type gnome-control-center and press Enter
    29. Click on USB Startup Disk Creator (under Hardware)
    30. Click on the button named Other.. (up-right) and choose and open the downloaded ISO file
    31. Under Disk to use click on /dev/sdb2
    32. Down, select Stored in reserved extra space
    33. Move the How much button almost to the limit. In my case the limit is 876.0 MB but I put it in 851.0 (just in case I need to modify some file of booting, …)
    34. Click on the button Make Startup Disk
    35. When it finishes click on Exit

    FINISHED !!!

    Now if we open the terminal and we use fdisk -l we see that there is a * for Boot in /dev/sdb2 . So the second partition is bootable (where Ubuntu GNU/Linux, the operating system, is located)

    To see this working reboot the computer and press the key stated by the BIOS to go to the boot menu (F12, F11, …, then use the arrows to select the USB flash drive and then press Enter). If no boot menu, go to the BIOS main menu (with F2 or Del …), then to boot options ….

    The first time in the middle of the boot we have to choose the language and click on Try Ubuntu v 10.04.1 LTS

    If we click on Places menu and then on 2.4 GB Filesystem the first partition is mounted and the Nautilus File Browser opens there. We can copy, create, delete, edit, open … our personal files: songs, photos, videos, documents …

    ENJOY !!!

    =================================================
    =================================================

    Ahora, para que en cada arranque podamos elegir fácilmente la forma de carga del sistema operativo (incluyendo arranque fresco):

    Hay que editar el fichero syslinux.cfg, que se encuentra dentro de la carpeta syslinux del Live USB:

    Se borra todo su contenido y se pone este código:

    prompt 1
    timeout 50
    default 1
    say –
    say Introduce el numero de la opcion deseada
    say ————————————–
    say –
    label 1
    say 1 Prueba de Ubuntu sin instalacion
    kernel /casper/vmlinuz
    append noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash –
    label 2
    say 2 Prueba de Ubuntu fresco sin instalacion
    kernel /casper/vmlinuz
    append noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash –
    label 3
    say 3 Instalacion de Ubuntu
    kernel /casper/vmlinuz
    append noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd.lz quiet splash –
    label 4
    say 4 Comprobacion de disco
    kernel /casper/vmlinuz
    append noprompt boot=casper integrity-check initrd=/casper/initrd.lz quiet splash –
    label 5
    say 5 Test de memoria
    kernel /install/mt86plus
    label 6
    say 6 Arranque desde el disco duro
    localboot 0×80

    ¡Que aproveche!

    PD: Creo que el arranque fresco es más rápido. Es lógico, pues no se tienen que cargar configuraciones personales, etc. (están en el fichero casper-rw).

  4. ¡¡Más posibilidades!!: ¡¡podemos tener Ubuntu en la tarjeta (SD, xD, …) de nuestra cámara de fotos!! ¡¡Cierto!! Y compartiendo el sistema operativo con nuestras fotos (claro, ahora con menos sitio para ellas, pero con muchas más posibilidades, …). Así podemos matar 2 pájaros de un tiro o tener una solución si no tenemos pendrive o el que tenemos está lleno. Para arrancar Ubuntu desde la tarjeta de la cámara basta con insertarla en un lector (de esos que leen varios formatos, con varias ranuras, llamados multitarjeta) externo conectado por USB al PC. Si se pone la tarjeta en el lector interno del ordenador la cosa puede no funcionar (si a alguien le funciona que lo explique, por favor).

    ¡¡Más opciones aún!!: ¿que la BIOS de tu ordenador no permite arrancar desde un pendrive o memoria USB …? ¡¡Hay solución!!: Descarga http://download.plop.at/files/bootmngr/plpbt-5.0.11-2.zip , descomprime el fichero y graba un CD (es suficiente un Business card CD o los más fáciles de encontrar Mini CDs) a partir de la imagen (fichero) plpbt.iso (p.e. la que está en la carpeta raiz). Se mete el CD y el pendrive con Ubuntu en el ordenador, se reinicia o se enciende, y sale un menú donde se elige USB, con lo que el ordenador arranca desde el pendrive. Podría pasar que la BIOS estuviera configurada para mirar antes el disco duro que la unidad de CD o DVD; en este caso bastaría con cambiar el orden de arranque. Para acceder a la BIOS nada más encender o reiniciar el PC hay que pulsar la tecla que se indique: Del o Supr, F2, … Las más modernas tienen además un menú de arranque, al que se llega con F12 u F11, … Pero estas BIOS modernas sí suelen permitir arrancar desde USB. El Plop Boot Manager permite arrancar desde cualquier pendrive, tenga el sistema operativo en él que tenga.

  5. Notas sobre el arranque fresco:

    a) Para poder editar syslinux.cfg hay que hacerlo desde cualquier sistema operativo menos desde Ubuntu cargado desde el mismo pendrive, ya que en este último caso no se permite ni aunque se use sudo o gksu (para tener superprivilegios).

    b) Viene bien tener la opción de arranque fresco para cuando ponemos el pendrive en un ordenador diferente al nuestro, donde el hardware suele ser diferente. Además, aunque de forma persistente pudiéramos arrancar (creo que generalmente sí) luego se guardarían configuraciones del ordenador externo que podrían hacer que al volver a poner la memoria USB en nuestro ordenador algunas cosas no estuvieran como las habíamos dejado y nos gusta tenerlas.

Deja un comentario