Christoffer Kjølbæk I have a blog, therefore I am…

21Nov/090

Danske karakterer under Debian Lenny på en NSLU2

Jeg har haft gevaldige problemer med rsync på min NSLU2 kørende Debian Lenny, idet alle filer der indeholdt æ, ø eller å blive ødelagt. Jeg fandt ud af at det heller ikke var muligt at skrive æ, ø eller å i en terminal, hvilket blev løst ved først at installere locales-all:
sudo apt-get install locales-all

Hvorefter jeg ændrede /etc/default/locale til at indeholde LANG="da_DK.UTF-8".

Alt virker nu glimrende.

(Husk at logge af og på!)

13Dec/080

LVM, Debian and NSLU2

I have an external harddrive for my NSLU2, which holds one LVM VG with four logical volumes. To enable LVM on the NSLU2 just install lvm2 and dmsetup

apt-get install lvm2 dmsetup

LVM Volume Groups will be found automatically, and you just has to enable them in fstab. If the volume group is called nas and the logical volume is called backup add the below to /etc/fstab

/dev/nas/backup /backup ext3 errors=remount-ro 0 1

On next boot the this will be mounted, and you can mount them instantly by running

mount -a