Page 1 of 1

cylinders/sectors, fdisk & co....

PostPosted: Sat Mar 02, 2013 12:48 pm
by smartmeister
Hi fvdw/jocko,

Recently i've been reinstalling my nwsp1 from scratch with the fvdw-sl-10-1 base release.
Recreating the partitions (as describded in the pdf) is easy as a piece of cake, but peoples could get stuck with this surprisingly new fdisk display method (at least to me):

Code: Select all
Command (m for help): n
Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-488397167, default 2048):


Your HOWTO talks about cylinders, but some recent fdisk uses different units. here's the reason :

Code: Select all
WARNING: cylinders as display units are deprecated. Use command 'u' to
         change units to sectors.


so in order to be able to work with cylinders again, i issued the following command :

Code: Select all
sudo fdisk -u=cylinders /dev/sda


that's it, have a nice day :-D

Re: cylinders/sectors, fdisk & co....

PostPosted: Fri Jul 12, 2013 10:29 am
by bgaul
I have had the same problem first. So in my opinion it would be good to write also the size of the partitions.

Re: cylinders/sectors, fdisk & co....

PostPosted: Wed Nov 20, 2013 10:45 am
by MacEdwin
I am having the exact same issue, and can't get around it.

Is there a reference table to the newbe instruction manual to have the sector sizes, instead of cylinders.

I tried the command, but it does not work for me.

===
WARNING: cylinders as display units are deprecated. Use command 'u' to change units to sectors.
=====

I don't know how to proceed. I found a table on the forum, but that is for 2tb, i have a lacie NS1 1 TB

thanks for your help!
Edwin

Re: cylinders/sectors, fdisk & co....

PostPosted: Wed Nov 20, 2013 4:26 pm
by fvdw
just type "u" as command in fdisk and it wil switch to cylinders..very easy. It will work despite the remark that it is deprecated

But we will make a table for sectors as well