Talk:Armel Debian for the Kurobox Pro - Manual install

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 02:38, 23 June 2008 by Ramuk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Partitioning

You could pretty much follow this guide keystroke for keystroke to do it. It is suggested that you read the man pages for fdisk & read up on it, as well.

$ fdisk /dev/sda 
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): <enter> Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-30401, default 30401): +100MB

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): <enter> 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): <enter> Using default value 1341
Last cylinder or +size or +sizeM or +sizeK (1341-30401, default 30401): <enter> 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): <enter> Using default value 1404
Last cylinder or +size or +sizeM or +sizeK (1404-30401, default 30401):  <enter> Using default value 30401

The default type of partition is Ext3 (83), so we only need to change the type on partition 5, to Swap (82).

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)

Write the partitions to the hard drive.

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

Calling ioctl() to re-read partition table
$