Following up on Installing Debian Linux I decided to replace that machines’s hard drive by a 500GB SSD. This went quite smoothly. The only hitch was that the 3.5″ SSD mounting bracket for the 2.5″ SSD did not have any any screw holes to match those in the space left behind by the old 3.5″ drive. So I ended up securing it with duct tape!
I also had to reinstall Debian. The free edition of Macrium did not have an obvious way to transfer the Debian partition from its external USB drive to the new internal SSD, even though there was plenty of space. I expect this can be done, but I did not have the knowledge. I could have left Debian on the USB drive, but the new SSD had space for it and I have too many USD devices hanging off that machine anyway.
The default Ubuntu installation process places all of the files in a single disk partition. However, it may be desirable to use multiple partitions. In particular you might want to have
/home in its own partition and have yet another partition for the swap area. This way you could install another Linux distribution and have it share the swap area and
/home, so you can save swap space and share your data files between the distributions. I have done this successfully on another system. In that case I created the multiple partitions when installing the distributions. For the Ubuntu installer it is the “something else” option when you choose how you are going to use your disk. It is fussier than following the defaults, but easier than the Slackware disk partitioning I used to do.
What if you followed the default Ubuntu install process and want to create additional partitions after the fact? That is what I wanted to do before I ended up Rebuilding a Linux System.
I have an HP EliteDesk 705 G2 SFF desktop with an AMD PRO A4-8350B R5 processor and 8GB memory. It is a dual boot Windows 10/Ubuntu Linux. Firefox, Thunderbird, and Zoom are installed under both operating systems. My usual process for getting into a Zoom meeting is:
After replacing another hard disk on a Lenovo ThinkPad X130e I decided to use some of my new space for Debian. As before I used the debian-11.0.0-amd64-netinst.iso. This time the process was not so smooth.
After Rebuilding a Linux System I decided to see if I could add another distribution to it. I was short of space on the hard drive, but I had a 250GB SSD. Unfortunately, on opening up the computer I could not see an easy way to connect the drive internally. I did, nowever, have an external SSD case with a USB 3.0 connection, so I put the drive in there and connected it to a USB 3.0 port on the computer. Then I booted from the netinst iso for Debian 11. I set the root (/) partition on the new USB ssd, but used the same swap and
/home partitions I had created for Ubuntu. I could not see any reason not to use the same swap partition and I am guessing that since Ubuntu and Debian are quite similar it will possible to share
/home. We will see….
Rebuilding a Linux System went well, but afterwards I realized that my new system was taking forever to boot. [SOLVED] Slow Boot w/errors suggested some ways to proceed. A first step was to edit
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" by
GRUB_CMDLINE_LINUX_DEFAULT="", to show all the messages in the boot process, and also get a quick look at where it might be hung up. Fine with me, I like to see all those messages. Also, the command
systemd-analyze blame shows how much time each step was taking. The offender appeared to be on or just after mounting the root (/) partition.
I meant this to be “Reconfiguring a Linux System,” but that is not how it turned out. I had followed the default Ubuntu installation process when I set up this system. I wanted to change it so that the swap area and
/home would be in separate disk partitions, as decribed in these articles in How to Geek and Make Tech Easier. The first step in this process is to create the new partitions using GParted, which I have used before. GParted always gives dire warnings about the need to back up your files before using it. I have always heeded these warnings, but this was the first time the reason for them was brought home to me.
“Failure is always an option.”-Adam Savage