I have been having lots of problems since I installed this up date,
and have reinstall lots of time for one problem to go but another
different one to start, In the end what I have done is this removed my internal
hard drive , remove my 2gb DOM and formatted it ,installed 3.0 again added the following to
/dev/hda5 /swap/cf swap defaults 0 0
/dev/hda5 /media/cf auto defaults 0 0
/dev/hdb1 /media/hdd auto defaults 0 0
to fstab and also done the following
# Crear swap file
dd if=/dev/zero of=/media/cf/swapfile bs=1024 count=102400
mkswap /media/cf/swapfile
#El primer comando crea un fichero (llamado swapfile) en el disco duro de 100 MB. El segundo lo inicializa.
#Para activar la swap (temporalmente, hasta el próximo reinicio) tecleamos:
swapon /media/cf/swapfile
# Para hacer estos cambios permanentes y que se active automaticamente valos a crear un scropt que se ejecutara al inicio
y activara la swap
# Nos posicionamos en el directorio que contiene todos los scripts referenciados en los distintos runlevels que se ejecutan al iniciar y apagar el deco
cd /etc/init.d
Creamos el script llamado activateswap.sh con el siguiente contenido:
#!/bin/sh
# Activar swap en el arranque
swapon /media/cf/swapfile
# Una vez creado lo guardamos
#A este script hay que darle permisos de ejecución (755)
chmod 775 /etc/init.d/activateswap.sh
# Vamos a ver en que runlevel estamos, telceamos runlevel
root@azboxhd:/etc# runlevel
N 3
# Vemos que estamos en el nivel 3 entonces accedemos al directorio que ejecuta scripts cuando entramos y salimos en el runlevel 3
root@azboxhd:~# cd /etc/rc3.d/
# y hacemos un enlace simbolico para que llame al script anteriormente creado
# muy importante la nomeclatura debe ver SXXlosquesea, donde XX es un numero entre 01 y 99, que indica laprioridad con la que le llamamos
ln -s ../init.d/activateswap.sh S20activateswap
# Si listamos el directorio veremos algo como
root@azboxhd:/etc/rc3.d# ls -l
lrwxrwxrwx 1 root root 16 Jan 1 2000 S02dbus-1 -> ../init.d/dbus-1
lrwxrwxrwx 1 root root 18 Jan 1 2000 S10dropbear -> ../init.d/dropbear
lrwxrwxrwx 1 root root 25 Apr 6 16:57 S20activateswap -> ../init.d/activateswap.sh
lrwxrwxrwx 1 root root 24 Jan 1 2000 S20busybox-udhcpc -> ../init.d/busybox-udhcpc
lrwxrwxrwx 1 root root 23 Jan 1 2000 S20inetd.busybox -> ../init.d/inetd.busybox
lrwxrwxrwx 1 root root 16 Jan 1 2000 S20syslog -> ../init.d/syslog
lrwxrwxrwx 1 root root 22 Jan 1 2000 S21avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 24 Jan 1 2000 S99cron -> /etc/init.d/busybox-cron
lrwxrwxrwx 1 root root 22 Jan 1 2000 S99rmnologin.sh -> ../init.d/rmnologin.sh
lrwxrwxrwx 1 root root 23 Jan 1 2000 S99stop-bootlogd -> ../init.d/stop-bootlogdmo
so far everything is working as it should ,just need to add the hard drive back later
and have reinstall lots of time for one problem to go but another
different one to start, In the end what I have done is this removed my internal
hard drive , remove my 2gb DOM and formatted it ,installed 3.0 again added the following to
/dev/hda5 /swap/cf swap defaults 0 0
/dev/hda5 /media/cf auto defaults 0 0
/dev/hdb1 /media/hdd auto defaults 0 0
to fstab and also done the following
# Crear swap file
dd if=/dev/zero of=/media/cf/swapfile bs=1024 count=102400
mkswap /media/cf/swapfile
#El primer comando crea un fichero (llamado swapfile) en el disco duro de 100 MB. El segundo lo inicializa.
#Para activar la swap (temporalmente, hasta el próximo reinicio) tecleamos:
swapon /media/cf/swapfile
# Para hacer estos cambios permanentes y que se active automaticamente valos a crear un scropt que se ejecutara al inicio
y activara la swap
# Nos posicionamos en el directorio que contiene todos los scripts referenciados en los distintos runlevels que se ejecutan al iniciar y apagar el deco
cd /etc/init.d
Creamos el script llamado activateswap.sh con el siguiente contenido:
#!/bin/sh
# Activar swap en el arranque
swapon /media/cf/swapfile
# Una vez creado lo guardamos
#A este script hay que darle permisos de ejecución (755)
chmod 775 /etc/init.d/activateswap.sh
# Vamos a ver en que runlevel estamos, telceamos runlevel
root@azboxhd:/etc# runlevel
N 3
# Vemos que estamos en el nivel 3 entonces accedemos al directorio que ejecuta scripts cuando entramos y salimos en el runlevel 3
root@azboxhd:~# cd /etc/rc3.d/
# y hacemos un enlace simbolico para que llame al script anteriormente creado
# muy importante la nomeclatura debe ver SXXlosquesea, donde XX es un numero entre 01 y 99, que indica laprioridad con la que le llamamos
ln -s ../init.d/activateswap.sh S20activateswap
# Si listamos el directorio veremos algo como
root@azboxhd:/etc/rc3.d# ls -l
lrwxrwxrwx 1 root root 16 Jan 1 2000 S02dbus-1 -> ../init.d/dbus-1
lrwxrwxrwx 1 root root 18 Jan 1 2000 S10dropbear -> ../init.d/dropbear
lrwxrwxrwx 1 root root 25 Apr 6 16:57 S20activateswap -> ../init.d/activateswap.sh
lrwxrwxrwx 1 root root 24 Jan 1 2000 S20busybox-udhcpc -> ../init.d/busybox-udhcpc
lrwxrwxrwx 1 root root 23 Jan 1 2000 S20inetd.busybox -> ../init.d/inetd.busybox
lrwxrwxrwx 1 root root 16 Jan 1 2000 S20syslog -> ../init.d/syslog
lrwxrwxrwx 1 root root 22 Jan 1 2000 S21avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 24 Jan 1 2000 S99cron -> /etc/init.d/busybox-cron
lrwxrwxrwx 1 root root 22 Jan 1 2000 S99rmnologin.sh -> ../init.d/rmnologin.sh
lrwxrwxrwx 1 root root 23 Jan 1 2000 S99stop-bootlogd -> ../init.d/stop-bootlogdmo
so far everything is working as it should ,just need to add the hard drive back later