You are not logged in.

#1 2012-01-25 12:06:06

Plobzik
Member
Registered: 2011-02-19
Posts: 10

Extended patition

Hi. There's a problem with partitioning. I've got 4 primary partitions and I want to put them into extended one. How to do this?

Last edited by Plobzik (2012-01-25 12:06:21)

Offline

#2 2012-01-25 12:30:22

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Extended patition

It depends.  What is the current partitioning scheme, what are the current filesystems used, what's the current use for each partition, and do you have external storage large enough to backup your current files?

Offline

#3 2012-01-25 12:37:03

Plobzik
Member
Registered: 2011-02-19
Posts: 10

Re: Extended patition

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0xada9862d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      417689      208813+  83  Linux
/dev/sda2          417690     3502169     1542240   82  Linux swap / Solaris
/dev/sda3         3502170    44467919    20482875   83  Linux
/dev/sda4        44467920   625137344   290334712+  83  Linux

There's no way to create and put partitions in extended one without losing data?

Offline

#4 2012-01-25 12:52:45

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Extended patition

No. An extended partition is one of the 4 primary you can create, therefore you need some free space to create such.

Last edited by bohoomil (2012-01-25 12:53:14)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2012-01-25 12:55:10

Plobzik
Member
Registered: 2011-02-19
Posts: 10

Re: Extended patition

A can delete swap then create extended partition. Is it possible to put 3 remaining partitions in the extended one?

Offline

#6 2012-01-25 12:57:36

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Extended patition

Is your swap partition as big as all the remaining three ones?


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#7 2012-01-25 13:03:06

Plobzik
Member
Registered: 2011-02-19
Posts: 10

Re: Extended patition

Oh, I see. I can give extended partition some space from /home. I think it will be enough. So how to put remaining partitions in extended one?

Last edited by Plobzik (2012-01-25 13:03:27)

Offline

#8 2012-01-25 13:11:10

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: Extended patition

Use fixparts from extra/gptfdisk package http://rodsbooks.com/fixparts/. First resize each partition using gparted so that 1 MiB free space is present at the end of each partition, and then use fixparts.

Offline

#9 2012-01-25 13:18:18

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Extended patition

And please: backup your data first... wink


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

Board footer

Powered by FluxBB