Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Nov 18, 2017 10:20 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 41 posts ]  Go to page Previous 1 2 3
Author Message
PostPosted: Fri Mar 23, 2012 8:08 pm 
Offline
Newbie

Joined: Wed Sep 10, 2008 4:26 pm
Posts: 18
Hello everybody,

based on this thread and those two articles in the wiki
http://buffalo.nas-central.org/wiki/Deb ... _on_LS-WXL
http://buffalo.nas-central.org/wiki/Deb ... _others%29
I succesfully installed Debian Squeeze on my LS-WVL.
Since I had bricked my LS several times, I created a simple config file based on the current configuration and some bash scripts from the wiki articles which allowed me a very easy re-installation of Squeeze from stock firmware. Those scripts saved me a lot of time because I didn't need to copy&paste the commands from the articles each time.
If anyone is interested in the scripts, I can post them here in the forum.

Regards,
sebi

_________________
LinkStation Live HS-DHGL v1 running Debian Wheezy 3.2.0-4 kernel
LinkStation Pro LS-GL v2 running Debian Wheezy 3.2.0-4 kernel
LinkStation Pro Duo LS-WVL running Debian Wheezy 3.3.4 kernel


Top
   
PostPosted: Sat Mar 24, 2012 7:46 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
Don't ask, just do it.
There is always someone, who will need exactly those scripts.

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Sat Mar 24, 2012 3:05 pm 
Offline
Newbie

Joined: Wed Sep 10, 2008 4:26 pm
Posts: 18
OK, here are the scripts: http://www.xup.in/dl,39857145/debian-squeeze.zip/
My starting point for Squeeze installation was open stock firmware 1.54 with RAID1 and default share folder. You may need to edit the config file if you have a different configuration. Please check carefully or your LS won't reboot as also stated in the wiki articles. You may also need some experience for this.

Basic steps are:
0. check configuration
1. execute prepare-rootfs.sh
2. execute temp-install.sh
3. reboot
4. execute final-install.sh
5. reboot
6. execute post-install.sh

See also README file.

Note that these scripts come with absolutely no warranty. However, they worked fine for me several times.
Please let me know about your success or if you have any difficulties.

Regards
sebi

Edit: changed download link

_________________
LinkStation Live HS-DHGL v1 running Debian Wheezy 3.2.0-4 kernel
LinkStation Pro LS-GL v2 running Debian Wheezy 3.2.0-4 kernel
LinkStation Pro Duo LS-WVL running Debian Wheezy 3.3.4 kernel


Top
   
PostPosted: Mon Jan 14, 2013 2:28 am 
Offline
Total Newbie

Joined: Mon Jan 14, 2013 2:10 am
Posts: 2
Thanks, sebi85, for the scripts. I can confirm that after spectacularly bricking my new LS-WVL that I was finally able to get Debian Sqeeze up and running using these scripts. In particular, the RAID-1 configuration (1/2 the reason I bought the thing) is working.

Things I wish I knew about the LS-WVL before I started this process:

1. This box doesn't support TFTP boot; don't waste your time.

2. If you brick it, externally repartitioning a drive and copying initrd.buffalo and uImage.buffalo (taken from a Windows firmware updater) onto the first (1 GB, ext3) partition will get it to boot into Emergency Mode, allowing you to use LS_Updater (e.g., downloaded from the Buffalo website) to repartition the drives (use "Debug mode" and select repartitiong separately) and reinstall the firmware (i.e., re-install the OS on the drive).

3. Emergency Mode appears as a solid blue power light and single solid red LED on the board inside (easily seen with the front removed). This was easily the prettiest red glow I had ever seen when I first saw it.

4. Even if the first drive is OK, if the second drive has unpalatable data, the thing won't boot.

5. The scripts had minor bugs:

a) The version of debootstrap in config.cfg is out of date and needed to be changed
b) prepare-rootfs.sh has a hard-coded name of the debootstrap .deb file that needed to be changed.
c) post-install.sh and config.cfg disappeared from /root when I rebooted a second time; I copied it again.


Top
   
PostPosted: Wed Feb 06, 2013 1:09 pm 
Offline
Regular Member

Joined: Fri Sep 28, 2007 8:49 am
Posts: 295
Hope I can get some Debian advice here.... I am considering a 3rd return to Linkstations!!! :-)

Q1) If I install Debian on a LS-WVL, will that allow me to run apps that might need some sort of GUI? For example I would like to run Growl, Google Drive, Gmail notifier, Plex (no transcode), and Wine for ARM (one app to run)

Q2) If Debian does have any sort of GUI then I would ask if there is any sort of remote desktop or VNC-style login available?

Thanks guys

_________________
Geeky blog at http://www.methanoid.blogspot.com :D


Top
   
PostPosted: Wed Feb 06, 2013 6:59 pm 
Offline
Newbie

Joined: Wed Dec 12, 2012 10:25 am
Posts: 72
stephen70edwards wrote:
Thanks, sebi85, for the scripts. I can confirm that after spectacularly bricking my new LS-WVL that I was finally able to get Debian Sqeeze up and running using these scripts. In particular, the RAID-1 configuration (1/2 the reason I bought the thing) is working.

Things I wish I knew about the LS-WVL before I started this process:

1. This box doesn't support TFTP boot; don't waste your time.


Not true. I have successfully restored my LS-WVL with TFTP several times!


Top
   
PostPosted: Fri Mar 08, 2013 1:44 am 
Offline
Newbie

Joined: Tue Jul 29, 2008 2:04 pm
Posts: 13
I used the scripts (with my own changes) to install Debian Squeeze, but I still have my root, boot and data partitions in degraded raid mode.
What needs to be done to revert to sda1, sda2 and sda6 without raid?

Herb


Top
   
PostPosted: Fri Jun 14, 2013 4:31 pm 
Offline
Newbie

Joined: Tue Jul 29, 2008 2:04 pm
Posts: 13
Never mind, I figured it out.

Question for sebi85. What did you do to get Wheezy on your LS-WVL (and others)?

Herb


Top
   
PostPosted: Wed Jun 26, 2013 7:33 pm 
Offline
Newbie

Joined: Wed Sep 10, 2008 4:26 pm
Posts: 18
Thanks for the comments.
herbr wrote:
Question for sebi85. What did you do to get Wheezy on your LS-WVL (and others)?
I simply performed a dist upgrade from Squeeze to Wheezy ;)

If I have some time, I will update these scripts to Debian Wheezy and fix the minor bugs:
stephen70edwards wrote:
a) The version of debootstrap in config.cfg is out of date and needed to be changed
I modified the comment in config.cfg to make clear that the version may have to be changed. That was the reason why I had stored the version in the config file.
Quote:
b) prepare-rootfs.sh has a hard-coded name of the debootstrap .deb file that needed to be changed.
I should have noticed that by myself.
Quote:
c) post-install.sh and config.cfg disappeared from /root when I rebooted a second time; I copied it again.
I think that was the desired behaviour to remove the files after the installation.

Regards
sebi

_________________
LinkStation Live HS-DHGL v1 running Debian Wheezy 3.2.0-4 kernel
LinkStation Pro LS-GL v2 running Debian Wheezy 3.2.0-4 kernel
LinkStation Pro Duo LS-WVL running Debian Wheezy 3.3.4 kernel


Top
   
PostPosted: Sun Jun 30, 2013 7:27 pm 
Offline
Newbie

Joined: Wed Sep 10, 2008 4:26 pm
Posts: 18
After struggling with device ids, the Debian Wheezy scripts are working now. I added a few comments on the conversion of the device ids from decimal to hexadecimal in the Readme. Apart from that only some minor changes were neccessary.
I started from scratch and ls_series-164-mod1a to a Debian Wheezy installation with the result
Code:
root@LS-WVLE81:~# uname -a
Linux LS-WVLE81 3.3.4-88f6281 #2 Mon Dec 10 17:31:41 JST 2012 armv5tel GNU/Linux
root@LS-WVLE81:~# cat /etc/debian_version
7.1

You can download the scripts at http://www.xup.in/dl,19440902/debian-wheezy.zip/. (Again without any warranty ;) )

Enjoy Debian Wheezy!
sebi85

_________________
LinkStation Live HS-DHGL v1 running Debian Wheezy 3.2.0-4 kernel
LinkStation Pro LS-GL v2 running Debian Wheezy 3.2.0-4 kernel
LinkStation Pro Duo LS-WVL running Debian Wheezy 3.3.4 kernel


Top
   
PostPosted: Tue Nov 12, 2013 9:27 pm 
Offline
Newbie

Joined: Tue Jul 29, 2008 2:04 pm
Posts: 13
Since you have one of the WVL's which have no Nnad, the commands to boot from the hard drive are already in place.
I have Nand and it would be a great help if you could post the environment variables in U-boot, please?

Herb


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 41 posts ]  Go to page Previous 1 2 3

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited