Partitioning harddrive for installing Linux alongside win 7.

Thread Tools Search this Thread
Operating Systems Linux Fedora Partitioning harddrive for installing Linux alongside win 7.
# 1  
Old 08-04-2019
Partitioning harddrive for installing Linux alongside win 7.

I'm planning on using two Linux OS's alongside win 7, one being Fedora KDE 30.

So to prepare for the install I partitioned my harddrive using the Minitool Partition Wizard. I have a 320 GB hdd, so I nade one partiotion about 80 GB forFedora and then left about 70 GB as unused, to later install another linux os on.

So first I was going to install Fedora KDE on the 80 GB partition. But it did not see it, instead it automatically went for the 70 GB part where I want to install Puppy Linux. It can't see the 80 GB partition. I tried to make it both unformated and Logical (as oposed to Primary) and then I tried to make it in the ext 4 format, But none of it worked.

How can I divide up the hdd so that I can first install the other linux OS on the smaller partition and then the Puppy Linux on the bigger 80 GB partition?
# 2  
Old 08-04-2019
You need to read up on Fedora disk partitioning requirements. I think that a separate /boot partition is still mandatory.

7.20.5. Recommended Partitioning Scheme

If you intend to dual-boot (or multi-boot) your system with Windows then, in my experience, it's usually recommended to install Windows first.

Additional but more basic reference:
An Introduction to Disk Partitions :: Fedora Docs Site
# 3  
Old 08-05-2019
There are a few restrictions in place you may want to know about:

Using the DOS partitioning schema allows only for 4 (primary) partitions. It is possible to create extended partitions but i suggest you avoid that as long as possible as it makes the setup more complex.

Windows usually uses only one partition. If you have Windows already installed there is probably one partition on the disk. Get a disk managing tool able to move and resize partitions (see below why).

For newer versions of Windows you need an "EFI" partition as first partition, which is part of the "UEFI" boot process. Originally it was intended to keep Linux out of PCs because it needs signed files and accepted signatures were only available for Microsoft. Today, though, Linux is able to create, manage and boot from UEFI-BIOSes too, so this poses no problem any more. Notice that you probably find a very small 16-bit DOS FAT (no VFAT!) partition at the beginning of your hard drive. This is the EFI partition.

Probably immediately after that is the Windows partition, nowadays probably of type NTFS. Typically it occupies the whole disk. Make room in front of it (approx. 512MB to 1GB is sufficient), then reduce it to the size you want Windows to occupy. The small room in front of the Windows partition will become the /boot filesystem and it will be shared by all Linux installations you want to have. The reason is that Linux has a LVM (logical volume manager) but cannot boot from a volume managed by it right now. You need a separate boot volume and this is it. Since only a few small files need to reside there it can be very small. Making it bigger is possible but a waste of space. I always put it at the beginning of the disk because once it was necessary for the boot process to have its physical location before cylinder 1024. I am not sure if this restriction is still in place or not (probably not, but i have never bothered to test), but just to be sure i always put the /boot partition at the beginning of the disk and be done. If it doesn't help it sure doesn't interfere anyways.

Next you create one LVM partition for each Linux you want to host. Note that they all share the same /boot partition and (located there) the same GRUB configuration. In case you intend to use another boot loader: don't. GRUB (grand unified boot loader) is at the moment to most reliable, despite all its quirks.

About file systems: you create them in logical volumes inside the LVM partition. Notice that the "modern way" in Linux is to have very few file systems and lots of "virtual" filesystems which will be emulated in RAM - i.e. /tmp. This is not a good idea at all and i suggest you create the following (real!) filesystems by hand if your installation process doesn't create them itself:

/             root
/usr          installed software
/tmp          temporary files
/home         user files
/var          logs, work files, queues, ...
/opt          additional software

Having all these separate file systems makes the system more stable because a full / or /var actually threatens a system. It is therefore wise to isolate such possible culprits as much as possible. Linux systems usually emulate /tmp in RAM if there is no such FS. I think this is a waste of RAM and i rather waste some disk space then valuable main memory.

I hope this helps.

These 2 Users Gave Thanks to bakunin For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

Trying to write a program to fill up my harddrive (Linux/C)

Hi guys, I'm trying to write a little program that will fill up my harddrive and will log the process during this. Now I've come up with this: #include <stdio.h> void main(void) { char cmd1; char cmd2; int i=1; sprintf(cmd2, "df -h"); while (i<=5) { system("dd... (3 Replies)
Discussion started by: Tiglet
3 Replies

2. IP Networking

snmp linux win

I use snmp protocol on linux, now I have to use snmp on win, i use pc linux. I have activated the service snmp on win but I can not question him on my linux pc, you have any suggestions? (1 Reply)
Discussion started by: fege
1 Replies

3. UNIX for Dummies Questions & Answers

How to copy MBR from old harddrive to new harddrive?

How do I copy the master boot record from one harddrive to another or how to install just the MBR? (7 Replies)
Discussion started by: shorty
7 Replies

4. Solaris

installing second harddrive

This is my first post i am a solaris newbie. I just purchased my first sun system. It is a sunblade 1000. It had a fcal 36gb hdd in it already so i purchased a secondary 36gb fcal harddrive to increase my harddrive space however, how do i get it to detect the second harddrive? I have tried boot -r... (2 Replies)
Discussion started by: crzywut
2 Replies

5. Linux

Mount a harddrive in linux.

Hey people i'm very new to linux. I just put a extra 200 gig maxtor HD in my computer. Linux can tell it's there...but it says it cant mount it. How do i mount it manually? thanks, John (2 Replies)
Discussion started by: RKJV
2 Replies

6. UNIX for Dummies Questions & Answers

win and linux

Hello everyone I have two disks one with win2000 and the other Im going to install mandrake10 . There is some way when Im finished to install mandrake when Im boot the machine I can make a selection or windows or linux. When I do this in a single disk I have no problem. but In this case... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

7. UNIX for Dummies Questions & Answers

How do you defragment you harddrive in unix (Madrake Linux 9.0)?

Subject says it all... (3 Replies)
Discussion started by: pudad
3 Replies

8. IP Networking

linux and win nt working together

I was wondering if anybody knew how to make linux and win nt and a novell server integrated there will be no workstations we are trying to get the servers together now we are currently working on Novel and NT and then we want to integrate the linux server into that. We know that we need Samba but... (3 Replies)
Discussion started by: linuxnewbie
3 Replies
Login or Register to Ask a Question

Featured Tech Videos