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.

  • daisyKutter@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    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

    • BlackRoseAmongThorns@slrpnk.netOP
      link
      fedilink
      arrow-up
      0
      ·
      6 days ago

      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

      • neanderthal@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        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.

      • rhys the great@mastodon.rhys.wtf
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        @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.