Talk:Custom Partitions on the LS Pro

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 08:09, 22 June 2008 by Davy gravy (Talk | contribs)

Jump to: navigation, search
===================================================================================

Transcript of an fdisk session:


$ fdisk /dev/sda 
Command (m for help): d
 
Partition number (1-6): 1
Command (m for help): d

Partition number (1-6): 2
Command (m for help): d

Partition number (1-6): 3
Command (m for help): d

No partition is defined yet!
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-30401, default 1): Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-30401, default 30401): +1GB

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (124-30401, default 124): Using default value 124
Last cylinder or +size or +sizeM or +sizeK (124-30401, default 30401): +10GB


Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 4
First cylinder (1341-30401, default 1341): Using default value 1341
Last cylinder or +size or +sizeM or +sizeK (1341-30401, default 30401): Using default value 30401

Command (m for help): n
Command action
   l   logical (5 or over)
   p   primary partition (1-4)
l
First cylinder (1341-30401, default 1341): Using default value 1341
Last cylinder or +size or +sizeM or +sizeK (1341-30401, default 30401): +512MB

Command (m for help): n
Command action
   l   logical (5 or over)
   p   primary partition (1-4)
l
First cylinder (1404-30401, default 1404): Using default value 1404
Last cylinder or +size or +sizeM or +sizeK (1404-30401, default 30401): +10GB

Command (m for help): n
Command action
   l   logical (5 or over)
   p   primary partition (1-4)
l
First cylinder (2621-30401, default 2621): Using default value 2621
Last cylinder or +size or +sizeM or +sizeK (2621-30401, default 30401): Using default value 30401

Command (m for help): t
Partition number (1-7): 5
Hex code (type L to list codes): 82
Changed system type of partition 5 to 82 (Linux swap)

Command (m for help): p

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1         123      987966  83 Linux
/dev/sda2             124        1340     9775552+ 83 Linux
/dev/sda4            1341       30401   233432482+  5 Extended
/dev/sda5            1341        1403      506016  82 Linux swap
/dev/sda6            1404        2620     9775521  83 Linux
/dev/sda7            2621       30401   223150851  83 Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table
$
===========================================================

This is a great, clear explanation. Before customizing my partitions, I have a question. Can you tell me why you recommend partitioning the extended partition with LBA (W95) instead of Linux?

Thanks for your reply.

Larry