LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-17-2013, 12:29 PM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Rep: Reputation: 1
Partition resizing is not allowed on opensuse 12.3


Hello,

I have windows 7 on my PC and a 45 GB free space as an "extended drive" which I would like to allocate to opensuse 12.3. The configuration is as follows:

/dev/sda 149.05 GB
/dev/sda1 57.49 GB HPFS/NTFS
/dev/sda2 45.79 GB Extended
/dev/sda5 45.78 GB HPFS/NTFS New Volume
/dev/sdb1 2.01 GB F Linux Swap Swap
/dev/sdb2 5.83 GB F Linux native Ext 4 /
/dev/sdb3 7.28 GB F Linux native Ext 4 /home

The extended drive is empty and I want to use it to resize home and root drives. But I am not allowed to increase the sizes of these drives.

I would be grateful for all your suggestions.
 
Old 03-17-2013, 12:36 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
/ and /home live on a separate physical disk according to that output. The extended partition is on sda, / and /home are on sdb. Besides, the space on that extended partition is already being taken up by sda5.

Last edited by suicidaleggroll; 03-17-2013 at 12:37 PM.
 
Old 03-17-2013, 01:36 PM   #3
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by suicidaleggroll View Post
/ and /home live on a separate physical disk according to that output. The extended partition is on sda, / and /home are on sdb. Besides, the space on that extended partition is already being taken up by sda5.
does it mean that we can never allocate a free space to linux when it is on sda? Also the extended partition is not being taken up by sda5.
 
Old 03-17-2013, 01:48 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Quote:
Originally Posted by sryzdn View Post
does it mean that we can never allocate a free space to linux when it is on sda?
You can't expand a partition on one drive using available space from another drive.
 
Old 03-17-2013, 01:54 PM   #5
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by suicidaleggroll View Post
You can't expand a partition on one drive using available space from another drive.
Sorry, it seems that I am confused.

I had three partitions in windows. I just deleted one of them (Which is now that extended drive, and it is deleted and therefore does not contain anything).

My intention was to use this empty space to install linux (opensuse 12.3). Isn't there really a way to take it up for the new installation?
 
Old 03-17-2013, 02:34 PM   #6
Captain Pinkeye
Member
 
Registered: Oct 2012
Location: The Czech Republic
Posts: 279

Rep: Reputation: 96
The problem is you can't have a partition spanning two different physical drives (sda1 & sda2). You couls merge sdb2 & sdb3 into new root partiiton and use sda5 as home, but you would need to reinstall. Or you could format sda5 to any linux filesystem and mount it into home (for example) as a directory.
Or maybe use LVM, but i can't advise you with that and you would need to reinstall anyway.

---------- Post added 03-17-13 at 07:34 PM ----------

Quote:
(sda1 & sda2)
I meant sda & sdb.
 
Old 03-17-2013, 03:03 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
also the "/" ( root partition ) is way to small
------------
"dev/sdb2 5.83 GB F Linux native Ext 4 /"
------------
it should be at the VERY LEAST 8 gig -- at the very low end of the normal sizes
with 15 to 20 gig an average
or
using LVM
 
Old 03-17-2013, 09:17 PM   #8
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Mint
Posts: 410

Rep: Reputation: 82
What you think is an empty drive is actually not empty. Sda2 is just the extended container for whatever partitions are in it, which in this case would be sda5. It appears you have some empty space somewhere, but you can't resize sda2 if there's no empty space outside it.

Also, as the other persons pointed out, your Linux partions are on sdb, which is another physical hard drive. There's no way to attach that space to another physical hard drive without using raid jbod or lvms, which you can't really do after the fact.

Last edited by guyonearth; 03-17-2013 at 09:19 PM.
 
Old 03-17-2013, 09:32 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Quote:
Originally Posted by sryzdn View Post
Sorry, it seems that I am confused.

I had three partitions in windows. I just deleted one of them (Which is now that extended drive, and it is deleted and therefore does not contain anything).

My intention was to use this empty space to install linux (opensuse 12.3). Isn't there really a way to take it up for the new installation?
From what you said here, you want to re-install OpenSUSE using this new space, rather than expanding your current partitions (which is what you asked about in the subject of this thread and your original post)?

In that case, sure, you can install OpenSUSE from scratch and use that available space. However, as I pointed out before (and as guyonearth pointed out more recently), sda2 contains no available space. It is simply an extended container for more partitions, which appears to be used up in its entirety by sda5, another NTFS partition.

Now, assuming you do actually have ~50GB of unallocated space on sda (which is probable considering it's a 150GB drive and only ~100GB are currently allocated, what I would do is reinstall your OS with the root on sdb, and the swap and /home partitions on your unallocated space on sda. This will give you approx 15GB for /, and 40-50GB for /home (depending on how much you allocate for swap and how much is actually available on sda), which should be a pretty good setup.

Last edited by suicidaleggroll; 03-17-2013 at 09:55 PM.
 
Old 03-18-2013, 09:17 AM   #10
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Original Poster
Rep: Reputation: 1
Hi,

I managed to install opensuse 12.3 by LVM finally and I allocated the empty space using LVM. But, it seems that I will have problems with it and it is not at all as easy as 1-2-3 for me. (Very much unlike the former versions)

I am receiving a warning on "Low disk space on "boot" warning that says I only have 1.4 MB disk remaining. I don't understand this issue!!!
Besides, when I was installing it, I considered an space for "home" but now I see that I have only the root. Is there a way to add home after installation?

Also, during the installation, when I was choosing the disk spaces, I did not tick creating a home space automatically, because in that case opensuse would shrink the windows partitions which I did not want it to.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Resizing partition in VHD file - root partition first, swap second (*Advanced*) dpesios Linux - Virtualization and Cloud 2 05-18-2012 06:50 AM
Resizing partition in VHD file - root partition first, swap second (*Advanced*) dpesios Linux - Virtualization and Cloud 3 05-17-2012 12:53 PM
[SOLVED] Windows boot partition got unallocated after resizing partition mike54 Linux - Newbie 5 10-28-2011 03:18 PM
resizing PV does not work (lvm) after resizing partition deadeyes Red Hat 5 03-11-2011 12:19 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 01:42 PM


All times are GMT -5. The time now is 04:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration