I just bought this really nice linkstation mini. I already have a Linkstation LS2 and liked the idea having a quiet Debian server at home.
Well, now I am struggling.
Couple of days ago I stumbled upon http://buffalo.nas-central.org/forums/viewtopic.php?f=61&t=12026&st=0&sk=t&sd=a&start=30
where LaitrKeiows noted that he managed to follow the steps on http://buffalo.nas-central.org/index.php/LS_Pro_Debootstrap_Howto
to install lenny on the mini.
I realized that you can't really follow this howto because some information is missing and I was not able to find it.
What I did is this:
- Starting the mini
- Stopping services like in http://buffalo.nas-central.org/index.php/LS_Mini:_Install_Gentoo
- Because I was happy with the partitioning I just did:
mdadm -f /dev/md1 /dev/sdb2
mdadm -f /dev/md0 /dev/sdb1
mdadm -r /dev/md1 /dev/sdb2
mdadm -r /dev/md0 /dev/sdb1
mount -t ext3 /dev/sdb2 /mnt/debian
mount -t ext3 /dev/sdb1 /mnt/debian
- I unpacked my previously generated lenny stage 1 archive to /mnt/debian and started stage 2 via chroot and configured /etc/apt/sources.list, /etc/network/interfaces, /etc/fstab, installed some packages like joe, ssh, udev and configured them like in http://buffalo.nas-central.org/index.php/LS_Pro_Debootstrap_Howto
But then comes the tricky bit I am absoultely not sure about if it was right:
- I copied the contents of /boot to /mnt/debian/boot and unpacked http://buffalo.nas-central.org/download/Users/davy_gravy/kernelpackages/2.6.26-update_full_debian.tgz
to /mnt/debian and replaced the original uImage.buffalo with uImage-2.6.26
- Then I copied the files boot_options and initrd.buffalo from http://buffalo.nas-central.org/download/ALL_ARM9/ARMel%20Lenny/
- I 'touched' the files /mnt/debian/boot/linkstation_release, /mnt/debian/boot/hddrootmode and /mnt/debian/boot/rootfs_ok
After a minute I received pings from the mini but it just booted in EM letting me telnet into it. So the first boot failed.
I can't mount /dev/sdb1 or 2 (mount: /dev/sdb1 is not a valid block device) and left it alone now.
I would like to know what the right files in /boot are to boot the 2.6.26 kernel into lenny and if there is a way to do it without disassembling the unit.
Thanks in advance!