Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Partitioning extended/logical (and recommendations)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
P1neapple
n00b
n00b


Joined: 18 Jul 2014
Posts: 35

PostPosted: Tue Jan 27, 2015 5:05 am    Post subject: [SOLVED] Partitioning extended/logical (and recommendations) Reply with quote

I have a 300GB HDD. (4GB RAM)

sda1 97.7 GB Windows C drive
sda2 100.5 GB Windows D drive
sda3 tiny 1k extended partition thing
sda5 logical 96.1GB Linux Mint partition (/)
sda6 logical 3.9GB swap

I believe I should certainly make the Windows D drive smaller (maybe down to 50GB)

I want to remove Linux Mint and replace it with Gentoo :D

I do not use hibernate despite being on a laptop, so I don't think I need such a huge swap partition. (but I might have it just in case I want to hibernate one day...)

I'm pretty new to using parted.

If sda1 = 1
sda2 = 2
sda3 = 3
sda5 = 4
sda6 = 5

Then I could go
Code:
rm 5
rm 4
rm 3


But how would I create an extended partition :?: (I need it because I'm using BIOS/MBR)

Also, feel free to post partitioning recommendations :D

(I was thinking 128MB /boot primary, then extended, logical 512MB/4GB swap, logical everything else /)

So could someone walk me through creating extended/logical partitions with parted? Thanks in advance

EDIT: If it would be easier, you could instead tell me how to do it in fdisk, but parted is more modern according to the handbook)
_________________
Gentoo currently running in Virtualbox, hoping to switch to real hardware soon...


Last edited by P1neapple on Wed Jan 28, 2015 1:05 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Tue Jan 27, 2015 5:48 am    Post subject: Reply with quote

For your first install, backup everything you might possibly want to keep completely. It is too easy to kill everything in the learning process and you don't want that to be the final word.

Second, I recommend you use the system rescue CD. It will let you do the partitioning in a friendly X environment with nice pictures so you will have the best possible chances for success. Nothing changes in the handbook, it is just a much better install media.

I would use the windows tool to shrink the D drive as small as possible (nothing new should go on it. D is supposed to be a restore partition only)

Using your partitioning tool under linux, then delete sda6, sda5, and then create the partitions you want. I recommend on your first attempt you should definitely KISS. I would do a 32 mb or a 64 mb /boot partition, 4 Gib swap partition and make the rest /.

You don't even need to touch the partition table. You can just make your new file system over the Mint / and not bother with this step. It will destroy all data on the partition, but no need to reinvent the wheel.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
P1neapple
n00b
n00b


Joined: 18 Jul 2014
Posts: 35

PostPosted: Tue Jan 27, 2015 6:46 am    Post subject: Reply with quote

Thank you for your reply!

Windows was preinstalled on this laptop, and I believe the D drive has some necessary components (and it is where my sort of "home" folder stuff is, but on Windows ;)). Of course I will backup, backing up is good :D

I will probably use the in built Windows tool to shrink the D drive so that it doesn't complain too much ;)

I already practised in virtualbox, and I succeeded on my first go! I believe I am ready, it's all a matter of when I can be bothered to switch to it full time :/

Now that you mention it, I should probably just keep the partition table as is (without separate boot partition) and focus on Gentoo rather than trying to keep my hard drive in one piece :P
_________________
Gentoo currently running in Virtualbox, hoping to switch to real hardware soon...
Back to top
View user's profile Send private message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 340
Location: Stockholm

PostPosted: Tue Jan 27, 2015 10:28 am    Post subject: Reply with quote

I have no swap partition at all. In the few cases when swap space is needed I simply allocate a file as swap. (mkswap and swapon).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum