Skip to content

Scripts to get root & bootstrap Debian onto Linkstation RAID/non-RAID models

License

Notifications You must be signed in to change notification settings

JonesChi/OpenLinkstation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenLinkstation


NEWS

The DeviceTree (DTB) for Linkstation LS-WXL/LS-WSXL & LS-WVL/LS-VL used here is going to be merged into mainline Linux!

Latest status from ML: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/357283.html

Purpose

To get system updated on Linkstation series, it's better to replace the stock firmware with system seriously maintained, like Debian.


Howto

Step0, get SSH shell access. Run on your Linux PC:

0_get-ssh/get-ssh.sh <Linkstation IP> [Linkstation web login password]

Step1, debootstrap to data partition (/dev/sda6 for one-disk version or /dev/md2 for RAID version). You can set debian distro, hostname, password in "lib/config". Run on Linkstation box:

vi lib/config
1_debootstrap/build_rootfs_with_buffalo-kernel.sh
reboot

Step2, reboot into Debian system on data partition, then build the final rootfs on root partition. Please note the password for ssh login is just 'password', if you didn't change it in previous step. After login, run on Linkstation box:

mount /dev/<root dev> /mnt
linkstation/1_debootstrap/build_rootfs_with_buffalo-kernel.sh debian
reboot

After a few minutes on booting, you should be able to log into your Linkstation with Debian installed. Clean up the stuff we don't need any more:

cd /mnt
rm -rf bin boot dev dev etc home lib media mnt opt proc root sbin selinux srv sys tmp usr var run

Status

Confirmed to be working on the model/firmware below:

  • LS-VL 1.68 ~ 1.70 (Debian Wheezy-backport / Jessie kernel + own DTB)
  • LS-WXL 1.68 ~ 1.70 (Debian Wheezy-backport / Jessie kernel + own DTB)
  • LS-WSXL 1.68 ~ 1.70 (Debian Wheezy-backport / Jessie kernel + own DTB)
  • LS-WVL 1.68 ~ 1.70 (Debian Wheezy-backport / Jessie kernel + own DTB)
  • LS-420 1.80 ~ 1.81 (Debian Wheezy-backport / Buffalo kernel) (upgrade to Jessie is OK, but direct bootstrap to Jessie still has issue)

Credit

About

Scripts to get root & bootstrap Debian onto Linkstation RAID/non-RAID models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 96.4%
  • Python 3.6%