




sudo swap-off /dev/sda5sudo blkid
It is normal and better to put all your linux partitions inside an extended partition container because it provides more flexibility, but it is difficult to change what you have now. You would have to delete sda5 and then sda4, then shrink sda3 to, say, 20GB. Then move sda3 to the end of the disk. Then create an extended partition container between sda2 and sda3. Then create a logical partition, sda5. Then copy the contents of sda3 into sda5. then delete sda3. Then resize the extended to the end of the disk. then create a swap partition at the end then resize sda5. Then it won't boot so you'll have to use a live CD to fix grub using chroot.


mintybits wrote:It is normal and better to put all your linux partitions inside an extended partition container because it provides more flexibility, but it is difficult to change what you have now. You would have to delete sda5 and then sda4, then shrink sda3 to, say, 20GB. Then move sda3 to the end of the disk. Then create an extended partition container between sda2 and sda3. Then create a logical partition, sda5. Then copy the contents of sda3 into sda5. then delete sda3. Then resize the extended to the end of the disk. then create a swap partition at the end then resize sda5. Then it won't boot so you'll have to use a live CD to fix grub using chroot.
wm009 wrote:How should one normally have their partitions set up? I was reading that you should have / on one partition and /home/ on another.

If you're unsure, my recommendation is to use root (/), swap, /home, and perhaps /boot. This is sufficient for most casual and home users, and they're relatively easy to size -- 5-30GiB for root (/), 200-500MiB for /boot, 1-2x your RAM size for swap, and whatever's left for /home.


wm009 wrote:If you're unsure, my recommendation is to use root (/), swap, /home, and perhaps /boot. This is sufficient for most casual and home users, and they're relatively easy to size -- 5-30GiB for root (/), 200-500MiB for /boot, 1-2x your RAM size for swap, and whatever's left for /home.
Okay. This sounds like the right thing to do. The problem is that it leaves no room for Windows. Unless we're talking about extended partitions, which I'll have to look into to further understand. I'll see what I can do first.
mintybits wrote:There is no need for a separate boot partition unless you intend to do something exotic like encrypt your root partition. Keep it simple is my recommendation - root and swap. You can always alter it later when you are more knowledgeable.


wm009 wrote:So here's a question.
If I wanted to set up my partitions again (from scratch), where I had Linux Install, Home drive, Swap and Windows. How do you go about doing it that way? Would you have to install linux before windows?
Model: ATA WDC WD6400AAKS-7 (scsi)
Disk /dev/sda: 640GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 10.5GB 10.5GB primary ext4
2 10.5GB 15.7GB 5240MB primary linux-swap(v1)
3 15.7GB 125GB 109GB primary ntfs
4 125GB 640GB 515GB extended
5 125GB 337GB 212GB logical ntfs
6 337GB 396GB 59.4GB logical ext4
7 396GB 450GB 53.1GB logical ext4
8 450GB 472GB 22.1GB logical ext4
9 472GB 609GB 137GB logical ntfs
10 609GB 624GB 15.2GB logical ext4
11 624GB 627GB 3601MB logical ext4
12 627GB 640GB 12.7GB logical ext4

wm009 wrote:Thanks for the reply and the detailed response. For me, I guess this concept of extended partitions is new to me. Is this something that you can only do in linux? I've been reading up on it and I seen the suggesting of using two partitions; one for linux and one for windows. And use extended partitions for breaking it up for whatever.

wm009 wrote:For me, I guess this concept of extended partitions is new to me. Is this something that you can only do in linux?


mintybits wrote:Imaging that the TOC has 4 primary entries for partitions and unlimted "secondary" (for some reason they have been called extended or logical) entries.
It is not the case that logical partitions are literally "inside" an extended partition...this is just a conceptual thing.
GPT...is not well supported by linux's boot loader and as far as I know it is still a right pain in the arse to make linux boot off a GPT TOC disk. It is no problem at all to have a GPT disk in your system for storing files and such, it is just a pain to install and boot off.
If you are new to linux and aren't a bleeding edge technology fetishist, I'd recommend keeping things simple for now. Use MS-DOS (aka MBR partitioning) and install Windows first, as has already been suggested. You then hve 2 primary slots for linux root and swap. Simple.
Everything can be changed later, if you need to, so don't get too hung up about it.


mintybits wrote:I am interested to know what works with GPT and UEFI with vanilla linux and what doesn't. I have not yet needed to install to GPT nor use UEFI. I know there are work-arounds and extra software that can be applied, but I don't know what works and what doesn't out of the box. For example, can a novice install Mint 14 "out of the box" to:
i) bios + GPT
ii) UEFI + GPT
iii) the above with Windows already installed

Users browsing this forum: No registered users and 22 guests