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.

  • BrianTheeBiscuiteer@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    7 hours ago

    If the laptop supports dual drives (not unheard of but not the norm) it’s way safer to dual boot from different physical drives.

    Whatever OS you choose make sure they have a guide for dual-booting. Any Linux OS should be capable of dual-boot but not all will support that configuration equally.

    As a failsafe I would also make a rescue USB, especially SystemRescue because of the findroot option.

    • TheBakedPotato@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      I dual booted a machine and I had to even unplug my windows drive to get it to install a Linux distro on the other drive. Windows really does not like playing nice with dual boot systems so it is always best to keep Windows on its own drive.

  • BRINGit34@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    5 hours ago

    I wouldn’t recommend duel booting on one drive.

    I’ve done it before and hated it. As many pointed out windows will just destroy that partition because it wants to.

    I’d honestly just stick with windows if you are going to need it.

    If you don’t need it I’d just wipe the drive and install mint.

    Duel booting can work well but usually only on separate drives

  • SkavarSharraddas@gehirneimer.de
    link
    fedilink
    arrow-up
    14
    ·
    9 hours ago

    Make sure to disable Windows hybrid sleep. If your system isn’t shutdown properly and you access the Windows partition from another system that can destroy data.

    If you just want to keep the data on the Windows partition and usually don’t need to run Windows, I’d remove the Windows drive and keep it somewhere safe, and get another SSD for Linux. That way, the two systems are completely separate and can do nothing to each other.

    Swap is mostly a crutch for too little RAM, if the system doesn’t have enough the best solution would be an upgrade. If that’s not possible, consider zram-swap, or if you have to, swap to an SSD (that will reduce its lifespan, though maybe not in a relevant manner). If you swap to an old HDD you won’t have much fun using the system.

  • Maxy@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    18
    ·
    10 hours ago

    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.

  • daisyKutter@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    10 hours 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
      4
      ·
      10 hours 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
        6
        ·
        10 hours 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
        4
        ·
        10 hours 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.

  • kittenzrulz123@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    5 hours ago

    Windows will actively attempt to destroy your Linux partition at every opportunity, you can dual boot but it won’t be a fun experience.

    • FrameXX@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 hours ago

      I dual boot Fedora with secure boot enabled for half a year already on my notebook with exactly 0 problems. Did few Windows updates already.

  • Diplomjodler@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    10 hours ago

    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.

    • r00ty@kbin.life
      link
      fedilink
      arrow-up
      3
      ·
      9 hours ago

      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.

  • Rentlar@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    10 hours ago

    You probably know most of it so just some advice: Don’t format the Partition table (MBR to GPT etc.) on the disk whose data you wish to keep.

    Shrinking a partition or moving it carries a small risk of data loss and will take significantly longer than creating a new partition (since data needs to be cut and pasted from one area of the disk to another). If your old laptop has an empty slot for another SSD or NVME drive you can plug that in, and still dualboot and having the new drive Linux only.

    Also to deal with the occasional Windows cockups, just carry a boot-repair USB, the auto repair has fixed the Windows issue for me 90% of the time (the other times are usually boot order priority or other BIOS setting)

  • traches@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 hours ago

    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.
    • unexposedhazard@discuss.tchncs.de
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      10 hours ago

      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.

    • BlackRoseAmongThorns@slrpnk.netOP
      link
      fedilink
      arrow-up
      1
      ·
      10 hours ago

      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

      • traches@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 hours ago

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

    • BlackRoseAmongThorns@slrpnk.netOP
      link
      fedilink
      arrow-up
      3
      ·
      10 hours ago

      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)

      • MyNameIsRichard@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        10 hours ago

        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.

      • XTL@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        9 hours ago

        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.

      • neanderthal@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        10 hours ago

        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.

        • BlackRoseAmongThorns@slrpnk.netOP
          link
          fedilink
          arrow-up
          3
          ·
          7 hours ago

          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 :)

          • FrameXX@discuss.tchncs.de
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            4 hours ago

            AFAIK on most distros and desktop environments the default file nanager can read NTFS partitions without any further setuo needed.

          • neanderthal@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            6 hours ago

            Oh, you mentioned you don’t want to keep a backup of the entire drive. That is fine, but absolutely back it up before starting the install.

            I would just boot a live Linux image and dd the entire device file onto some sort of storage. That way you can get a bit for bit copy of the drive that you can make it how it was before you touched it. When all is well, then you can ditch the backup. It wouldn’t be a bad idea to keep if the stuff is important. Storage devices do fail.

          • neanderthal@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            6 hours ago

            Yes.

            To do this, open a terminal, and do this:

            sudo apt search ntfs

            It will be called something like ntfs-progs or ntfs-fuse or both.

            Then:

            sudo apt install PKG1 PKG2

            Alternatively, the synaptic package tool has a nice GUI