General


Linux tiene muchas formas de tomar el control incluso cuando se “bloquea”

Se puede remotamente reiniciar una maquina instalando el paquete sysrqd

sudo apt-get install sysrqd

sudo vi /etc/sysrqd.secret

(y ponemos dentro nuestra password)

sudo chmod 600 /etc/sysrqd.secret

sudo /etc/init.d/sysrqd

Y solo tenemos que hacer desde otra maquina:

telnet tu_ip 4094

sysrqd password: tupassword
sysrq> s
sysrq> u
sysrq> b

Con esa secuencia le pedimos a nuestra máquina que reinicie. :)
Otra alternativa que he encontrado en:

http://www.bocabyte.com/2007/09/09/reiniciar-linux-en-caso-de-bloqueo/

La secuencia ‘Sysrq’ sirve para poder realizar ciertas tareas elementales de mantenimiento de emergencia en un sistema Linux que ha dejado de responder. A menudo problemas en el hardware (chips de memoria defectuosos, bugs en los drivers, conflictos de IRQs, etc) hacen que el sistema se “congele”. En estas situaciones lo más importante es ser capaz de prevenir daños mayores, como una corrupción del sistema de archivos al reiniciar. La secuencia ‘SysRq’ implica la pulsación simultánea de 3 teclas: la tecla ALT izquierda, la tecla ‘SysRq’ key (también etiquetada como ‘PrtSc’, ‘ImprPantalla’ o ‘F13′) y una letra. ALT r , por ejemplo, pone el teclado en modo ‘raw’. Para apagar el sistema de forma segura, es importante presionar las letras en el orden correcto, sincronizando las unidades antes de desmontarlas, por ejemplo: Raw - tErm - kIll - Sync - Umount - reBoot : REISUB

Un saludo

Este dispositivo WiFi USB es reconocido por Ubuntu Feisty perfectamente, pero otra historia es echarlo a andar y mas con cifrado WPA. Os describo paso a paso como conseguirlo:

Instalación del driver

El Linksys WUSB54GC utiliza un chip rt73usb de Ralink. En un principio es detectado por Ubuntu Feisty, pero al menos a mí no me fue posible echarlo a andar, por lo que me puse a seguir los siguientes pasos. No descarto de que cometiera algún error intentando configurarlo con los drivers del sistema y que a tí te pueda funcionar con solo editar el archivo ‘interfaces’ como se describe en el otro apartado.

* Abre el terminal.
* Ve al directorio donde se te cargara el código fuente del driver:

cd /usr/src

* Descarga el archivo de su sitio.

sudo wget http://rt2×00.serialmonkey.com/rt73-cvs-daily.tar.gz -O /usr/src/rt73-cvs-daily.tar.gz

* Extrae el archivo.

sudo tar -xvzf rt73-cvs-daily.tar.gz

* Instala las dependencias necesarias.

sudo aptitude install build-essential linux-headers-`uname -r`

* compila el modulo, lo de yyyymmddhh cambia segun el directorio haz un ls para saberlo primero.

cd /usr/src/rt73-cvs-yyyymmddhh/Module
sudo make

* si te sale este error es que el archivo es mas grande de 1 mega.

!!! WARNING: Module file much too big (>1MB)
!!! Check your kernel settings or use ’strip’

* si asi es ejecuta lo de abajo para reducir su tamaño.

sudo strip -S rt73.ko

* Instala el modulo.

sudo make install

* Ejecuta estas lineas para quitar del nucleo estos modulos que pueden dar problemas con el nuevo driver.

sudo ifconfig wlan0 down
sudo modprobe -r rt73usb
sudo modprobe -r rt2570
sudo modprobe -r rt2500usb
sudo modprobe -r rt2×00lib

* Los pondremos en la lista negra para que no puedan cargarse al inicio.

gksu gedit /etc/modprobe.d/blacklist

* añade estas lineas al fichero de texto y salva:

# Blacklist rt73usb, as it is a non-functional beta module which conflicts with the working rt73 module.
blacklist rt73usb
# Blacklist rt2570, as it causes conflicts with rt73
blacklist rt2570
# Other modules that break rt73
blacklist rt2500usb
blacklist rt2×00lib

* Carga el nuevo modulo.

sudo modprobe -v rt73

Configuración del archivo interfaces

* Antes de nada te recomiendo eliminar network-manager de tu sistema, ya que puede tener conflictos con lo que configuremos ahora:

sudo aptitude purge network-manager

* Los ejemplos que voy a poner son solo para cifrado WPA (olvídate de wep o red abierta si no quieres que alguien se aproveche de tu conexión). Imagino que ya habrás configurado tu router WiFi y sabrás el identificador (ESSID) y tu contraseña. En el caso de la contraseña la tendremos que pasar de texto a hexadecimal del siguiente modo. Supongamos que la ID de tu red inhalámbrica es linksys y tu contraseña es ubuntulinux. Tendremos que poner:

wpa_passphrase linksys ubuntulinux

* creo que para este comando es necesario tener instalado el paquete wpasupplicant pero creo que ya venía por defecto, si no ya sabes, apt-get o Synaptic y listo. Al ejecutar el comando nos aparecerá lo siguiente:

network={
ssid=”linskys”
#psk=”ubuntulinux”
psk=56c943ebd2ae11111117f372d7d3c557b60390abcf2e5f4e6cd01588325f5e824
}

* De esto cogeremos la cadena de caracteres en hexadecimal. Con estos abrimos el archivo siguiente:

gksu gedit /etc/network/interfaces

* Si nos conectamos por DHCP nos quedará algo así:

auto wlan0
iface wlan0 inet dhcp
pre-up ifconfig wlan0 up
pre-up iwconfig wlan0 essid linksys
pre-up iwconfig wlan0 mode managed
pre-up iwpriv wlan0 set AuthMode=WPAPSK
pre-up iwpriv wlan0 set EncrypType=TKIP
pre-up iwpriv wlan0 set WPAPSK=56c943eb111111d92f7f372d7d3c557b60390abcf2e5f4e6cd01588325f5e824

* Y si asignamos las IP manualmente nos quedaría algo así:

auto wlan0
iface wlan0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
pre-up ifconfig wlan0 up
pre-up iwconfig wlan0 essid linksys
pre-up iwconfig wlan0 mode managed
pre-up iwpriv wlan0 set AuthMode=WPAPSK
pre-up iwpriv wlan0 set EncrypType=TKIP
pre-up iwpriv wlan0 set WPAPSK=56c943ebd111111d92f7f372d7d3c557b60390abcf2e5f4e6cd01588325f5e824

Fuente:  http://runenter.wordpress.com/2007/08/04/instalacion-de-dispositivo-wifi-linksys-wusb54gc-en-ubuntu-feisty/

Cuando el WordPress no visualiza bien las eñes y tildes se puede “arreglar” añadiendo una línea de código al archivo wp-includes/wp-db.php de nuestra instalación de WP:

Buscamos:

$this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword);

Y añadimos:

mysql_query(“SET NAMES ‘utf8′”); <— línea nueva

Para españolizar el WordPress hay que crearse una carpeta en wp-includes llamada Languages y poner alli el es-ES.mo

Si tu servidor (como el mio) no permite subir ficheros con extensiones extrañas (como mo) cambialo a otra extension que si permita y edita el fichero  ln10.php cambiado los .mo por la nueva extensión

Saludos

Ubuntu Dapper 6.06 Kernel module package for Ralink RT73 based USB WLAN adapters (e.g. LinkSys WUSB54GC)

Overview

Here you can find the following files for Ubuntu Dapper 6.06 LTS:

Compile

If you want to build a module package for your locally installed kernel follow these steps:

  • install the kernel headers for your kernel:
    sudo apt-get install linux-headers-$(uname -r)
  • install module-assistant:
    sudo apt-get install module-assistant
  • install the module source package:
    sudo dpkg -i /path/to/ralink-rt73-source_1.0.3.6_all.deb
  • run module-assistant to build the customized kernel module package:

ir al directorio /tmp

mkdir module

m-a -l $(uname -r) -t -u module build ralink-rt73

install both the module and the firmware package:

sudo dpkg -i /path/to/ralink-rt73_1.0.3.6_all.deb
sudo dpkg -i /tmp/module/ralink-rt73-$(uname -r)_1.0.3.6+_i386.deb
  • where KERNEL-PACKAGE-RELEASE is the actual Dapper kernel version name (eg 2.6.15-27.48). Just have a look into /tmp/module to get the name of the deb package you have just built.
  • Keep your deb file and clean up the temporary directory /tmp/module if no longer needed.

In case you intend to build the module for another than your installed kernel replace the $(uname -r) snippets above with the desired kernel version (e.g. 2.6.15-27-k7).

Usage

If you now plug your WUSB54GC in, you will get a rausb0 device which you may configure with iwconfig and ifconfig.
Please note that you dont need any alias entries in /etc/modprobe.conf with this package, automatic module loading is provided through the udev script /etc/udev/rules.d/50-ralink-rt73.rules contained in ralink-rt73_1.0.3.6_all.deb.

Details

If you are interested in rebuilding the module source package get

and extract it with

dpkg-source -x ralink-rt73_1.0.3.6.dsc

You can then examine its contents in the subdirectory ralink-rt73-1.0.3.6. It contains the upstream source, two patches (one adds the device ID of the LinkSys WUSB24GC, the other makes the Makefiles usable for m-a) and the Debian specific build stuff.

Rebuilding can be done via

debuild

in the ralink-rt73-1.0.3.6 directory, provided you have installed the debuild package and co (e.g. fakeroot).

This may be necessary if a new upstream version of the driver becomes available, the only thing to do is then to download it into the upstream directory and change the variable UPSTREAM in debian/rules to the new upstream package name.

Source

This is a Debian style repackaging of the OpenSource RT73 driver available at
http://www.ralinktech.com/drivers/Linux/RT73_Linux_STA_Drv1.0.3.6.tar.gz

The Debian specific stuff follows ideas stolen from the rt2500 Debian package by Aurelien Jarno (aurel32 at debian.org)

Other Modifications

If you want to use WPA for your RT73 based card you need a modified wpasupplicant package which includes the ralink driver provided in the RT73_Linux_STA_Drv1.0.3.6.tar.gz package. You can get it from our local repository at http://ubuntu.uni-klu.ac.at in compiled or in source form.
The difference between the Dapper wpasupplicant (version 0.5.5) and the modified one consists in adding the following patch: debian/patches/22_add_ralink.dpatch

Furtermore, if you want to use NetworkManager, you need to patch it to use the above mentioned ralink wpa_driver, modified network-manager packages are also available at http://ubuntu.uni-klu.ac.at.
Again it is only a small diff to apply to the network-manager package (version 0.6.2): Add debian/patches/99-ralink.patch

References

Esto no pretende ser una version traducida, sino una adaptación con comentarios agregados de acuerdo a las modificaciones que necesité hacer para que funcionara en mi ubuntu. Por otro lado, esto es solamente para poner a trabajar una Máquina Virtual en un escritorio local, por lo que omito la parte de administración remota. El Fin de esto es simplemente instalar Windows XP en nuestro ubuntu. Si deseas ejecutar tareas un poco mas avanzadas, sería buena idea seguir el tutorial original hasta la segunda parte, de administración remota.

Ok, comencemos entonces. Primero instalaremos algunos paquetes necesarios, dependiendo de los paquetes que tengamos y los que no, esto puede tardar cierto tiempo. para esto abrimos una consola y ejecutamos:

sudo apt-get install linux-headers-`uname -r` build-essential xinetd

(El paso anterior fue indispensable para continuar en mi caso, aunque no se incluía oficialmente en el how-to; y es básicamente instalar las fuentes del kernel que estoy usando, mas herramientas de compilación)

sudo apt-get install linux-kernel-headers libx11-6 libx11-dev libxtst6 xlibs-dev xinetd wget

sudo apt-get install gcc binutils-doc cpp-doc gcc-4.0-locales make manpages-dev autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.0-doc libc6-dev-amd64 lib64gcc1

En cuanto se instalen podremos continuar con el siguiente paso, que es crear una carpeta para nuestras máquinas Virtuales:

sudo mkdir /var/vm

Ahora debemos obtener VMWare Server, que es gratuito (almenos de momento). Para eso vamos a la página: http://www.vmware.com/download/server/ donde debemos registrarnos (gratuitamente) para obtener un serial (que será necesario durante la instalación).

a continuación se nos presenta un vínculo para descargar VMWare, sin embargo al ser un archivo de 100MB, es buena idea usar wget. la forma sencilla es dar click derecho en el vínculo y seleccionar “copiar dirección del enlace” para despues pegarlo en la consola, precedido de wget; en mi caso y para la versión que estaba disponible al momento de la descarga, el comando era:

Es importante copiar nuevamente la riección en lugar de usar el comando anterior exactamente como está, porque asi nos aseguramos de tener la versión mas reciente.

Dependiendo de tu conexión a internet esto puede dartar varias docenas de minutos o unas horas, asi que hay que tomarselo con calma.

Una vez descargado, debemos descomprimirlo, en mi caso el comando usado fué:

tar xvfz VMware-server-1.0.0-28343.tar.gz

De nueva cuenta, si la versión que descargaste no concuerda, modificala para que se ajuste a tu caso. la forma sencilla de hacerlo es escribir hasta server y despues presionar la tecla tab para autocompletar.

Despues de que se hayan descomprimido los chorrocientos archivos contenidos en el tar, debemos cambiarnos al interior de la carpeta recien desempaquetada:

cd vmware-server-distrib

y ahora, para instalar el programa, ejecutamos el script de instalación… pero como super usuario (yo lo hice con sudo sin mayor problema; aunque algunos dicen debe ser como root)

sudo ./vmware-install.pl

esto inicia el script de instalación, que nos hará una serie de preguntas a las que debemos responder. Aqui copiaré lo que indica el how-to original, ya que es muy acertado:

Creating a new installer database using the tar3 format.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin] <– /usr/bin

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc] <– /etc

What is the directory that contains the init scripts?
[/etc/init.d] <– /etc/init.d

In which directory do you want to install the daemon files?
[/usr/sbin] <– /usr/sbin

In which directory do you want to install the library files?
[/usr/lib/vmware] <– /usr/lib/vmware

The path “/usr/lib/vmware” does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want? [yes] <– yes

In which directory do you want to install the manual files?
[/usr/share/man] <– /usr/share/man

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware] <– /usr/share/doc/vmware

The path “/usr/share/doc/vmware” does not exist currently. This program is going
to create it, including needed parent directories. Is this what you want?
[yes] <– yes

The installation of VMware Server 1.0.0 build-28343 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:

Before running VMware Server for the first time, you need to configure it by
invoking the following command:

Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done

You must read and accept the End User License Agreement to continue.
Press enter to display it.


….. snip [LICENCE TEXT] ……

Do you accept? (yes/no) <– yes
Thank you.

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons] <– /usr/share/icons

The path “/usr/share/icons” does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want? [yes] <– yes

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications] <– /usr/share/applications

The path “/usr/share/applications” does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] <– yes

In which directory do you want to install the application’s icon?
[/usr/share/pixmaps] <– /usr/share/pixmaps

(En la siguiente sección, la instalación no encontró un modulo apropiado para mi, asi que lo compiló. en realidad solo fue necesario:

1) indicar la ruta al código fuente del kernel, en mi caso: /usr/src/linux-headers-2.6.15-26-386/include ; hay que notar que esto puede variar considerablemente con las diversas actualizaciones, asi que será necesario verificarlo antes de indicar cualquier cosa.

2) establecer el compilador a usar (acepté los valores por omisión y funcionaron sin mayor problema).

Despues de eso, no fue necesario proporcionar mas información a este respecto, aunque fue necesario compilar algunas otras cosas en el proces, pero esto ya se realizó de manera automática)

Trying to find a suitable vmmon module for your running kernel.

The module bld-2.6.15-23-i386server-Ubuntu6.06 loads perfectly in the running
kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes] <– yes

Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes] <– yes

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help) <– yes
Probing for an unused private subnet (this can take some time)…

The subnet 192.168.246.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 192.168.246.0.

Do you wish to configure another NAT network? (yes/no) [no] <– no

Do you want to be able to use host-only networking in your virtual machines?
[yes] <– yes

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] <– yes

Probing for an unused private subnet (this can take some time)…

The subnet 172.16.37.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 172.16.37.0.

Do you wish to configure another host-only network? (yes/no) [no] <– no

Trying to find a suitable vmnet module for your running kernel.

(aqui es donde fue necesario compilar el otro módulo, pero por omisión tomólos valores proporcionados en el comentario anterior. En caso de que no fuera asi, solo es necesario repetir las respuestas)

The module bld-2.6.15-23-i386server-Ubuntu6.06 loads perfectly in the running
kernel.

Please specify a port for remote console connections to use [902] <– 902

Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
Configuring the VMware VmPerl Scripting API.

Building the VMware VmPerl Scripting API.

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines] <– /var/vm

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or ‘Enter’ to cancel: <– Tu Serial de VMware Server

Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done

——-

The configuration of VMware Server 1.0.0 build-28343 for Linux for this running
kernel completed successfully.

Felicidades, ya tienes VMWare instalado en tu ubuntu. Ahora, para accesarlo, está disponible en Aplicaciones / herramientas del sistema / VMWare server console.

Ahora solo nos falta instalar Windows; pero como este post se ha hecho enorme, lo haremos despues.

Para Edgy: Hay que desinstalar el paquete libdbus:

sudo apt-get remove libdbus-1-2


Visto en: Fred.cpp y sus cosas

Actualizacion: En feisty hay que bajarse un parche antes de configurar el vmware

http://ftp.cvut.cz/vmware/vmware-any-any-update109.tar.gz

Como activar la posibilidad de abrir el navegador donde lo dejamos la última vez, con las pestañas en su sitio. Hasta antes de esta versión y sus betas, si no me equivoco, la única posibilidad era usar la extensión Session Saver. Ahora, esta funcionalidad va de serie, pero no activada por defecto.

Para activarla, debemos ir al menú Herramientas—> Opciones—> Principal. Una vez allí, seleccionamos la opción Mostrar mis ventanas y pestañas de la última sesión donde pone Cuando se Inicia Firefox, tal y como puedes ver en la imagen:

snipshot_5x0deegm3.png

pestañas.gif

Cuando una cosa que estás usando mucho tiempo te la cambian, el resultado puede ser traumático. Si además tu trabajo depende de ello y la productividad se ve mermada de forma reumática, hay un problema. Lo lógico, si no se puede hacer nada más, es fastidiarse, aceptar los cambios y tratar de acostumbrarse.

En Firefox, el botón del final que nos cerraba las pestañas, se ha cambiado en la nueva versión por un botón en cada pestaña. Esto a algunos no les gusta nada, por los motivos que sean. Pero no hay problema, en este paso hay solución y sencilla.

Abrimos una pestaña en Firefox, tecleamos en la barra de direcciones about:config, buscamos la línea donde pone browser.tabs.closeButtons, hacemos doble clic o botón derecho-modificar, y cambiamos el valor 1 por el 3. Tras esto, ya tenemos el navegador con un solo botón para cerrar las pestañas. Y recuerda que siempre podemos volver al otro valor con la misma simplicidad.

pestañas-captura.gif

Vía | Microsiervos.

INSTRUCCIONES

Lo que necesitamos obligatoriamente es tener acceso a un Antivirus NOD32 instalado y recientemente actualizado via Internet, ya que usaremos los archivos de definicion de virus de esa actualización.

Para actualizar otros Antivirus NOD32 en ordenadores que no tienen conexion a Internet, procederemos así:

1. En el equipo que contiene el Antivirus NOD32 actualizado recientemente, debemos ir a esta ruta:

C : \Archivos de programa\Eset

o ala ruta donde decidimos instalar el antivirus NOD32.

2. Una vez en ese directorio, copiaremos los siguientes archivos:

nod32.000
nod32.002
nod32.003
nod32.004
nod32.005
nod32.006

3. Los archivos anteriormente copiados, los podremos pegar en una nueva carpeta llamada “C : \NOD32_UPD” o como lo desees, luego copias esa carpeta a un CD-R, memoria USB, lo envias por e-mail, o como desees transportar esos archivos a el ordenador destino.
4. Cuando estes listo, puedes copiar esos archivos en el directorio:

C : \Archivos de programa\Eset (los reemplazas por los que tiene)

del ordenador que tenga el NOD32 instalado y que no disponga de conexion a Internet, puedes hacer esto en tantos ordenadores como desees.

Nota: Este procedimiento solo actualizará la base de la lista de virus, no actualiza el motor del antivirus. (Muy raras veces se actualiza este motor).

de ahi de reemplazar los archivos antiguos por los nuevos listo reinicar el PC y todo bien ya tienes tu NOD32 actualizado saludos…

Thru painful experience and sleepless nights, I finally figure out how to install Ubuntu or any kind of Lux distro to an external USB drive.
The key idea is to modify the mini ramdisk to start USB support module during the boot sequence.

Here it is:

1) Install from CD
2) After installation, leave CD in drive and reboot with the parameter rescue
3) Pick your language and country
4) Wait for hardware detection to complete(was quite long on my system, seemed stuck for a while)
5) hostname: Ubuntu
6) Device to mount as root file system: /dev/discs/disc1/part1 (this may be different on your system. I have a boot partition in part1)
7) My system appears stuck here with a blue screen saying “Ubuntu Installer rescue mode”
my system was not stuck but I still needed to type Ctrl-AltF2

<!– D(["mb","\r\n\r\nFrom here it is slightly different for mkinitramfs (Breezy) as opposed to mkinitrd (Hoary):
\r\n\r\nA. edit /etc/mkinitramfs/modules to add the following:
\r\n\r\nehci-hcd
\r\n\r\nusb-storage
\r\n\r\nscsi_mod
\r\n\r\nsd_mod
\r\n\r\n
\r\n\r\n(nano didn\'t seem to come with Breezy, so use vim)
\r\n\r\n
",1] ); D(["mb","B. make the new image file:
",1] ); D(["mb","\r\n\r\nmkinitramfs -o /boot/initrd_usb.img /lib/modules/",1] ); D(["mb","
\r\n\r\n
\r\n\r\nso for me that was
",1] ); D(["mb","\r\n\r\nmkinitramfs -o /boot/initrd_usb.img /lib/modules/2.6.12-9-386",1] ); D(["mb","
\r\n\r\n
\r\n\r\nYou will likely need to edit your grub.conf file.
\r\n\r\n
",1] ); D(["mb","\r\n\r\ntitle Ubuntu Breezy (2.6.12-9-386) USB
\r\n\r\n root (hd1,6)
",1] ); D(["mb","\r\n\r\n kernel /vmlinuz-2.6.12-9-386 root\u003d/dev/sda1 ro quiet splash
\r\n\r\n initrd /initrd_usb.img
\r\n\r\n savedefault

Restart and enjoy the fruit
\r\n\r\n",0] ); D(["ce"]); //–> From here it is slightly different for mkinitramfs (Breezy) as opposed to mkinitrd (Hoary):
A. edit /etc/mkinitramfs/modules to add the following:
ehci-hcd
usb-storage
scsi_mod
sd_mod

(nano didn’t seem to come with Breezy, so use vim)

B. make the new image file:
mkinitramfs -o /boot/initrd_usb.img /lib/modules/

so for me that was
mkinitramfs -o /boot/initrd_usb.img /lib/modules/2.6.12-9-386

You will likely need to edit your grub.conf file.

title Ubuntu Breezy (2.6.12-9-386) USB
root (hd1,6)
kernel /vmlinuz-2.6.12-9-386 root=/dev/sda1 ro quiet splash
initrd /initrd_usb.img
savedefault

Restart and enjoy the fruit

I need to add some more info:
When you can’t seem to boot th external USB because of the order of your USB drive is different from machine to machine, follow this step:
I installed linux on my laptop with the root HDD of GRUB set to hd1. This may not be the case if you switch to another machine. It could be hd0 or hd2 for example.
So when you get the error message from GRUB saying that it cannot find the boot sector, “Do not panic”.
All you need to do is to press the “E” key to enter editor mode in GRUB and modify the “root” parameter from (hd1,0) to something like (hdx,0) where “x” is the actuall HDD contaning the boot partition.
I hope it helps solving you all’s problems with different hardware structure.

PD: Ya ni traduzco, que vaaaago soy :D

Si estás cansado o cansada de que cuando intentas entrar una página y te da error, te aparezca la misma página que te avisa de que es imposible entrar por diversas razones pero no te da otras herramientas para volverlo a intentar o verlo desde la caché de algún servidor. Pues esta es la función de Errorzilla, una extensión para Mozilla Firefox que nos elimina esa página molesta por otra que nos añade herramientas como recargar de nuevo la dirección que hemos escrito, verla desde la caché de Google, desde web archive y unos botones que nos permitirán hacer ping, trace y whois al dominio en cuestión.

Por lo menos es una herramienta útil que nos evita ver esa odiada página que nos indica que ese sitio no está disponible por otra donde, además de diferente, nos da opciones. En la web del autor tambien nos indica como hacer el cambio de la página de error de forma manual.

Vía | Google Operating System Enlace |

Sitio oficial de Errorzilla

Next Page »