this post was submitted on 09 Dec 2023
34 points (94.7% liked)

Linux

48207 readers
785 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Will be installing either Mint or Pop_OS on a new laptop which has a 512gb SSD. Will keep Windows for gaming, at least for now, with the games installed on an external HD. But otherwise, this is to experiment with living in Linux.

I understand that I can unallocate HD space from Windows in order to make room for the LInux OS, leaving at least 25 or 30gb for the Linux OS itself.

Do I then extend that space further, so to speak, to allow for any other programs I might install as well as for data? Do I create a third partition for data that will be shared between the two OS?

What's a reasonable breakdown?

e.g.
Windows 100gb; Linux 400gb or
Win 100gb; Linux 30gb; Data (NTFS) 370gb?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (8 children)

Here are some of my tips for a stable dual boot:

  1. Always install windows 1st, it has a change to fck up the Linux bootloader if you install it after Linux.

  2. Make a separate home partition in Linux. Even through your best efforts, windows update can and does break other bootloaders from time to time, making a separate home partition allows you to avoid the pain of either wasting hours trying to recover your bootloader or losing all of your data on the root partition if windows fcks it up.

  3. Use a customized version of windows that has updates set to security only. You can use something like ReviOS or Atlas or ChrisTitus's windows debloater to set updates to security only by yourself.

  4. If possible, install windows and Linux on separate disks. This is not strictly necessary but I've found out that the 2 OSs play much nicer with 1 another if they are on separate physical disks.

Hope this helps!

[–] [email protected] 1 points 11 months ago (1 children)

I appreciate the tips, thank you. When you mention making a separate home partition in Linux: my understanding is that we unallocate hard drive space from Windows and, when we first install Linux, it will use that free space to make its own partition. Are you referring to another step, beyond that?

[–] [email protected] 1 points 11 months ago (1 children)

No, no, most Linux installers have the option to separate /home into it's own partition, because yesz you can put the /home directory on a separate partition and just mount it to /home on boot.

[–] [email protected] 1 points 11 months ago (2 children)

I looked into this little bit.

So on a 512gb hd an e.g. breakdown:

Windows 150gb
Linux / 30gb
Linux /home ? 70gb
Data (nfts format, shared with both os) 262gb (or whatever is actually left over)

(I'll have an external HD for games)

[–] [email protected] 1 points 11 months ago (1 children)

My opinion. Keep it simple and don't use a separate partition for home. You never know which directory will be larger (home or root). Just keep a live USB handy so that you can repair the bootloader or fstab or whatever config that got messed up. Keeping a separate partition is not that helpful because even if you mess up, you can easily access your data within the same partition using a live USB.

You're keeping a common NTFS partition so my advice is to store everything there (downloads, documents, media files) unless it specifically requires a linux filesystem (like app images). So whatever will be left in your linux partitions will be smaller, both in size and number, so you can take a backup easily in case your OS doesn't boot.

[–] [email protected] 1 points 11 months ago (1 children)

I appreciate the input, thank you. When you say live USB, is it one that contains the original data used to create the distro — like, e.g. what I'd download from Mint? Or do you mean to just copy the whole LInux partition (given that it's small enough) onto a USB?

[–] [email protected] 1 points 11 months ago

LiveUSB means a usb stick from which you can boot linux temporarily (in case of Ubuntu LiveUSB, the option says something like "try Ubuntu before installing") and which also provides you an option to install/reinstall the OS.

You can boot from a USB like that and still access and manipulate files on your SSD/HDD.

No hard requirement for it to be the same distro that you have installed, just convenient in case you want to reinstall.

[–] [email protected] 1 points 11 months ago (1 children)

Yep, smth like that, I'd make /home like 90gb personally, but 70 is also fine. Also beware, format your external drive as exFAT, not ntfs. Linux can run games from an ntfs partition, steam cannot (it's been an issue for a while)

[–] [email protected] 1 points 11 months ago

Huh. I was going to have an external HD for games with two partitions: a larger one for PC, formatted in ntfs, and a smaller one for Linux, for if I want to try gaming with it, and formatted in ext4. You're suggesting that both should be in exfat, instead?

load more comments (6 replies)