Charlas técnicas. Compartir el conocimiento es genial.

Imposible encontrar otra entrada con mayor calidad por palabra.

Academic Earth
Google Tech Talks

Para mí estos 2 enlaces tienen un valor difícil de calcular.
Sí, me encanta aprender, saber. Soy muy curioso.

PD: De momento recomiendo “Greg Kroah Hartman on the Linux Kernel” y “The Clean Code Talks — Unit Testing”

Debian Eeepc 901: Mount SD card as part of root filesystem (like /var)

Back again? Time will answer.

Beginning September I couldn’t wait any longer and I decided to buy an eeepc 901. As one of those mobility and digital-ubiquity believers I am. Of course this acquisition will worth an article.
But what I want to explain right now is that today I’ve finally fixed one of those horrible errors that gets your frustration arise because you don’t find a good (google) search pattern or any valid solution.

My main problem

Previous acquisition phase there is always a documentation phase. There I found that Solid States Disk (SSD), in their firsts versions suffer from a write limit.
As I’m skeptical and ignorant in this hardware topic I “believe and panic” about it.

Solving the problem

Solving the write limit problem had a easy solution, a SD card where most often written/modified files will live. That means putting /var on that card-disk. That’s easy, just a simple move and link.
But what you don’t expect is that SD reader gets detected after mounting file systems which brokes boot sequence. If you have this kind of bad boot sequence, you have to re-init from command line after mounting by hand.
You should be having a message that looks like “Enter root pass for maintenance or enter crtl+enter to continue”

Remount and reinit by hand

root@miniyo:~$ runlevel (to know which runlevel you are)
N 1
root@miniyo:~$ mount /dev/YOUR SD CARD some-options
root@miniyo:~$ init 2 (as a common example)

Getting things donde, but properly

We have to regenerate our init kernel, so it loads usb devices as soon as posible.
Of course SD reader is connected through USB internally in eeepc

This is how my “pre kernel loading” modules file looks like now that everything works.

user@miniyo:~$ cat /etc/initramfs-tools/modules
# List of modules that you want to include in your initramfs.
# Syntax: module_name [args …]
# You must run update-initramfs(8) to effect this change.
# Examples:
# raid1
# sd_mod
enrgar@miniyo:~$ update-initrafms

References and links