Partition

I have dual OS, Opensuse 12.2 and Windows 7. I want to increase the size of linux disk(/home) from the disk space of a Windows disk. I have mounted the windows disks in opensuse. I tried using yast partition manager, but I am not able to get it done. Please help.

Post a screen of what you see
Preferably using gparted (Parted Magic)

Chances are you will both have to resize and move partitions this is can lead to lose of data if something goes wrong. So you should first backup any important data.

It is sometimes better to let Windows resize its own partitions; in any case, if the space you release is at the end of the Windows partitions, you may have to decide whether to mount it as a separate (eg) /data folder or to repartition your Linux set up - that is, after you have backed everything up so that you can restore it to your new partitions - because the space you have released is probably going to be contiguous with swap.

As caf4926 says, really we need to see your current partitions to advise properly.

|Device
|
|Size
|Type
|FS Type
|Mount Point
|Start
|End
|
|/dev/sda
|232.89 GB
|SAMSUNG-HM251 JI
|||0
|30400
|
|/dev/sda1
|97.65 GB
|HPFS/NTFS
|NTFS
|/windows/C
|0
|12747
|
|/dev/sda2
|135.22 GB
|Extended
|||12748
|30399
|
|/dev/sda5
|70.22 GB
|HPFS/NTFS
|NTFS
|/windows/D
|12748
|21914
|
|/dev/sda6
|20.70 GB
|HPFS/NTFS
|NTFS
|/windows/E
|21914
|24616
|
|/dev/sda7
|2.01 GB
|Linux swap
|Swap
|swap
|26575
|26838
|
|/dev/sda8
|15.01 GB
|Linux native
|Ext4
|/
|26838
|28797
|
|/dev/sda9
|12.28 GB
|Linux native
|Ext4
|/home
|28797
|30399
|

I could not upload the image, but i managed to get the information on the table. I re-sized partitions in Windows, but still could not increase the linux partition with the size 12.28 GB

Do you speak about sda6? The less information you give, the harder you make for anyone to help.

but still could not increase the linux partition with the size 12.28 GB

Partition size can be increased only by adding to it immediately adjacent free space. The only free space you have is between sda6 and sda7 which is before both Linux partitions. To increase /home you would need to move everything starting from sda7 down. This can be done only offline. I believe, parted magic which was mentioned can do it.

Alternative is to create new partition in free space and build linear Linux MD array using current sda9 and new partition. This likely is not supported by YaST2 and has to be done manually.

Both procedures may result in data loss or corruption.

Do you really need sda6?

On 2013-04-17 10:06, ankit 6494 wrote:

> I could not upload the image, but i managed to get the information on
> the table. I re-sized partitions in Windows, but still could not
> increase the linux partition with the size 12.28 GB

The table is completely unreadable for forum participants using nntp,
like me.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

sorry if the information was not clear.
Yes I can reduce or even delete sda6, don’t require it.
Thanks for your answers, I guess now you could suggest me the most suitable way out

Thanks again

Well deleting it will let you add some meaningful space to /home

But honestly I’d backup what you have in /home
Delete 6,7,8,9
Re-make partitions as required
Re-install
Restore your files from backup

Whatever you decide to do, Gparted Live can be used to delete or move partitions holding data without losing the data.

As always, even if extremely reliable, this type of operation cannot be recovered without extreme luck and/or expense, so if the data is valuable, backup or copy all the data to other storage, eg external hdd.

TSU