Search raisama.net:

Eduardo Habkost raisama.net

diary / 2006 / junho

Qua 07 Jun 2006
16h49min
permalink

Slides da palestra “O Linux está pronto para o IPv6?”

Publiquei os slides da palestra que dei na LinuxWorld.

E ontem o 6bone morreu. Viva a internet IPv6! :)

2 comentários
Ter 06 Jun 2006
0h46min
permalink

Running debootstrap in a non-Debian distro

Last week I wanted to install Debian on a chroot on my machine. Maybe there is an easier way to do this, but I will document what I did, just in case someone wants to do something similar.

Debootstrap
is the recommended tool to install another system, as long as you have a Debian
system available. I don’t have a Debian system available right now. However I’ve
noticed that the debootstrap package has only a few dependencies. So I will try to extract
the package manually and run debootstrap on my Mandriva Cooker system.

I’ve download the deboostrap package and extracted it using ‘ar’:

$ ls
debootstrap_0.2.45-0.2_i386.deb
$ mkdir debootstrap
$ cd debootstrap
$ ar x ../debootstrap_0.2.45-0.2_i386.deb
$ ls
control.tar.gz  data.tar.gz  debian-binary
$

I’ve extracted the data contents from the package:

$ tar -zxvf data.tar.gz

First try to run the binary:

$ ./usr/sbin/debootstrap
./usr/sbin/debootstrap: line 15: /usr/lib/debootstrap/functions: No such file or directory

Oops, it needs to be installed on /.

I don’t want the files to be lost inside the filesystem, so I just added a symlink to the files I’ve extracted:

$ sudo ln -s /home/ehabkost/system/soft/justdownloaded/debootstrap/usr/lib/debootstrap /usr/lib/debootstrap

Let’s test again:

$ ./usr/sbin/debootstrap
I: usage: [OPTION]...   [ [

Great! :D

Now, let’s run it:

$ ./usr/sbin/debootstrap sarge /tmp/sarge

And it worked. :)

Quick and simple.

1 comentário
0h33min
permalink

Manaus

A cidade é quente e abafada como da outra vez.

Mas dessa vez é mais confortável. O Hotel é bom, e tem infra-estrutura. Um Shopping junto ao hotel. Só preciso descobrir onde é o supermercado mais próximo.

E aqui posso continuar com a prática de ir a pé ao trabalho. 15 minutos de caminhada do Hotel. Muito bom. :)

Alguns itens relevantes:

– Esqueci a câmera fotográfica. Vou ter que quebrar o galho com a câmera do celular.
– Coma alguma coisa antes de embarcar no vôo São Paulo — Manaus. Não é muito agradável comer apenas um sanduíche pequeno de almoço.
– Preciso fazer compras. É caro ficar com fome à noite no quarto do hotel tendo apenas os ítens do frigobar e mais nada para comer ou beber fica meio caro.

2 comentários
Hosting service by Dreamhost