Speed bootup [INACTIVE]

BrazilFW 2.xhelp discussions in English.

Speed bootup

Mensagempor colifato » Ter Jun 22, 2010 12:04 pm

To speed up the boot process, we will eliminate the wait of 15 seconds.
Ideally, you do when the system is fully installed and working perfectly.

DANGER!! Be careful to do it, could cause serious damage to the system!!

We connect to the server via Putty to BrazilFW and write these commands:

Código: Selecionar todos
cd /
mkdir /tmp/roottmp
mt
cp /mnt/root.tgz /tmp/roottmp/
cd /tmp/roottmp
tar xzf root.tgz
rm root.tgz


Without closing the Putty, WinSCP open a session to connect to BrazilFW and we went to the folder:

/tmp/roottmp/etc/rc.d/

Edit the file:

rc.sysinit

Find the line 35 which contains the following:

Código: Selecionar todos
BOOTDELAY=`echo "$CMDLINE" | grep -i "^bootdelay=" | sed s/bootdelay=//g`;[ -z "$BOOTDELAY" ] && BOOTDELAY=15


And change the 15 value you want (with 1 or 2 seconds is fine) for an example, I want to save 13 seconds, so I put value 2.

Código: Selecionar todos
BOOTDELAY=`echo "$CMDLINE" | grep -i "^bootdelay=" | sed s/bootdelay=//g`;[ -z "$BOOTDELAY" ] && BOOTDELAY=2


We save the file and close it.

We return to the screen in Putty and type the following commands:

Código: Selecionar todos
cd /tmp/roottmp
tar czf root.tgz *
chmod +x root.tgz
mv root.tgz /mnt/
cd /
rm -rf /tmp/roottmp
umt
reboot


And we finished.
Operadora!! Deme el numero del 911 !!!!!
Avatar do usuário
colifato
BFW Participative
 
Mensagens: 178
Registrado em: Seg Out 31, 2005 11:42 am
Localização: Chajari
BrazilFW Box: BrazilFW 2.31.10 SP1+
Squid - Load Balancing - Subredes - SquidCacheAux - DNS Cache

Voltar para BrazilFW 2.x - English Forum

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 7 visitantes