Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Aug 17, 2018 3:53 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sun Feb 02, 2014 8:21 pm 
Offline
Newbie
User avatar

Joined: Sat Feb 01, 2014 4:10 pm
Posts: 6
Heyhoo!

which is the easiest way to do reach the installation-script in debian it without bricking my device?

Is it necessary to open/root or install another firmware/open-stock/foonas etc. first?


My box ist a old linkstation (LS-320GL, V.1, FW 1.15)

thanks for your help!


Top
   
PostPosted: Mon Feb 03, 2014 6:35 pm 
Offline
Newbie
User avatar

Joined: Sat Feb 01, 2014 4:10 pm
Posts: 6
i read so much now..

is it true that i need a serial connection (hardware-hack) to be able to install an alternative OS
?

:shock: :? :o


Top
   
PostPosted: Tue Feb 04, 2014 8:57 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
Without access to the command line of the box as user
"root", you will not be able to do anything regarding the
OS.
To get there, you need to "open" the box or to flash a
patched firmware.
If you break anything during installation of a different OS,
you will need serial connection or you take the risk to get
a "brick" (which is less likely, if you do not change the boot
loader u-boot).

_________________
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: Wed Feb 05, 2014 1:28 pm 
Offline
Newbie
User avatar

Joined: Sat Feb 01, 2014 4:10 pm
Posts: 6
thank you very much for your reply

kenatonline wrote:
Without access to the command line of the box as user
"root", you will not be able to do anything regarding the OS.
To get there, you need to "open" the box or to flash a patched firmware.

So where is my starting Point?

I got out the old HD already, there is a /boot partition and another /root as well a data partition. It's my "back up"!
I just wanted to use a new disk for the "new" system/OS... so my ultimate fallback is to put the old hd (old os) in again...

I don't want to change the boot-loader (u-boot) which is located in the flash(?) .. unless it's necessary (is it?)....

My goal is a clean Debian 7 Installation - what is the fastest (most straight forrward) way?

There is no way to replace the "old" system files with the "new" debian ones? Does the installer start then or why not? Is the system bootable or do I need to change u-boot?

    config-debian
    initrd.buffalo
    uImage.buffalo

Source: http://ftp.nl.debian.org/debian/dists/s ... alo/lspro/

And I found this one: http://web.archive.org/web/201012220225 ... uroboxpro/

it's for the kurobox... but it has the same arch than the lspro, right? Could I use the guides on this site for my LS-GL?^^

kenatonline wrote:
If you break anything during installation of a different OS,
you will need serial connection or you take the risk to get
a "brick" (which is less likely, if you do not change the boot
loader u-boot).


In case I brick my device it should still be possible to at a hardware-hack (serial-port) and get it back alive - isn't it?
But... actually this is why I ask so much... I don't want to brick, I want debian!

thanks for your help so far!

stay tuned!


Top
   
PostPosted: Wed Feb 05, 2014 3:01 pm 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
I don't know a step-by-step guide for the old Orion based
Linkstations for a current Debian.
But there should be a bootstrap loader for the Orion LS
boxes in the Debian repository.
Maybe you can adapt a guide for the more recent LS boxes?
I never did a Debian installation on a LS before myself, so I
am no help for your demands.

_________________
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: Fri Jul 11, 2014 10:35 pm 
Offline
Newbie

Joined: Fri Jul 11, 2014 9:34 pm
Posts: 5
It's super straight forward to install debian 7 'Wheezy' and you don't need a serial connection at all!

If somebody needs a little guide just drop a line here and I will do my best ;)

have a nice day!


Top
   
PostPosted: Tue Sep 09, 2014 5:09 am 
Offline
Newbie

Joined: Sun Jul 29, 2007 8:53 pm
Posts: 74
Location: Victoria, BC, Canada
Hey,

It's pretty easy to do install Debian. You don't need a serial cable, network access is fine.

You can use acp_commander to get root access to the box, and download and run the config-debian script you downloaded. It will tell you what the next steps you have to take are.

Or you can netboot over TFTP. Booting with the hard drive unplugged will make it do TFTP every time. This way you can supply the installer image directly. You should still run the config-debian script first though as it will tell you if you have to configure the bootloader at all. (foonas-em is a nice recovery environment for doing this, and can be TFTP booted.)

The Debian installation is pretty well documented here: http://buffalo.nas-central.org/wiki/Ins ... n_Pro/Live

And for more tips about TFTP or recovering from a mistake: http://buffalo.nas-central.org/wiki/Rev ... _Procedure

Good luck!

_________________
Saving the world, one kilobyte at a time.


Top
   
PostPosted: Wed Oct 01, 2014 4:45 pm 
Offline
Total Newbie

Joined: Tue Nov 13, 2007 11:44 am
Posts: 2
Hi,

Over the last two days I have had a couple of goes at installing Wheezy on a LS_500GL, each time I have not been able to boot the system at the end following on from a reboot.

I started with a clean HDD and used tftpd to load on the initrd.buffalo and uImage.buffalo from http.us.debian.org/debian/dists/wheezy/main/installer-armel/current/images/orion5x/network-console/buffalo/lspro then just followed the install instructions. Just before making the system bootable I did

mount -t proc none / target / proc
mount -o bind / dev / target / dev
chroot / target / bin / bash
apt-get install uboot-envtools uboot-mkimage flash-kernel


I used the following partitions setting

1. primary, size 128M, mount / boot, ext3
2. primary, size 16G, mount /, ext3
3. logical, size 384M, mount swap, swap
4. logical, size 486G, mount / home, ex4

Everything looked good during the install

I have now put a serial cable on the box and can see the uboot console. I would be very grateful for any guidance or advice. I notice I also am getting 4 red flashs which is the fan control I assume this is just a result of it not booting up.

cheers

Dannyt

Console output
===========================================================
Orion1 CPU = Low

=== BUFFALO LS-GL U-Boot. ===
** LOADER **
** BUFFALO BOARD: BUFFALO_BOARD_LS_GL LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Apr 18 2007 - 18:35:44) Marvell version: 1.12.1 - TINY

DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB
[256kB@fffc0000] [0kB@f8000000] ## Unknown FLASH at f8000000: Size = 0x00000000 = 0 MB
Flash: 256 kB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done

Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 400Mhz
Orion 1 streaming disabled
SysClock = 200Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net: egiga0 [PRIME]
Using 88E1118 phy

Marvell Serial ATA Adapter
Integrated Sata device found
Device 0: OK
Model: SAMSUNG HD501LJ Firm: CR100-10 Ser#: S0Z4J1FP907995
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
Type: U-Boot File:/initrd.buffalo

2240911 bytes read
Using device ide1, partition 1
** Bad partition 1 **
Booting from Device 0
hit any key to switch tftp boot.
Hit any key to stop autoboot: 0
Hit any key to stop autoboot: 0

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
Device 0: OK
Model: SAMSUNG HD501LJ Firm: CR100-10 Ser#: S0Z4J1FP907995
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
Type: U-Boot File:/uImage

0 bytes read
<<stop_sound>>
## Booting image at 00100000 ...
Bad Magic Number
bootm fail.
<<system_not_found>>
egiga0 no link
Using egiga0 device
TFTP from server 192.168.11.1; our IP address is 192.168.11.150
Filename 'uImage.buffalo'.
Load address: 0x100000
Loading: T



===============================

output for printenvs


Marvell>>
Marvell>>
Marvell>>
Marvell>> printenv
bootargs=$(bootargs_base) $(bootargs_root)
baudrate=115200
loads_echo=0
ipaddr=192.168.11.150
serverip=192.168.11.1
rootpath=/nfs/arm
cpuName=926
CASset=min
MALLOC_len=4
bootargs_end=:::DB88FXX81:eth0:none
ethact=egiga0
ethaddr=00:16:01:BC:61:0C
buffalo_ver=BOOTVER=1.10
buffalo_minor_ver=BOOT_MINOR_VER=1.00
build_time=18:35:39
initrd=initrd.buffalo
kernel=uImage.buffalo
bootargs_base=console=ttyS0,115200
def_tftp=tftp 0x00100000 $(kernel);tftp 0x00800000 $(initrd);setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) tftpboot=yes;bootm 0x00100000 0x00800000
bootargs_root=root=/dev/sda2 rw panic=5
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaFlashBuf=yes
enaCpuStream=no
ethprime=egiga0
bootdelay=3
disaMvPnp=no
overEthAddr=no
usb0Mode=host
usb1Mode=host
filesize=22318F
force_tftp=1
bootcmd=tftp 0x00100000 $(kernel);tftp 0x00800000 $(initrd);setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) tftpboot=yes;bootm 0x00100000 0x00800000

Environment size: 980/4092 bytes
Marvell>>


Top
   
PostPosted: Fri Mar 20, 2015 3:52 pm 
Offline
Newbie

Joined: Fri Mar 20, 2015 2:54 pm
Posts: 6
I've installed Wheezy on my LS500GL without any terminal or other HW changes.
I've done that year ago, may forget some details. What I've done:

1. setup TFTP in your LAN. use following defaults:
/etc/default/tftpd-hpa
Code:
TFTP_USERNAME="nobody"
TFTP_DIRECTORY="/tftpboot/"
TFTP_ADDRESS="192.168.11.1:69"
TFTP_OPTIONS="--secure -vvvv"


2. Get remote install images from Debian, put them in TFTP root as initrd.buffalo, uImage.buffalo
3. Disconnect HDD from LS500GL.
4. Start LS500GL
5. Connect HDD
6. connect to remote install and install Debian


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 25 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:
cron
Powered by phpBB® Forum Software © phpBB Limited