LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2012, 01:35 AM   #1
dr_basketball93
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Rep: Reputation: Disabled
"Unusable Space" during installation even though I don't have 4 primary partitions?


I have a 256GB Samsung SSD on my laptop and there are 2 primary partitions (oem and os) as well as 1 logical partition (recovery). I have about 22 GB of free unallocated disk space at the end of all these partitions. However while installing Debian or any other Linux distribution for that matter, after creating one partition (eg /boot) it does not allow me to create any other partitions, and says that the remaining disk space is "unusable". Here is a screenshot of Windows Disk Management :
http://s7.postimage.org/h4zom7ty3/diskmanager.png

What could be the problem and how do I fix it? Thanks.

PS If I install Linux and Grub on my external HDD, would I still be able to boot without connecting my external drive at boot time?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-01-2012, 02:09 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You have to create extended with locals within it. With debian you can choose "Use contiguous Free Space" "Guide Partitioning" & let it setup additional partitions.
 
Old 02-01-2012, 02:10 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Simple solution is don't create a /boot partition. Use just one partition (22 Gig) for the complete install - no (separate) /boot, no /home.
Use "expert" mode on the partitioning in need.

Pretty ugly, but your choices are limited due to the lame layout you've been lumbered with.

Edit: @EDDY1, the OP already has an extended - for that logical. Like I said, lame ...

Last edited by syg00; 02-01-2012 at 02:12 AM.
 
Old 02-01-2012, 02:23 AM   #4
dr_basketball93
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
If I choose guided partitioning, it will still let me dual boot right?
 
Old 02-01-2012, 02:27 AM   #5
dr_basketball93
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Unhappy

Doesn't Linux require different partitions like swap for hibernation etc? What other problems would I run into if I install everything on one partition? And I still don't understand why it. says unusable space!
 
Old 02-01-2012, 02:33 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Oops ... forgot about swap ...

As it happens, Linux will run without swap, but you probably don't want to go there.

Any partition you create will be the fourth. At which point you are rooted re using any other space. This is not a Linux restriction, but a hangover from MSDOS. Blame M$oft.
 
Old 02-01-2012, 02:48 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
In these sort of situations I just delete the lot, and re-install Windoze, then create a large extended, and use logicals as I see fit.
I find the OEM and recovery partitions useless - presumes you have (real) Windoze CDs/DVD; vendors seem averse to providing them these days.
 
Old 02-01-2012, 04:58 AM   #8
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
Originally Posted by dr_basketball93 View Post
.....Here is a screenshot of Windows Disk Management :
http://s7.postimage.org/h4zom7ty3/diskmanager.png
....
UGH!! Did it come installed that way?

Honestly i would reisntall the whole thing making reasonable partitioning, and also with Linux alone on it, because it would need way less room for the system / leaving a lot more room for /home, plus with SSD the speed... it would FLY !!

Here Ubuntu on an 80GB disk you can see the usage is minimal:
Code:
$df
Filesystem            1K-blocks      Used Available Use% Mounted on
/dev/sda5              10283640   3802660   5958588  39% /
/dev/sda1                292509     74436    202969  27% /boot
/dev/sda7              61027220    320084   57607132  1% /home
Now win7 just the OS will take about 20GB with all updates.


Regards

Last edited by ukiuki; 02-01-2012 at 09:12 AM. Reason: typo
 
Old 02-01-2012, 06:08 AM   #9
dr_basketball93
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Alright, so I thought that there was a limit of 4 primary partitions but it seems as if there is a limit of 4 partitions in general. That sucks.

Yeah lol Dell shipped it that way. I do have the original Windows 7 DVD that came with it but not at the moment. I am kind of hesitant about deleting the OEM partition since that contains all the diagnostic tools. I don't know what the recovery partition is holding at the moment though. Maybe I could just delete that?
 
Old 02-01-2012, 09:05 AM   #10
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
From the look of the diskmanager screenshot, you have the OEM partition, a logical partition, then the windows partition (an odd arrangement, that).

So, use either such tools as windows provides for partition management, or gparted from a liveCD, as follows:

1) drag the right hand end of the windows partition to the right to take up the free space.

2) drag the left hand end of the windows partition to the right to resize windows partition to the original size.

That will, in effect move the free space to the left.

3) extend the logical partition to the right to take up the free space.

4) make your Linux and swap partitions inside that logical partition.
 
Old 02-01-2012, 04:20 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by dr_basketball93 View Post
Alright, so I thought that there was a limit of 4 primary partitions but it seems as if there is a limit of 4 partitions in general. That sucks.
Nope - you were correct the first time. That logical exists within a special primary partition called an "extended partition" (a container for logical partitions). More than one logical can be created if space exists within the extended. That is what @bigrigdriver is trying to explain.
However;
- it is the extended, not the existing logical that needs to be enlarged in 3)
- all new partitions must be then created as logicals, not just swap. This is not an issue for Linux, but may be for some distro installers in default partition layout.
- I didn't suggest this as I've never been successful in moving the (main) Windoze partition. Usually needs some registry hacks. Hence I find a clean-out and re-install better. Linux is (infintely) more flexible and accommodating in being moved around.
 
2 members found this post helpful.
Old 02-01-2012, 09:20 PM   #12
dr_basketball93
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
^Thanks a lot! That really helped clear up some of the questions I had!
I'll try to work something out now.
 
Old 02-03-2012, 05:38 AM   #13
dr_basketball93
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
OK one more question : if I use partition wizard to move the beginning of my OS partition to the right, as suggested above, would it cause any problems?
 
Old 02-03-2012, 11:15 AM   #14
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
In my personal, biased opinion, one should never, never, NEVER, go mucking about with partition boundaries without first making backups of affected partitions onto separate storage media, such as cd, dvd, or another hard drive.

Failure to follow this advice could leave you, in biblical terms, wailing, gnashing your teeth, and uttering numerous mea culpas.
 
Old 02-03-2012, 11:16 AM   #15
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
With gparted-live-cd you can just drag(move) the whole partition to the right, but you have to put mouse in the center of the partition.
It will also show where the free space actually is.
Can you post the output of
Quote:
fdisk -l
 
  


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
Debian / Wrong free space / "du" and "ls" show different space use brgsousa Linux - Software 3 02-25-2010 11:55 AM
New partitions and "used space" query. uncle-c Linux - Newbie 2 11-17-2007 01:39 PM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 06:19 PM
Space "consumed" by ReiserFS: is ext3 better for small partitions? 3point2 Slackware 3 01-30-2006 08:48 AM
REd hat linux 8.0 installation fail with error message "insufient disk space" drweirdow Linux - Newbie 1 07-16-2003 07:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:17 AM.

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