Ths might be a silly question, but asking those is how i learn sometimes. I’m trying to install my first Linux distro to set up a Plex server and one of the few things I know is you need a wired internet connection. My intended server location is across the house from my router, and there isnt much room there to set up temporarily. It would be possible, just a removed and a half. Is it instead possible to connect my SSD via SATA to USB to a laptop, install Ubuntu and wireless adapter drivers on it while connected to ethernet, then put the SSD in the server to boot? Or do I need to do all this through my intended setup?

Thanks for the help, just trying to make my first Linux install as painless as possible.

EDIT: Thank you all for your responses, I’m going to respond as I can since I’m at work. I The number one thing I learned is that I need to do more research. I recognize only a handful of these acronyms lol

  • I’m not sure if Ubuntu requires a wired internet connection. I’ve installed a different distro yesterday and wifi worked fine during the installation. The installer asked me to connect to network and I used the wifi. I’ve never plugged a network cable into the machine. Maybe it’s the same with Ubuntu. But sure, there are other possibilities. Offline installers and/or you can install Linux on a different machine and then swap the harddisk/ssd. Just take care not to overwrite the internal disk of your laptop. Make sure it writes to the correct disk (or unplug other ones).

      • That’s it. I have installed Ubuntu many times connected over Wi-Fi without any problems, except one special case many years ago. In that case, the system had some brand new Wi-Fi adapter, so I had to install the driver over Ethernet. But in almost any case it just should work and you can simply try to get a wireless connection in a live sytem to find out. And as mentioned above, internet connection is not necessary while installing from USB stick with the usual image. Its just recommended to save time and install the latest updates of some components during the initial system installation. But of course, you can do it later and of course you can do it over Wi-Fi (except some very rare special cases as mentioned at the beginning).

  •  jrgd   ( @jrgd@lemm.ee ) 
    link
    fedilink
    46 months ago

    Yes, just make sure that the boot setup for the distro install is compatible with what you intend to install it onto (I.E. if your server is going to be using EFI to boot an OS, install your Ubuntu instance as GPT, EFI onto the SSD). Depending on what wireless modules you are using and where you are sourcing them and how you are installing them, you might need to ensure Secure Boot is disabled in the BIOS of your server. This will be the case if the kernel module package you are installing doesn’t sign the wireless adapter driver you intend to use. Otherwise, most drivers you could possibly need should be baked into the kernel and you should be good to go.

    (One further sidenote coming from someone who has not used Ubuntu in a long time (since 16.04’s release), it would be good to check in the /etc/fstab file that the filesystem references are using either UUID or PARTUUID. Depending upon the drive layout of the server you are mounting the intended drive into, traditionally labeled references such as sda or nvme0n1 can change depending upon the slots each drive is seated. Using UUID or PARTUUID in the fstab reference alleviates any potential complications from this scenario where fstab might reference the wrong drive in mounting partitions. I do believe Ubuntu would likely do this by default nowadays, but it can’t hurt to check.)

    • Thanks for all the info. I have no comment since I need to watch like 3 youtube videos and spend another hour reading before I really understand that second paragraph, but I will definitely be referring back to it.

      What I did pick up was that the kernel actually comes with basic hardware drivers, which is a huge relief. I have pretty standard wifi hardware on standby, so I can try that.

    • I think i just misunderstood how “DIY” Linux was and thought it came with essentially no drivers. I thought it was kind of like rooting an Android, you get more control in exchange for having to do everything yourself. I mistakenly lumped all drivers under “everything”

    • This looks like a great resource, but I’m going to go ahead and do it the hard way. Maybe for a first install, just to get the ball rolling, but I typically go the long way around so I can understand what I just did some more. Like when I bought my 3d printer unassembled, so I could learn about it as I put it together. I’ll bookmark the site though. If I’m currently biting off more than I can chew, I’ll probably end up using it. Thanks!