Got an old laptop from a friend I’d like to rejuvenate, the plan is to set up a light distro so it wouldn’t be as slow as it is right now with windows 10.

Now, I’m aware windows updates can fuck up a dual boot system, so i have a few questions about how to minimize the threat of that happening.

What i think of doing is running a few scans to check the disk, then setting up Linux Mint, because it is beginner friendly, and (relatively) light weight.

What I’d need help with is trusted guides and also tips for setting up dual booting, I’m sure I’ll need to do disk partitioning and I’ve done that before but I’d still want to make sure I’m doing it correctly.

Any help would be welcome.

17 points

The Linux mint installer has an option built-in to create a dualboot. Just follow their guide and be sure to select “install alongside windows 10” at step 5.

permalink
report
reply
4 points

Following the guide as i write this :)

permalink
report
parent
reply
2 points

I haven’t done this recently enough to guide you on the details, but step zero is to decide whether you are certain you want to dual boot or not. It adds a lot of complexity and brittleness that is best avoided if at all possible.

  • Try to find Linux compatible replacements for the software you need.
  • if that doesn’t exist, see if you can run it on Linux with wine.
  • If that isn’t possible, consider running windows inside a virtual machine on Linux.
  • If you do want honest, bare-metal windows then using two different physical drives will be easier and more reliable. Ideally your laptop has room for two drives, otherwise you can dangle a USB SSD (not a flash drive). Windows won’t install to a USB drive but Linux doesn’t care.
permalink
report
reply
3 points
*

Yeah for anything except some games, wine/lutris or a virtual machine will work wonders. Not having to reboot is much nicer. You can also consider booting windows off a fast usb stick or usb ssd.

permalink
report
parent
reply
3 points

For me personally, having to reboot is part of why I like my dual boot. I have adhd, so it’s good to keep gaming entirely separate from anything productive.

permalink
report
parent
reply
2 points

Thats a good point tbh. Nice brain hack

permalink
report
parent
reply
1 point

I’m going to use it for software development as im studying software engineering in uni, so probably not much else, and windows is the old OS of said device, so i just need to limit the windows partition and make a new linux one

permalink
report
parent
reply
1 point

Your best option by far is to overwrite windows completely. For most software development Linux is way better anyway.

permalink
report
parent
reply
-4 points

@BlackRoseAmongThorns why? 🤔 😂 fuck dual boot, boot directly into Linux

permalink
report
reply
2 points

Kinda need the old OS, it’s a close friend’s computer and it took too long to get just a few files out of it, i want to keep the rest just in case we missed something.

(Also I don’t want to just backup the whole ass hard drive)

permalink
report
parent
reply
6 points

You’re messing with partitions which means there is the potential for data loss, be it hardware, human error, or a random cat. You should, if the data is important to you, have a backup.

permalink
report
parent
reply
2 points

You could leave the Windows installation and not dual boot. Linux can read NTFS volumes. You will probably have to install ntfsprogs or whatever it’s called.

permalink
report
parent
reply
3 points

If i understand correctly, i could leave the windows install as is, but disable it from appearing during boot, and install a program to read the files from the windows partition?

If so that’s actually a perfect solution :)

permalink
report
parent
reply
2 points
*

I’d get a new drive. Install a sane os and need tool and use that. They should be cheap these days. Put the old one in a safe place in case you need something from it. When you find it years on and notice that there was nothing important there after all, recycle it. That’s a much safer approach.

permalink
report
parent
reply
4 points

A couple of days ago I setted up my pc with dual boot; I recommend to install Windows first and then install the distro you want with a swap partition of at least 16Gb and on the linux install options choose GRUB as bootloader

permalink
report
reply
3 points

Thanks, a few questions, what is a swap partition, and why is it needed?

Also i have a ton of free storage so the linux install will probably have over 200gb in its partition

permalink
report
parent
reply
4 points

@BlackRoseAmongThorns @daisyKutter Swap is a place on disk that gets used as a slow, temporary place to put memory when your RAM is full. Windows uses a swap file on an existing partition, while Linux generally uses a dedicated partition instead (although you can use a swap file if you really want to).

Appropriate sizes for the swap partition are hotly debated. Twice the size of your RAM if you have a small amount, or the same size as your RAM if you have lots is a good approximation.

permalink
report
parent
reply
5 points

A swap partition is akin to the page file on Windows. The kernel will use it to move memory pages it doesn’t anticipate using in the near future to it so it can use that RAM for other things. It will also use it in a pinch when there isn’t enough RAM on the system. It isn’t strictly necessary, but it can prevent programs from crashing at a huge performance penalty. It is necessary if you want to use sleep or hibernate or whatever it’s called when it is powered off physically but resumes what you were doing instead of booting when you power it back on. That takes as much swap as you have RAM at minimum. If you want that, a good rule of thumb is 1.5 times physical RAM.

I have servers I administer for my job that have over 100GB of RAM with very little swap, like 4GB. The applications and machine are tuned and sized so the physical RAM is at ~85% and swap is barely used. The swap is mainly for non application stuff like IDS agent, backup agent, monitoring agent, etc.

If swap becomes a problem, you can adjust the kernel vm.swappiness parameter as needed. It might take some trial and error to get it right.

Source: I’ve been working with Linux professionally for almost 20 years now.

permalink
report
parent
reply
3 points

I did that once and it wasn’t a nice experience. Windows will always find ways to screw things up and you’ll constantly be dealing with their shitfuckery. Outside of gaming there aren’t really many reasons to stick with Windows and even gaming works great except on titles where it is explicitly sabotaged by the publishers. If you’re dealing with an older laptop, this likely isn’t a consideration anyway. If you’re unsure whether Linux is for you, my advice would be to install it in a VM first and see if it works for you. Chances are, you won’t miss Windows at all.

permalink
report
reply
1 point

Windows is the old OS i have a reason to keep, otherwise it would be all linux.

permalink
report
parent
reply
3 points

These days with UEFI it’s much less likely to break things. Worse case though you just boot from a LIVE USB boot, chroot in and rerun grub/your bootloader installer. Often even if windows puts its own bootloader first, you can choose your bootloader from the bios boot menu and just rerun the bootloader installer.

It used to be a lot worse.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 172K

    Comments