Greetings.
Just to make sure I’m right I want to ask you people if is possible, in my case, to delete primary and secondary win partitions (C and D) and so to add that empty spaces to my current openSUSE / and /home partitions.
My linux root partition is a primary one as well so I guess that I can keep booting from it no matter if there isn’t the C win drive any more.
Disco /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3bef74b8
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 * 1 1020 8192000 c W95 FAT32 (LBA)
La partición 1 no termina en un límite de cilindro.
/dev/sda2 1020 8206 57719486 7 HPFS/NTFS
/dev/sda3 * 8207 10748 20418615 83 Linux
/dev/sda4 10749 19458 69952512 f W95 Ext'd (LBA)
/dev/sda5 10750 12799 16466625 7 HPFS/NTFS
/dev/sda6 12800 13060 2096451 82 Linux swap / Solaris
/dev/sda7 13061 19456 51375838+ 83 Linux
Want to delete /dev/sda2 (primary) and /dev/sda5 (secondary).
You can delete sda2, but really only use that free space with sda3
And if you delete sda5 the next partition is swap which you don’t want bigger do you. (you can get round this but it’s messy)
Also, consider that the partition table will change and so all the boot code in grub will be wrong and we need rewriting.
Would it be easier to just format those partitions and use the space for now, until you do a fresh install (perhaps 11.3), when you can start fresh and get it nice.
Actually I thought that I would have to play around to get that free space to the next linux partition (/home) and gparted or parted magic are good enough.
That is what I wasn’t sure before. Now you say that I’m seriously thinking in to just…
It’s not that it’s not possible, but it’s not for the faint hearted. Parted Magic would be the tool I would use, if I HAD to try and do as you were wanting.
My pref would be a backup, complete wipe and re-partitioning to Linux and no NTFS, if that was the way you were planning.
You know that if you use PMagic and format those NTFS partitions and give them labels: eg; STORE and MUSIC
Then make two new directories of the same names in /
You can then set mounts for them in fstab (you may have to # out any dynamic entries for the same partitions if they exist. See this guide: FSTAB - Editing Manually - openSUSE Forums
Just to make sure I’m right I want to ask you people if is possible, in my case, to delete primary and secondary win partitions (C and D) and so to add that empty spaces to my current openSUSE / and /home partitions.
If you are familiar with gparted/Parted Magic, then certainly.
If it were me I would delete sda2,move and resize sda3 to suit what you want,
Resize sda4 to fill the space,then delete sda5 and sda6 and resize sda7 to use all but the space required for swap.
Then recreate the swap partition and make any changes needed in FSTAB.
If this seems clear, and makes sense to you, Then the changes you want to make won’t cause you a lot of trouble.