Difference between revisions of "LS Pro Debootstrap Howto"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(started debootstrap article)
Line 1: Line 1:
== Debootstrap Procedure for the LS Pro ==
== Debootstrap Procedure for the LS Pro ==

Revision as of 02:47, 27 August 2007

Debootstrap Procedure for the LS Pro

This method of installing debian on your LS Pro requires another linux computer on your network.


  1. On your linux workstation, install debootstrap.
  2. Run debootstrap --foreign --arch arm etch <Target> <Mirror>
 * <Target> represents the destination directory for the debootstrap. I'm assuming you picked /target.
 * <Mirror> must be a debian mirror that has etch arm packages. http://mirrors.kernel.org/debian works.
  1. Now edit /target/etc/fstab to contain the following:
 proc /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=20 0 0
tmpfs /tmp tmpfs mode=1777 0 0
/dev/sda5 swap swap defaults 0 0
/dev/sda1 /boot ext3 noatime,errors=remount-ro 0 1
/dev/sda6 /mnt/disk1 xfs noatime,nodiratime 0 0
  1. Edit /target/etc/network/interfaces and add:

/target/etc/network/interfaces. install

                     miconapl and micro_evtd. send a tarball of /target to LS Pro. on LS Pro in EM mode: unpack tarball to /mnt/disk1/deb. chroot /mnt/disk1/deb. /debootstrap/debootstrap --second-stage. format 
                     /dev/sda2. mount /dev/sda2 to /mnt/target. cp -a /mnt/disk1/deb/* /mnt/target. rm /boot/rootfs_*; date >/boot/rootfs_ok. reboot

Prepare the Linkstation

  1. First, you need to perform the initrd-only installation that comes with FreeLink_arm9-1.0rev2.zip with LSUpdater.exe.
  2. Now, boot the
  3. Chroot install openssh-server