Lacie 5big network 2

Lacie 5big network 2

Postby CapnBubba » Mon Sep 13, 2021 8:32 pm

I need to create boot disks firmware 2.2.3. I have a source code file from Lacie, but no Idea how to create a bootable disk that wake this sleeping dinosaur... Lacie has been no help.. I plan to look at the Custom firmware. posted here... Thanks CB
CapnBubba
Donator VIP
Donator VIP
 
Posts: 12
Joined: Sun Sep 12, 2021 8:30 am

Re: Lacie 5big network 2

Postby CapnBubba » Tue Sep 14, 2021 11:46 pm

Lacie 5big network 2- 2.2.3 capsule... Has anyone got one... I am trying a LNA restore... Is the procedure for source code file restore, is a TFTP to system board required...
CapnBubba
Donator VIP
Donator VIP
 
Posts: 12
Joined: Sun Sep 12, 2021 8:30 am

Re: Lacie 5big network 2

Postby fvdw » Wed Sep 15, 2021 10:14 am

We moved your post to the correct forum (5big_v2)

To install original lacie firmware is difficult and you will need specific partition images and partition structure. If you do not have linux experience this might be too difficult for you. Alternative install fvdw-sl firmware. See firmware download forum on this board how to do that.
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5big network 2

Postby fvdw » Wed Sep 15, 2021 10:16 am

We moved your post to the correct forum (5big_v2)

To install original lacie firmware is difficult and you will need specific partition images and partition structure. Please search the forum if you can find a topic describing how to do it but if you do not have linux experience this might be too difficult for you.
Below in next post the how to install lacie firmware, I found in my archive, no guarantee on success but some user succeeded

Alternative install fvdw-sl firmware. See firmware and how to guides download forum on this board how to do that.
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5big network 2

Postby fvdw » Wed Sep 15, 2021 11:55 am

how to install lacie firmware on 5big V2

Download the rar archive attached and unpack it, you will need the files inside

Install fvdw-sl console on your pc running windows (see download topic of this forum to get the fvdw-sl console package)

switch off 5big2 be sure it is connected to the LAN (ip range of dhcp server must be (192.168.1.xxx or 192.168.0.xxx)
system disk is sda (installed in first slot of 5big2) only one disk installed

start fvdw-sl console

Load standalone kernel (kirkwood-standalone) via fvdw-sl console (help see fvdw-sl help menu)

start 5big2 when the fvdw-sl console windows is displaying "waiting for u-boot" (see help fvdw-sl console)

Log in with tel net client after standalone kernel has started

When logged in with telnet partition the disk with following commands
Code: Select all
enter
gdisk /dev/sda

(delete all partitions if they are present)

check if no partition table is present by typing "p" command

create new partiton table


Code: Select all
Command (? for help): n
5
(accept the default first sector by pressing enter)
+256M
8200

n
6
(accept the default first sector by pressing enter)
+16M
(accept the default by pressing enter)

n
7
(accept the default first sector by pressing enter)
+16M
(press enter)

n
8
(accept the default first sector by pressing enter)
+884M
(press enter)

n
9
(accept the default first sector by pressing enter)
+884M
(press enter)

n
10
(accept the default first sector by pressing enter)
+16M
(press enter)

n
2
(accept the default first sector by pressing enter)
(accept the default last sector by pressing enter)
(press enter)


Command (? for help): p
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2         4245504       976773134   463.7 GiB   8300  Linux filesystem
   5            2048          526335   256.0 MiB   8200  Linux swap
   6          526336          559103   16.0 MiB    8300  Linux filesystem
   7          559104          591871   16.0 MiB    8300  Linux filesystem
   8          591872         2402303   884.0 MiB   8300  Linux filesystem
   9         2402304         4212735   884.0 MiB   8300  Linux filesystem
  10         4212736         4245503   16.0 MiB    8300  Linux filesystem

Command (? for help):


when it looks likes this enter "w" to write the partition table to disk, answer Y on the question Do you want to proceed? (Y/N)

and then "q" to leave gdisk (without the quotes)

on linux command line give commands to format partitions 7 , 8 and 9
Code: Select all
mke2fs-64 -j -m 1 /dev/sda7
mke2fs-64 -j -m 1 /dev/sda8
mke2fs-64 -j -m 1 /dev/sda9

Format partition 2 in xfs you need program mks.xfs to do this, upload it via tftp:

Code: Select all
tftp -l /sbin/mkfs.xfs -r mkfs.xfs -g pc-ip

(replace ip-pc by actual ip addres of your pc running the tftp server of the fvdw-sl console)

Make it executable:

Code: Select all
chmode 755 /sbin/mkfs.xfs

format partiton 2;

Code: Select all
mkfs.xfs /dev/sda2

Now we are ready to write lacie firmware to the different partitions
upload files system for partition 7:

Code: Select all
tftp -l sda7.tgz -r 5big2-sda7.tgz -g ip-pc

(replace ip-pc by actual ip addres of your pc running the tftp server of the fvdw-sl console)

write it to partition 7:

Code: Select all
mkdir sda7
mount /dev/sda7 /sda7
tar -xzvf sda7.tgz -C /sda7
umount /sda7
rm sda7.tgz


simalar for partition 8:

Code: Select all
tftp -l sda8.tgz -r 5big2-sda8.tgz -g ip-pc

(replace ip-pc by actual ip addres of your pc running the tftp server of the fvdw-sl console)

Code: Select all
mkdir sda8
mount /dev/sda8 /sda8
tar -xzvf sda8.tgz -C /sda8
umount /sda8
rm sda8.tgz


upload the kernel and write it to partition 6:

Code: Select all
tftp -l sda6.img -r 5big2-sda6.img -g ip-pc

(replace ip-pc by actual ip addres of your pc running the tftp server of the fvdw-sl console)

Code: Select all
dd if=sda6.img of=/dev/sda6
rm sda6.img


and finally do
Code: Select all
echo "LaCieFirstBootLaCie" | dd  of=/dev/sda


now power-off the 5big2 by entering poweroff -f in the telnet client and power on the 5big2 again and see if the lacie firmware comes up

success ;)
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5big network 2

Postby CapnBubba » Wed Sep 15, 2021 11:29 pm

I am getting prompted for Key in fvdw-sl-console...Please advise
CapnBubba
Donator VIP
Donator VIP
 
Posts: 12
Joined: Sun Sep 12, 2021 8:30 am

Re: Lacie 5big network 2

Postby fvdw » Thu Sep 16, 2021 6:53 am

Yes you got to enter 33305
It is mentioned in post where you downloaded the console
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5big network 2

Postby CapnBubba » Wed Sep 22, 2021 8:19 pm

In following the instructions, I am getting no response to the command format Partition 2 "mkfs.xfs /dev/sda2.. I have added the filed from glibc-mini-mkfs.xfs-25feb14.tar and added them to the tftp folder. Tftp -l /sbin/mkfs.xfs -r mkfs.xfs -g 192.168.2.78 and the files id download to NAS 100%. Chmod 755 /sbin/mkfs.xfs.. it jumps to next line. I them enter;mkfs.xfs /dev/sda2 and I get an error : while loading shared libraries: librt.so.1: cannot open shared


Format partition 2 in xfs you need program mks.xfs to do this, upload it via tftp:

Code:
tftp -l /sbin/mkfs.xfs -r mkfs.xfs -g pc-ip

(replace ip-pc by actual ip addres of your pc running the tftp server of the fvdw-sl console)

Make it executable:

Code:
chmod 755 /sbin/mkfs.xfs

format partiton 2;

Code:
mkfs.xfs /dev/sda2

This is where I am stuck at??
CapnBubba
Donator VIP
Donator VIP
 
Posts: 12
Joined: Sun Sep 12, 2021 8:30 am

Re: Lacie 5big network 2

Postby fvdw » Fri Sep 24, 2021 6:11 am

You must upload the tar archive glibc-mini-mkfs.xfs-25feb14.tar and extract it
Code: Select all
tftp -r glibc-mini-mkfs.xfs-25feb14.tar -l /glibc.tar -g ip-pc

Replace ip-pc by actual ip of your pc.
After upload extract the archive
Code: Select all
tar -xvf glibc.tar

Now mkfs command should work
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5big network 2

Postby CapnBubba » Fri Sep 24, 2021 11:01 pm

there is an Image that is not being used in the tftp folder 5big2-sc1.img and isn't in the procedure.. does it need to be coded? How much of a donation will I have to make to have you make a installer for the loading of the original Lacie 5Big network 2 installer that works with 2.2.3 or higher firmware, I have the GPL source code from LaCie for the 5Big networks 2 NAS... let me know...
CapnBubba
Donator VIP
Donator VIP
 
Posts: 12
Joined: Sun Sep 12, 2021 8:30 am

Next

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 2 guests

cron