Ubuntu (or another distro) on a crowded SSD

  • Thread starter Thread starter Millek_55
  • Start date Start date
  • Tags Tags
    Linux Ssd Ubuntu
Click For Summary

Discussion Overview

The discussion revolves around the challenges of installing a Linux distribution on a laptop with limited SSD space while maintaining a dual boot with Windows. Participants explore various Linux options, partitioning strategies, and the implications of hardware upgrades, particularly in the context of using software for condensed matter physics.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant suggests using a Linux distro like Ubuntu or its lighter flavors, while others propose alternatives like Linux Mint or Linux Lite for easier transition from Windows.
  • Concerns are raised about the limited space on the SSD, with suggestions to install the root filesystem on the SSD and /home on the HDD to optimize performance.
  • Some participants recommend considering a larger SSD to alleviate space issues, noting that the cost may be comparable to a week's travel pass in the UK.
  • There are discussions about the feasibility of transferring Windows to a new SSD without needing to reinstall all programs, with some participants asserting that this is possible.
  • Participants express differing opinions on whether to install the new OS on the HDD despite its slower speed, with some arguing that it may be sufficient for typical use cases.
  • One participant mentions the possibility of using a virtual machine for initial runs, while others discuss the potential downsides of this approach.
  • There is a mention of using a server-only image of Debian or Ubuntu with a lightweight window manager to minimize bloat.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best Linux distribution to use or the optimal partitioning strategy. There are multiple competing views regarding the necessity of a larger SSD and whether to prioritize speed by using the SSD for the OS or the HDD for storage.

Contextual Notes

Some participants note the importance of community support for the chosen software, which may influence the decision on the Linux distribution. There are also concerns about the space required for applications like Matlab and the need for regular maintenance of the SSD.

Who May Find This Useful

This discussion may be useful for students or individuals transitioning from Windows to Linux, particularly those with limited hardware resources or specific software needs in scientific computing.

Millek_55
Messages
3
Reaction score
0
TL;DR
I want to try understanding which is the best setup for a Linux OS in dual boot with Windows on my laptop, having a small SSD.
I'm a Master student in Physics and my professor for the thesis suggested to use an OS different than Windows, so I want to install a Linux distro in dual boot since I don't want to completely leave Win10 at the moment. I shall point out that I will be working in condensed matter physics (DMRG) and install some codes in the new OS (Python with TeNPy, maybe Julia, plus some plotting library), along with a couple of useful apps like Matlab and so on.

On my laptop I have a 128gb SSD (Intel SSDSC2KF128G8L) with only 45gb of free space and a 1tb HDD (Seagate ST1000LM035-1RK172) with 350gb of free space (I can also remove more trash from the HDD, but not so easily from the SSD). So my idea was to create partition for the root in the SSD and the one for /home in the HDD, in order to still exploit the speed of the SSD. However, I'm not sure I have room in the SSD to leave both systems enough empty space in order to run efficiently, since I got contrasting opinion looking on the web. Therefore, I'm asking for any advice about the following doubts:

Should I use Ubuntu, one of its flavours or another Linux distro (maybe something lighter)?
Should I install the new OS directly on the HDD, despite it being slower?
Any other solution or idea is also welcomed
On a side note, I already have a little familiarity with Ubuntu and Xubuntu.

I hope I was clear, if any other info is needed to give a satisfactory answe, just let me know and I will try to provide.
 
Computer science news on Phys.org
First I would ask if you are able to replace the SSD: I don't know what country you are in but in the UK a 480GB SSD from e.g. Kingston or Crucial costs about the same as a week's student travel pass. This will make the problem go away, and solve some other problems too!

If not then you are going to struggle, not with the OS but with Matlab in particular, as well as any data, so yes you will probably want home on the HD. Matlab installs in /usr so you will probably need that as well as /home on the HD. I think you will want /boot and /var With everything else on the SSD you will want to clean out anything big from /var/log regularly. 16GB for Linux on the SSD should be OK, but perhaps give it 20GB to be safe.

Like @Baluncore I recommend Mint (which is derived from Ubuntu) over any Ubuntu flavour, not just because it is more "Windows-like", there are other advantages. For lightness I would go with the XFCE edition rather than Cinammon. If your hardware is limited you should definitely steer clear of the Gnome-based Ubuntu.
 
Last edited:
  • Like
Likes   Reactions: harborsparrow
Millek_55 said:
On my laptop I have a 128gb SSD (Intel SSDSC2KF128G8L) with only 45gb of free space
I too suggest to get something bigger first.
Also, if the hardware can support it then I would consider a virtual machine, at least for first few runs.

I think the actual Linux version should be chosen based on the available communities for the SW you wish to use. You'll need relevant support.
 
  • Like
Likes   Reactions: harborsparrow
pbuk said:
First I would ask if you are able to replace the SSD: I don't know what country you are in but in the UK a 480GB SSD from e.g. Kingston or Crucial costs about the same as a week's student travel pass. This will make the problem go away, and solve some other problems too!
So you are suggesting to change my 128gb SSD with a bigger one. Sorry for the lack of knowledge, but I guess this means then reinstalling Windows from scratch on the new drive, which would be a bit bothersome. Or is there a way to backup everything and simply transfer Windows in the same state as it is now on the new drive?
It is true that most of the data and programs are stored in my HDD, but I guess that a reinstallation of Windows will at least require reinstalling all programs.
 
Millek_55 said:
So you are suggesting to change my 128gb SSD with a bigger one. Sorry for the lack of knowledge, but I guess this means then reinstalling Windows from scratch on the new drive, which would be a bit bothersome. Or is there a way to backup everything and simply transfer Windows in the same state as it is now on the new drive?
You should be able to copy an image of the current SSD to the larger SSD with no real problems. Then your computer should run with the larger SSD without anything else needed. You should not need to reinstall anything.
Millek_55 said:
It is true that most of the data and programs are stored in my HDD, but I guess that a reinstallation of Windows will at least require reinstalling all programs.
That should not be necessary.
 
Millek_55 said:
So you are suggesting to change my 128gb SSD with a bigger one. Sorry for the lack of knowledge, but I guess this means then reinstalling Windows from scratch on the new drive, which would be a bit bothersome. Or is there a way to backup everything and simply transfer Windows in the same state as it is now on the new drive?
It is true that most of the data and programs are stored in my HDD, but I guess that a reinstallation of Windows will at least require reinstalling all programs.
Debian or a derivative like Ubuntu would be obvious choices in terms of access to help and a plethora of software. But they're both somewhat bloated. You could install a server-only image and then a lightweight window manager. You'd probably want to keep that as light as possible. KDE or GNOME probably aren't the best choices in terms of size although they would probably make the transition from Windows easier.

Distrowatch is a good place to compare the various distros and their strengths and weaknesses.

Incidentally, both Microsoft Azure and Google iCloud offer a free period where you can set up a virtual machine and connect using x2goclient/server but that would perhaps defeat the purpose of experimenting with dual booting.

I remember a distro called Mepis which never installed but always ran straight from the CD (that's how long ago that was.) In fact SparklyLinux sound a little like a modern Mepis.

128gb isn't too scrappy I think. Should be plenty of room for Linux if not Windows. I still use my old Raspberry PI and the SD(!) card I use with that hasn't even remotely as much space available.

I love Linux (Xbuntu) but then again I don't play games. I only keep Windows around for some of the DAWs like Reason, Cubase and Fruityloops. I like making noise and my neighbors love me for it. Or so I think. For some reason we dont talk much. :)
 
Last edited:
Millek_55 said:
So you are suggesting to change my 128gb SSD with a bigger one. Sorry for the lack of knowledge, but I guess this means then reinstalling Windows from scratch on the new drive, which would be a bit bothersome.
You should look at this as a necessary chore that needs doing at least every 2-3 years even if you are not changing hardware: Windows accumulates a LOT of crap that slows everything down, you will find everything much better afterwards. Also, installing from a fresh download from Microsoft will mean you will lose the hardware vendor bloatware that came with your PC that is probably also slowing things down.
 
  • Skeptical
Likes   Reactions: FactChecker
Millek_55 said:
Should I install the new OS directly on the HDD, despite it being slower?
Unless you have some really special Python programs that run for days, or use heavy 3D animations or videos, that would be my choice. How much speed does one really need?

Personally, I'm using Linux Lite which is specifically designed to make the transition from Windows to Linux Lite as smooth as possible. I got it for this purpose and stuck with it.
 
  • #10
  • Informative
Likes   Reactions: FactChecker
  • #11
pbuk said:
@FactChecker why the skepticsm, this is standard advice, even Microsoft now agree?
I stand corrected (I guess). That looks much easier than I expected. When they say that no "personal data" is lost, does that mean that your downloads and installations do not need to be redone?
That being said, I have done occasional uninstalls and removed things from Startup without much trouble and have never needed to do a reinstall of Windows.
 
  • #12
FactChecker said:
I stand corrected (I guess). That looks much easier than I expected. When they say that no "personal data" is lost, does that mean that your downloads and installations do not need to be redone?
Well that article is about reinstalling on the same disk or SSD, on a new SSD then yes you do have to start from scratch. But as I say you should look at this as an opportunity to start afresh, like clearing out the kitchen cupboards and spring cleaning - its a bit of a chore but after you have done it you will be glad you did!
 
  • #13
pbuk said:
Well that article is about reinstalling on the same disk or SSD, on a new SSD then yes you do have to start from scratch.
It is not necessary to start from scratch on a new, larger, SSD. You can clone an image over and everything should still work just like before. When replacing a HDD with an SSD, the SSD is likely to be smaller, but if the SSD is large enough to hold the OS partitions, there should be no problem. (see https://www.partitionwizard.com/clone-disk/ssd-upgrade.html )
pbuk said:
But as I say you should look at this as an opportunity to start afresh, like clearing out the kitchen cupboards and spring cleaning - its a bit of a chore but after you have done it you will be glad you did!
I have never noticed the "bloatware" problem that people complain about. That may be because I usually have more disk space than I need. I have done some occasional uninstalls when something kept popping up and annoying me. That process has never required a significant effort.
 
  • #14
As I have had MATLAB on my "to do" list for a while, I have just completed two installs in virtual machines using Linux Mint 21.1 XFCE edition and Ubuntu 22.04 LTS. Both are around 17GB including MATLAB core (which is about 5GB). Mint was more successful as the comminity provided tool to add MATLAB to the start menu works well; the corresponding Ubunty "community" tool did not install as you can see from the screenshots below (Mint on the top, Ubuntu on the bottom) so you have to open a terminal and enter the path to the matlab script manually.

1677078642278.png
 
Last edited:
  • #15
Rive said:
Also, if the hardware can support it then I would consider a virtual machine, at least for first few runs.
I'll second this advice. Dual boot is a pain. Running the second OS in a virtual machine is much more convenient.
 
  • #16
Thanks to everyone for all the answers. At the moment, I'm leaning towards installing a Linux distro on an external SSD (I was considering Samsung T7 500gb), at least as a temporary setup. Any opinion on this?
 
  • #17
vela said:
I'll second this advice. Dual boot is a pain. Running the second OS in a virtual machine is much more convenient.
But will make Matlab really slow, particularly as there is no room on the SSD so it will have to be on the HD. I don't find dual booting a pain, although if you are using Bitlocker encryption make sure you have access to the master key!
 
  • #18
Millek_55 said:
Thanks to everyone for all the answers. At the moment, I'm leaning towards installing a Linux distro on an external SSD (I was considering Samsung T7 500gb), at least as a temporary setup. Any opinion on this?
I haven't tried it on a modern USB: according to Samsung's blurb "To reach maximum read/write speeds of up to 1,050/1,000 MB/s, respectively, the host device and connection cables must support USB 3.2Gen 2 and the UASP mode must be enabled." At ordinary USB speeds it will be slower than the HD.
 
  • #19
Millek_55 said:
I'm leaning towards installing a Linux distro on an external SSD (I was considering Samsung T7 500gb)
I think that'll be significantly slower. Unless it's satisfyingly cheaper (e.g. free... ) I would still opt for the bigger SSD.
 
  • #20
There is some marketing-speak here, just like "lasts up to an hour" means the only promise they are making is that you won't get 61 minutes.

I find USB drive speed highly variable. Booting Linux off one can be fine, or it can be painful. My experience that a USB drive that looks like a drive is often much faster than one that looks like a memory stick - and this is 100% market segmentation, There's no technical reason this should be so.
 
  • Informative
Likes   Reactions: Tom.G
  • #21
I would not count on being able to upgrade a drive in Windows without needing to reinstall. Tons of experience here. Not saying it *can't* be done, but it usually isn't possible for an average person without special tools. Yes, OS upgrades need to happen every 3-5 years, as well as disk size upgrades. It's a painful reality.|

If your system is running slow, look to a combination of disk size and RAM. Increase both if possible, because in Windows at least, the disk is used to "make up" for lack of RAM via swapping, and that goes much more quickly on an SSD than in the old former movable-head drives.
 
  • #22
harborsparrow said:
Not saying it *can't* be done, but it usually isn't possible for an average person without special tools.
There are some free (free trial, at least) tools for this. I would not try them for any compex cases, but I've already successfully migrated some Win10 systems. It is considerable safe and easy for simple installations (leaves the source disk usable).
 
  • Like
Likes   Reactions: Vanadium 50 and harborsparrow

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
38
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
46
Views
7K
  • · Replies 13 ·
Replies
13
Views
4K