LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-05-2012, 12:03 PM   #1
jitendrashah
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
using unallocated partition : question


I have 3 OSes and and partitions are as under
  1. I wish to utilize unallocated space for fourth OS. can I
    Can I merge unallocated space with extended partition so I can creatye more logical partitions
My machine is 64-bit , Intel i3
one os is ubuntu 12.04 64-bit
other is ubuntu 11.10 32-bit
and one windows
FDISK - l yields as below

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xe7f191d1

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 204799999 102296576 7 HPFS/NTFS/exFAT
/dev/sda3 204802046 415737855 105467905 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda4 415739904 1323034623 453647360 83 Linux
/dev/sda5 204802048 302456831 48827392 83 Linux
/dev/sda6 302458880 318081023 7811072 82 Linux swap / Solaris
/dev/sda7 318083072 415737855 48827392 83 Linux

Last edited by jitendrashah; 07-05-2012 at 12:06 PM.
 
Old 07-06-2012, 05:17 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
If you wish to delete /dev/sda4 and enlarge the extended, yes you can. Presuming you don't want whatever is in sda4
Best done from a gparted liveCD IMHO.
 
Old 07-06-2012, 05:50 AM   #3
anshuman84
Member
 
Registered: May 2008
Location: Bangalore
Posts: 31

Rep: Reputation: 6
Quote:
Originally Posted by jitendrashah View Post
I have 3 OSes and and partitions are as under
  1. I wish to utilize unallocated space for fourth OS. can I
    Can I merge unallocated space with extended partition so I can creatye more logical partitions
My machine is 64-bit , Intel i3
one os is ubuntu 12.04 64-bit
other is ubuntu 11.10 32-bit
and one windows
FDISK - l yields as below

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xe7f191d1

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 204799999 102296576 7 HPFS/NTFS/exFAT
/dev/sda3 204802046 415737855 105467905 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda4 415739904 1323034623 453647360 83 Linux
/dev/sda5 204802048 302456831 48827392 83 Linux
/dev/sda6 302458880 318081023 7811072 82 Linux swap / Solaris
/dev/sda7 318083072 415737855 48827392 83 Linux
You dont have any free partition in your hard disk. Dont delete /dev/sda4 which will lead to system breakdown of your Ubuntu. You can check the extended partition /dev/sda3 inside every OS. Might be it is used some where else as a mount point. if not you can use that .
 
Old 07-06-2012, 07:16 AM   #4
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
Your listing does not reveal which partitions are free. Post something like content of /etc/fstab for all your distros (Unfortunately I don't know what is the equivalent for win). All your partitions are listed as if prepared for win/linux, although some of these may actually not be used.

In most cases you can merge consecutive partitions into a single larger one. If they are not located next to each other, that may be tricky (you have to move/resize the file system).

In long run I recommend you to look at lvm, it adds a lot more flexibility in therms of multiple partitions/harddisks, and gpt partitions (you don't have the 4 primary partitions only limit).
 
Old 07-06-2012, 08:20 AM   #5
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by jitendrashah View Post
I wish to utilize unallocated space for fourth OS.
If I understand correctly:

You are using three Linux partitions: sda4, sda5 and sda7 for two Linux installs.

You have unallocated space after sda4, which can't be used as things currently stand.

While sda4 is not mounted, you should be able to move sda4 to the physical end of the drive so the unallocated space is before it instead of after it.

Then, while sda5 and sda7 are not mounted and the swap space in sda6 is not active, you should be able to expand sda3 to include the contiguous unallocated space.

Last edited by johnsfine; 07-06-2012 at 08:22 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Windows boot partition got unallocated after resizing partition mike54 Linux - Newbie 5 10-28-2011 02:18 PM
[SOLVED] Adding Unallocated space to extended partition kdelover Linux - Newbie 9 08-13-2011 11:03 AM
[SOLVED] unable to create partition in unallocated space adityavpratap Linux - Hardware 3 07-05-2011 03:31 AM
unallocated partition in gparted sourabh.sinha Linux - Newbie 1 06-27-2010 04:13 PM
[SOLVED] Assign unallocated space to existing partition. EricTRA Debian 5 09-16-2009 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration