Fail to install fvdw-sl

Re: lacie 5 big network v.1 please support for fvdw

Postby Jocko » Wed Sep 30, 2015 9:58 pm

:scratch
You have a gpt table on it
Code: Select all
Found valid GPT with protective MBR; using GPT


Note: Your output is amazing and it seems that you did not build the disk by using fvdw-sl console.

So before trying again to build it with a msdos table, you must delete fully the gpt table and the msdos table to get a clean disk.

To clean the disk, you need to use gdisk but it must be upload before, so in telnet do
Code: Select all
busybox tftp -r gdisk -l /sbin/gdisk -g ippc
   chmod 755 /sbin/gdisk
(ippc is the ip of the laptop)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: lacie 5 big network v.1 please support for fvdw

Postby jahotinc » Fri Oct 02, 2015 7:08 pm

Hi Jocko,

i followed your instructions (i think) and this is the result:

this was the look of my partition table after deleting everything:

Code: Select all
root@(none):/ # gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries.

Command (? for help): p
Disk /dev/sda: 2930277168 sectors, 1.4 TiB
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 2930277134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2930277101 sectors (1.4 TiB)

Number  Start (sector)    End (sector)  Size       Code  Name

Command (? for help):



After that, i proceed with the installation. It seems that it ends correctly and i reboot the nas using reboot -f
The NAS is not detectable, the blue light of the disk is blinking blue, the assistant does not find it.

After this i try with standalone kernel again and this is the look of my partition table:

Code: Select all
root@(none):/ # gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sda: 2930277168 sectors, 1.4 TiB
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 2930277134
Partitions will be aligned on 8-sector boundaries
Total free space is 647636 sectors (316.2 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1          128520         1156679   502.0 MiB   8300  Linux filesystem
   2         1156680         2184839   502.0 MiB   8300  Linux filesystem
   3         2184840         3212999   502.0 MiB   8200  Linux swap
   5         3341520         5012279   815.8 MiB   8300  Linux filesystem
   6         5140800         5269319   62.8 MiB    8300  Linux filesystem
   7         5397840         6425999   502.0 MiB   8300  Linux filesystem
   8         6554520      2930272064   1.4 TiB     8300  Linux filesystem
root@(none):/ #
root@(none):/ #


Note: I'm using version 5.5 of fvdw-sl console, with the standalone kernel that comes with it (UIMAGE-26394-5BIG1-42-standalone).
jahotinc
 
Posts: 35
Joined: Mon Apr 07, 2014 11:39 am

Re: lacie 5 big network v.1 please support for fvdw

Postby Jocko » Fri Oct 02, 2015 7:22 pm

:scratch
Do you try to start with only one disk?
And when you used fvdw-sl console, do you have only one disk plugged ?

---edit---
Can you post the installer.log. Should be on sda5.

So in a telnet window, do
Code: Select all
mkdir /sda5
mount /dev/sda5 /sda5
cat /sda5/installer.log
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Fail to install fvdw-sl

Postby jahotinc » Fri Oct 02, 2015 8:36 pm

yes, there is always only one disk plugged.

this is installer.log:

Code: Select all
root@(none):/ # mkdir /sd5
root@(none):/ # mount /dev/sda5 /sd5
root@(none):/ # cat /sd5/installer.log
etc/
etc/nas_conf_db.xml
etc/nas_ext_hdd_db.xml
etc/ntp.conf
lost+found/
tmp/
usr/
usr/private/
usr/private/secrets.tdb
var/
var/etc/
root@(none):/ #


Thank you for your help and patience !
jahotinc
 
Posts: 35
Joined: Mon Apr 07, 2014 11:39 am

Re: Fail to install fvdw-sl

Postby Jocko » Fri Oct 02, 2015 8:45 pm

Sorry but this file was not the expected file.

So first, post the output of you partition table but with fdisk
Code: Select all
fdisk -l /dev/sda
, There is something I don't understand with your posted table (partition 4)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Fail to install fvdw-sl

Postby jahotinc » Fri Oct 02, 2015 9:05 pm

Here it is

Code: Select all
root@(none):/ # fdisk -l /dev/sda

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               9          72      514080  83 Linux
/dev/sda2              73         136      514080  83 Linux
/dev/sda3             137         200      514080  82 Linux swap
/dev/sda4             201      182401  1463529532+  5 Extended
/dev/sda5             209         312      835380  83 Linux
/dev/sda6             321         328       64260  83 Linux
/dev/sda7             337         400      514080  83 Linux
/dev/sda8             409      182401  1461858772+ 83 Linux
root@(none):/ #
jahotinc
 
Posts: 35
Joined: Mon Apr 07, 2014 11:39 am

Re: Fail to install fvdw-sl

Postby Jocko » Fri Oct 02, 2015 9:46 pm

So your partition is clean.

Note: for later, I advice you to change the settings for partition 8.

So now with a clean disk, you should have some boot.log on sda7.
In telnet do
mkdir /sda7
mount /dev/sda7
cat /sda7/boot.log
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Fail to install fvdw-sl

Postby jahotinc » Fri Oct 02, 2015 10:21 pm

It doesn't work:

Code: Select all
root@(none):/ # mkdir /sda7
root@(none):/ # mount /dev/sda7
mount: can't read '/etc/fstab': No such file or directory
root@(none):/ # mount /dev/sda7 /sda7
root@(none):/ # cat /sda7/boot.log
cat: can't open '/sda7/boot.log': No such file or directory
root@(none):/ # cd /sda7
root@(none):/sda7 # ls -al
total 96
drwxr-xr-x   20 root     root          4096 Dec 30  2014 .
drwxr-xr-x   13 root     root             0 Jan  1 00:03 ..
lrwxrwxrwx    1 root     root            20 Dec 30  2014 .mldonkey -> /share/1000/mldonkey
drwxr-xr-x    2 root     root          4096 Dec 30  2014 bin
drwxr-xr-x    2 root     root          4096 Dec 30  2014 bin_cab
drwxr-xr-x    2 root     root          4096 Sep 25  2013 boot
drwxrwxrwx    2 root     root          4096 Dec 30  2014 clunc
drwxr-xr-x    4 root     root         12288 Dec 30  2014 dev
lrwxrwxrwx    1 root     root            12 Dec 30  2014 direct-usb -> ./share/1000
drwxrwxrwx   18 root     root          4096 Apr 11  2015 etc
drwxr-xr-x    4 root     root          4096 Nov 22  2014 lib
lrwxrwxrwx    1 root     root            11 Dec 30  2014 linuxrc -> bin/busybox
drwx------    2 root     root         16384 Jan  3  2008 lost+found
drwxr-xr-x    3 root     root          4096 Dec 30  2014 mail
drwxr-xr-x    2 root     root          4096 Aug 27  2008 nowhere
drwxr-xr-x    7 root     root          4096 Dec 30  2014 opt
drwxrwxrwx    2 root     root          4096 Mar  5  2011 proc
drwxr-xr-x    2 root     root          4096 Jan  3  2008 root
drwxr-xr-x    2 root     root          4096 Dec 30  2014 sbin
drwxrwxrwx    2 root     root          4096 Mar  5  2011 share
drwxrwxrwx    2 root     root          4096 Dec 30  2014 sys
drwxr-xr-x   22 root     root          4096 Dec 30  2014 usr
drwxr-xr-x    2 root     root          4096 Mar  9  2012 var
root@(none):/sda7 #

jahotinc
 
Posts: 35
Joined: Mon Apr 07, 2014 11:39 am

Re: Fail to install fvdw-sl

Postby Jocko » Fri Oct 02, 2015 10:32 pm

Then the kernel is still not loaded...

We go to try to overwrite it on sda6

So open a telnet window and do
Code: Select all
mkdir /sda5
mount /dev/sda5 /sda5
busybox tftp -r 5big1/UIMAGE-395-5BIG1-25 -l /sda5/tmp/kernel.img -g ip-pc
dd if=/sda5/tmp/kernel.img of=/dev/sda6
(ip-pc = ip of your laptop)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Fail to install fvdw-sl

Postby jahotinc » Fri Oct 02, 2015 10:42 pm

done

Code: Select all
root@(none):/ # mkdir /sda5
root@(none):/ # mount /dev/sda5 /sda5
root@(none):/ # busybox tftp -r 5big1/UIMAGE-395-5BIG1-25 -l /sda5/tmp/kernel.img -g 192.168.1.42
5big1/UIMAGE-395-5BI 100% |****************************************************************|  1808k  0:00:00 ETA
root@(none):/ #
root@(none):/ # dd if=/sda5/tmp/kernel.img of=/dev/sda6
3616+1 records in
3616+1 records out
1851752 bytes (1.8MB) copied, 0.258529 seconds, 6.8MB/s
root@(none):/ #
jahotinc
 
Posts: 35
Joined: Mon Apr 07, 2014 11:39 am

PreviousNext

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 3 guests