Page 7 of 7

Re: Installation from scratch

PostPosted: Wed Mar 14, 2012 8:58 pm
by fvdw
@jocko
:-D I know, you will go to the bottom of this and not rest until having the best possible solution :punk
But there it is no real issue to have 8 cylinders space between the partitions. The user will not notice it.

Re: Installation from scratch

PostPosted: Thu Mar 15, 2012 2:25 pm
by paros
Thanks for all help, its so much better than previous OS!
If you guys don't have anyone that make translation to Swedish, I gladly help.

Re: Installation from scratch

PostPosted: Thu Mar 15, 2012 2:40 pm
by Jocko
In version (12.x or 13.0), we plan to make more translation. So, there will be some topics about it after release fvdw-sl 12.0

Re: Installation from scratch

PostPosted: Thu Mar 15, 2012 7:34 pm
by fvdw
paros wrote:Thanks for all help, its so much better than previous OS!
If you guys don't have anyone that make translation to Swedish, I gladly help.


thanks for your positive feedback Paros, much appreciated, as Jocko said we will take this up after release of 12-0 and will gladly make use of your offer

Re: Installation from scratch

PostPosted: Mon Jul 30, 2012 10:06 am
by dundee
Hi,

I have the same problem installing a new 1,5TB Hard Drive - "Partition 1 does not start on physical sector boundary".
Even with gpated "auto" alignment it does not work.

I solve it with using: > fdisk -cu -H224 -S56 /dev/sdx

The Partion Table looks like this:
[ img ]
http://img9.imageshack.us/img9/8996/fdiskfinal.png

Congratulations to the author(s) for this firmware!!

Re: Installation from scratch

PostPosted: Mon Jul 30, 2012 11:54 am
by Jocko
Thanks dundee for your congratulations.

This keeps our motivation to develop the firmware. ;)

Indeed, you have an AF disk. So you must use a non standard partitions table.

First, you used an old partition table. Now, more space is attributed for the system partitions (twice enlarged):
Code: Select all
    Command (m for help): p

    Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

       Device Boot      Start         End      Blocks  Id System
    /dev/sda1               1          64      514048+ 83 Linux
    /dev/sda2              65         128      514080  83 Linux
    /dev/sda3             129         192      514080  82 Linux swap
    /dev/sda4             193      243201  1951969792+  5 Extended
    /dev/sda5             193         292      803218+ 83 Linux
    /dev/sda6             293         293        8001  83 Linux
    /dev/sda7             294         357      514048+ 83 Linux
    /dev/sda8             358      243201  1950644398+ 83 Linux



No need to use the trick
I solve it with using: > fdisk -cu -H224 -S56 /dev/sdx


With this new partition table and with an AF disk, the following partition table must be used :

Partition 1 start 9 end 72
partition 2 start 73 end 136
partition 3 start 137 en 200
partition 4 start 201 end xxxxxxxx
Partition 5 start 209 end 312
Partition 6 start 321 end 328
Partition 7 start 337 end 400
Partition 8 start 409 end xxxxxxxx

Note the sda4 and sda8 size must be divisable by 8. So, with a 1,5TB disk, the end cylinder is :
xxxxxxx= (disknbmaxcylinders-y - 200) , choose y between 0 and 7 where xxxxxx will be divisable by 8

So if your disk has :
255 heads, 63 sectors/track, 182401 cylinders, xxxxxx is equal to 182400 :
(182400-200)/8=22775 => ok!

Re: Installation from scratch

PostPosted: Tue Jul 31, 2012 2:29 am
by dundee
Thanks for the tip!

I tried to use the info that is refered in your tutorial, that is great, but I had some issues with the space in system partions when in used the dd command, so I put, for example, one more cylinder in each partition.

I tried the partion table for the 2TB disk and in some partions the error persists "Partition 1 does not start on physical sector boundary", so I used the command > fdisk -cu -H224 -S56 /dev/sdx to bypass it.


Is there any increment in speed with doubling the space in the partitions (sdx1 to sdx7?

Re: Installation from scratch

PostPosted: Tue Jul 31, 2012 3:13 pm
by fvdw
dundee wrote:
....
Is there any increment in speed with doubling the space in the partitions (sdx1 to sdx7?


No, it is only meant to be able to install in future bigger firmware disk images on the nwsp2

Re: Installation from scratch

PostPosted: Tue Jul 31, 2012 5:18 pm
by Jocko
dundee wrote:I tried the partion table for the 2TB disk and in some partions the error persists "Partition 1 does not start on physical sector boundary", so I used the command > fdisk -cu -H224 -S56 /dev/sdx to bypass it.


What partition did you used ?
This one ?
Code: Select all
/dev/sda1               1          64      514048+ 83 Linux
    /dev/sda2              65         128      514080  83 Linux
    /dev/sda3             129         192      514080  82 Linux swap
    /dev/sda4             193      243201  1951969792+  5 Extended
....

or that one
Code: Select all
Partition 1 start 9 end 72
partition 2 start 73 end 136
partition 3 start 137 en 200
partition 4 start 201 end xxxxxxxx
...


Note 1: To use this table you must before restore the number of heads and cylinders .
Code: Select all
fdisk -cu -H255 -S63 /dev/sdx

Note 2 : if you add one cylinder with the second table, the partitions can be never aligned !

Re: Installation from scratch

PostPosted: Wed Aug 01, 2012 11:55 pm
by dundee
It tried the first one, without setting the head and sector to 224 and 56.
Code: Select all
    /dev/sda1               1          64      514048+ 83 Linux
    /dev/sda2              65         128      514080  83 Linux
    /dev/sda3             129         192      514080  82 Linux swap
    /dev/sda4             193      243201  1951969792+  5 Extended
....


I will change to the second one. Thanks!