If I have Linux installed on an SSD and I plug it into a Windows computer (a PC which I did not use to install linux onto the SSD), would I be able to use linux in that PC from the SSD?

  • bdonvr@thelemmy.club
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Maybe. You’d have driver issues for sure.

    Live USBs with persistence are a thing built for this

    • CAPSLOCKFTW@lemmy.ml
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      1 year ago

      No, they would not have driver issues “for sure”. It will work just fine most of the time and you can prepare the ssd for hardware that has problens withnlinux in general like some wireless chipsets.

      • bdonvr@thelemmy.club
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Well that’s my point. Like if you take a completely unprepared desktop install you’ll likely run into issues with things like wireless chipsets, Nvidia graphics, etc. I think using UUIDs in /etc/fstab is the default nearly universally now, but if not or if OP changes it manually they could run into boot issues with that. Also grub.cfg for similar reasons.

        Also have to consider EFI vs Legacy, secure boot, etc.

        • CAPSLOCKFTW@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Yes, using uuid is mandatory for that setup. Nvidia driver is only necessary if you want to use the hardware acceleration features, the basic display functions will work. And nothing forces you to not install intel, nvidia and amd drivers. You could also install the most common wireless drivers, if you know that you will use computers which rely on wifi for network connectivity and want to use the internet, which you don’t want in general.

          Efi vs mbr and secure boot are also issues for persistent live sticks.

  • CAPSLOCKFTW@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Yes, but with some preparation. First, secure boot has to be disabled. Then you need a FAT32 esp partition on your SSD which has to become the system boot partition. Easiest way is unpluging all other hard drives and ssds and tgen installing the linux distribution of your choice to the ssd. You can install different drivers for all circumstances, it is for example no problem to have drivers for AMD and NVIDIA GPUs installed, only the right one will be loaded. You can also optionally prepare your ssd linux for mbr systems if you want compability with really old systems. Archwiki has a good article about that iirc.

  • Freeman@lemmy.pub
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Should word provided the PC is EFI/UEFI enabled and theres an EFI partition for the linux install.

    In fact thats exactly how Pop_OS handles it. So, my system uses a single drive, but i have EFI paritions for linux and windows. THe fact that its a single drive or multiple doesnt really matter there.

  • thanksforallthefish@literature.cafe
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Should work, provided you can access the bios to choose it as the boot device. The usual issues with this are: 1. It’s a school / work PC and BIOS access is locked 2. It has weird hardware and you can’t get network access working to sort it.

    1 is common. 2 isnt common any more.

    Make a live boot usb and try it and see.

  • Arcanus@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    It is possible with a little bit of work, you will have to set up grub to boot the SSD drive, there are a few how tos depending on your setup

  • DSX@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I’m going to play around with it soon by installing full Linux onto an external SSD. I’ll let you know how it goes. I’ve seen some guides and tutorials that mention that it’s possible.