[solved] Installing firmware on fresh disk... not working

fcana
Posts: 6
Joined: Wed Apr 24, 2013 8:48 pm

[solved] Installing firmware on fresh disk... not working

Post by fcana » Wed Apr 24, 2013 8:57 pm

hi,
i'm trying to follow the steps of http://lacie.nas-central.org/wiki/Insta ... s_(2Big_2) but i got stacked on writing mbr+label.gz to disk. After that I should see /dev/sdb1 and /dev/sdb5 are already created, but i can't see anything...
any idea?
thank you very much
Last edited by fcana on Sat May 04, 2013 4:05 pm, edited 1 time in total.

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: Installing firmware on fresh disk... not working

Post by Mijzelf » Fri Apr 26, 2013 7:18 am

What does 'fdisk -l' show after your wrote that 'mbr+label'?

fcana
Posts: 6
Joined: Wed Apr 24, 2013 8:48 pm

Re: Installing firmware on fresh disk... not working

Post by fcana » Fri Apr 26, 2013 3:14 pm

Hi Mijzelf,
thank you very much for your reply. Unfortunately I'll be far from the disks since Monday... In the meantime I can say you that fdisk showed an empty list... and that gparted showed "unallocated space" for the entire disk.

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: Installing firmware on fresh disk... not working

Post by Mijzelf » Fri Apr 26, 2013 8:43 pm

That's not enough. I *think* you've got an 'advanced format' disk, connected through an USB-SATA convertor. Some of these convertors show an logical sector size of 4k, causing the MBR partition system to fail.
In that case fdisk shows a logical and physical sector size of 4k. The only cure I know is to connect the disk to a real sata port.

fcana
Posts: 6
Joined: Wed Apr 24, 2013 8:48 pm

Re: Installing firmware on fresh disk... not working

Post by fcana » Sun Apr 28, 2013 8:53 pm

here the fdisk -l report:

Code: Select all

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009fcdb

   Device Boot      Start         End      Blocks   Id  System
and yes, I'm using a SATA to USB converter...

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: Installing firmware on fresh disk... not working

Post by Mijzelf » Mon Apr 29, 2013 7:31 am

fcana wrote:Sector size (logical/physical): 512 bytes / 512 bytes
No, that's not an advanced format disk. It should work just fine. Are you sure you used 'gzip' in the write command?

Code: Select all

gzip -dc /full/path/to/mbr+label.gz | sudo dd of=/dev/sdc
Any error messages?

fcana
Posts: 6
Joined: Wed Apr 24, 2013 8:48 pm

Re: Installing firmware on fresh disk... not working

Post by fcana » Tue Apr 30, 2013 10:45 am

Ok, I had a strange problem of lubuntu distr... now i can see the result of the gzip command

Code: Select all

root@ubuntu:/home/ubuntu# fdisk -l /dev/sdc
Warning: ignoring extra data in partition table 5

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f26c1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63     4016249     2008093+   5  Extended
/dev/sdc5             126      514079      256977   fd  Linux raid autodetect
my problem is now: how can create the partition table? I've studied a little the fdisk man, but the config of sdc1 and sdc5 I see in the disk are different from the one you wrote on the wiki... Is that regular?

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: Installing firmware on fresh disk... not working

Post by Mijzelf » Tue Apr 30, 2013 11:39 am

Wiki wrote:For more modern fdisk versions (2012+?) you'll need to use the flags -cu:

Code: Select all

fdisk -cu /dev/sdb
This switches on 'dos compatibility' and 'cylinder units'. On older fdisk versions it does the reverse. (Or in other words, the default mode is changed somewhere in 2011/2012)

fcana
Posts: 6
Joined: Wed Apr 24, 2013 8:48 pm

Re: Installing firmware on fresh disk... not working

Post by fcana » Wed May 01, 2013 5:53 am

Ok, thank you very very much for your help... everything seem to work now.
I'll try to do partitions and raid arrays in the next days. I'll give you feedback (or ask for further help!!!).
all the best

PS. for using fdisk in "compatibility mode" on ubuntu 13.04 I had to use this command:

Code: Select all

fdisk -c=dos -u=cylinders /dev/sdb

fcana
Posts: 6
Joined: Wed Apr 24, 2013 8:48 pm

Re: Installing firmware on fresh disk... not working

Post by fcana » Sat May 04, 2013 4:02 pm

I DID IT :D !!!!
everything works now. Thank you Mijzelf for your great work and your nice help. I saved all the fdisk procedure in a text file... If you agree and like it, I could update the wiki page with that indications, that could help some newbie like me....!
all the best, f.

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: Installing firmware on fresh disk... not working

Post by Mijzelf » Sun May 05, 2013 11:00 am

fcana wrote:I DID IT :D !!!!
Congratulations!
fcana wrote:If you agree and like it, I could update the wiki page with that indications, that could help some newbie like me....!
Sure! Please go ahead.

Adyp
Posts: 3
Joined: Fri Nov 08, 2013 1:24 pm

Re: [solved] Installing firmware on fresh disk... not workin

Post by Adyp » Fri Nov 08, 2013 1:56 pm

Hello all,
First of all, thank you for sharing info, is great to find solutions to problems.
Im trying to install a new OS in Lacie 2 big NAS 2 but no success.
After installing, create table, just like in wiki tutorial, NAS dont start.
Alternate red/blue front and left back leds. Right led is blue.
I have 2 different hdd but same size, 80GB. I will upgrade HDDs, but now i want to learn how to install until i get new HDDs.
Partition Table is same on both HDD:
Device Boot Start End Blocks Id System
/dev/sdb1 1 250 2008093+ 5 Extended
/dev/sdb2 251 9729 76140067+ fd Linux raid autodetect
/dev/sdb5 1 32 256977 fd Linux raid autodetect
/dev/sdb6 33 34 15041 83 Linux
/dev/sdb7 35 36 15041 fd Linux raid autodetect
/dev/sdb8 37 140 834356 fd Linux raid autodetect
/dev/sdb9 141 248 866486 fd Linux raid autodetect
/dev/sdb10 249 250 15041 83 Linux
If I create partition table just like in tutorial, with same start/end cylinders, sdb6 will not have sufficient space for installing sda6.gz.
If someone could help me, Im gonna give him teamviewer access to my linux. Or other programs, just let me know.

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: [solved] Installing firmware on fresh disk... not workin

Post by Mijzelf » Sat Nov 09, 2013 9:48 am

Your box is really a '2Big NAS 2', in contrast to an '2Big Network 2'? In that case I don't think this kernel will boot on your box. The 2Big NAS has a different (better) CPU, and I don't think this (rather old) partition dumps have support for it.

But if you bought that box new without disks, I guess it's a 'diskless' box, which means it has an large flash partition, containing the software needed to initialize a disk. Read the manual.

Adyp
Posts: 3
Joined: Fri Nov 08, 2013 1:24 pm

Re: [solved] Installing firmware on fresh disk... not workin

Post by Adyp » Sat Nov 09, 2013 6:01 pm

Sorry for confusion...
Is this: LaCie 2big Network (2-disk RAID)
http://www.lacie.com/intl/support/suppo ... ?pid=10955
PS: I have create partition table just like in tutorial, same sizes.
Im confused... what 2big is? is 1 or 2?

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: [solved] Installing firmware on fresh disk... not workin

Post by Mijzelf » Sat Nov 09, 2013 9:02 pm

Adyp wrote:Im confused... what 2big is? is 1 or 2?
Do you mean you don't know if it's a 2Big Network or 2Big network 2? You can see that on the back. A 2Big1 has a switch to choose between raid0 and raid1, which is called 'big' and 'safe', if I'm not mistaken. The 2Big2 hasn't.

Post Reply