this post was submitted on 18 Jul 2023
9 points (100.0% liked)

Linux

48157 readers
678 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
 

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?

top 10 comments
sorted by: hot top controversial new old
[–] bdonvr@thelemmy.club 2 points 1 year ago (1 children)

Maybe. You'd have driver issues for sure.

Live USBs with persistence are a thing built for this

[–] CAPSLOCKFTW@lemmy.ml 7 points 1 year ago (1 children)

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 1 points 1 year ago* (last edited 1 year ago) (1 children)

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 1 points 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 2 points 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 2 points 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.

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 1 points 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 1 points 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.

[–] Ashiette@lemmy.blahaj.zone 1 points 1 year ago* (last edited 1 year ago)

It should work. There might be driver errors. But hopefully it will work.

You just have to make sure there is a EFI partition on the drive to boot linux from.

load more comments
view more: next ›