Installer sets Max size for root partition ("/") to 20 GB

Hello.

When Installing opensuse 12.2 it doesnt seem possible to set the root partition to be greater than 20 GB.
My hard drive now (after install) looks like below. Before I installed opensuse I had sda1->5 (windows 7 already installed and an extended partition laid out ready for linux).
The installer created sda6,7,8
The installer wouldnt let me set the size of sda7 bigger then the value it initially suggested … -exactly- 20 GB
I tried shrinking “/home” (ie sda8) to make plenty of room but it made no difference. It insisted 20 GB was the maximum size for sda7 ("/")
Any idea why?

Thanks in Advance

> sudo /usr/sbin/fdisk -l 
                                
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: 0xa3aaf7bc                                                                                                                                                                                                                  
                                 
  Device Boot      Start         End      Blocks   Id  System                                                                                                                                                                               
/dev/sda1            2048      206847      102400    7  HPFS/NTFS/exFAT                                                                                                                                                                      
/dev/sda2          206848   409599999   204696576    7  HPFS/NTFS/exFAT                                                                                                                                                                      
/dev/sda3   *   409600000  1953521663   771960832    f  W95 Ext'd (LBA)                                                                                                                                                                      
/dev/sda5       409602048   921602047   256000000    7  HPFS/NTFS/exFAT                                                                                                                                                                      
/dev/sda6       921604096   925825023     2110464   82  Linux swap / Solaris                                                                                                                                                                 
/dev/sda7       925827072   967772159    20972544   83  Linux                                                                                                                                                                                
/dev/sda8       967774208  1953503231   492864512   83  Linux  

It certainly is possible to make your / partition larger. But as it is a bit difficult for you to describe what you tried to do in the installer, it is even more difficult for us to guess that.

I would go for Custom partitioning and first delete sda8 from the list. Then change the size of sda7. And then create sda8.
That must be possible. Deleting from end up to the begin *until where it is OK) and then creating from there down again is the most handu way IMHO.

BTW 20GB is adequate for most people (I have about 5 Gb used inmy 20 Gb /). But that is of course up to you.

(BTW, are you sure you copied/pasted that fdisk listing straight from the terminal in between the CODE tags? It looks a bit strange)

The partitions need to be contiguous. Since sda7 is physically located before sda8, you’ll need to delete sda8 before you can resize sda7. Shrinking sda8 just opens up space at the end of the drive, which isn’t of use to sda7.

Not quite sure why you need it to be so big; my / partition has never got to 10Gb and I’ve managed with as little as 6 or 7 in earlier days. If you need extra space for /var or /usr, you should probably make them separate partitions.

Thanks for the clarifications.
I obviously presumed the installer would (be smart enough to) move the partitions into freed up space if I wanted to enlarge one (especially since it hadnt really created anything yet but had only made a partitioning suggestion).
Im sure manually doing the moving would do the trick.

Thanks.

You can do most anything partition related from the installer. It defaults to 20 gig max root size. If you want it differnent take control and set what you need.

If your focus is on ‘why’ this happens, then I, and probably very few others, would be able to help you.

If, on the other hand, you would like to have a different setup, then choosing ‘create partition setup’ during
installation would give you any possibilities to select the sizes of the different partitions,
i.e. without any restrictions, except perhaps for the physical size of your hard disk drive.

What is a bit nasty is that you anyway will have to correct for the not requested suggestions of the installer,
that still find their precipitation in the suggested partition layout that you find when starting from ‘create partition setup’.

The best thing for me usually has been to create the partitions before installation,
take a sheet of paper (literally !) to note the order and size of the different partitions,
boot from the installer DVD,
choose ‘create partition setup’,
and then re-adjust the sizes of the partitions (that have been altered by the installer) to the desired sizes,
and perhaps set a few more options
(in effect, the partitioner during installation is the same as that used through YaST).

Good luck
Mike

On Tue, 19 Feb 2013 16:06:01 +0000, p8mode wrote:

> When Installing opensuse 12.2 it doesnt seem possible to set the root
> partition to be greater than 20 GB.
> My hard drive now (after install) looks like below. Before I installed
> opensuse I had sda1->5 (windows 7 already installed and an extended
> partition laid out ready for linux).
> The installer created sda6,7,8 The installer wouldnt let me set the size
> of sda7 bigger then the value it initially suggested … -exactly- 20
> GB I tried shrinking “/home” (ie sda8) to make plenty of room but it
> made no difference. It insisted 20 GB was the maximum size for sda7
> ("/") Any idea why?

It’s part of the automatic proposal. You can override it, but to do so
you have to manually create the partitions.

I had a look at this not long ago, and actually managed (in VirtualBox)
to create a setup with a couple TB of / partition space and several more
TB of /home space.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On Tue, 26 Feb 2013 22:36:01 GMT, ratzi <ratzi@no-mx.forums.opensuse.org>
wrote:

>
>p8mode;2528536 Wrote:
>> Hello.
>>
>> When Installing opensuse 12.2 it doesnt seem possible to set the root
>> partition to be greater than 20 GB.
>> My hard drive now (after install) looks like below. Before I
>> installed opensuse I had sda1->5 (windows 7 already installed and an
>> extended partition laid out ready for linux).
>> The installer created sda6,7,8
>> The installer wouldnt let me set the size of sda7 bigger then the value
>> it initially suggested … -exactly- 20 GB
>> I tried shrinking “/home” (ie sda8) to make plenty of room but it made
>> no difference. It insisted 20 GB was the maximum size for sda7 ("/")
>> Any idea why?
>
>If your focus is on ‘why’ this happens, then I, and probably very few
>others, would be able to help you.
>
>If, on the other hand, you would like to have a different setup, then
>choosing ‘create partition setup’ during
>installation would give you any possibilities to select the sizes of
>the different partitions,
>i.e. without any restrictions, except perhaps for the physical size of
>your hard disk drive.
>
>What is a bit nasty is that you anyway will have to correct for the not
>requested suggestions of the installer,
>that still find their precipitation in the suggested partition layout
>that you find when starting from ‘create partition setup’.
>
>The best thing for me usually has been to create the partitions before
>installation,
>take a sheet of paper (literally !) to note the order and size of the
>different partitions,
>boot from the installer DVD,
>choose ‘create partition setup’,
>and then re-adjust the sizes of the partitions (that have been altered
>by the installer) to the desired sizes,
>and perhaps set a few more options
>(in effect, the partitioner during installation is the same as that
>used through YaST).
>
>Good luck
>Mike

You betcha. I thoroughly preplan my repartitioning every time. I often
do the (re-)partitioning before install as well. I certainly did when i
upgraded a win8 laptop with win7 and space for openSuse. It is a GPT and
UEFI system. Having some trouble getting oS12.1 to boot correctly though.

?-)