Score:0

Slow boot after cloning my Ubuntu partition from HDD to SSD without swap

aw flag

So I had Ubuntu installed on my HDD along with a swap partition. I cloned only my Ubuntu partition (without swap) from HDD to a new SSD via live Gparted, installed grub on the new disk and (physically) removed the old drive from the system. The cloned installation is noticeably snappier than the one on HDD but it boots quite slow. With a bit of research I got to know that there might be a resume file which is still pointing to the old swap partition. However, I couldn't find it in /etc/initramfs-tools/conf.d.

I don't intend to create a swap and just want the system to boot fast without looking for anything from previous disk. How do I fix?

Score:1
aw flag

Okay so, removing the old partition entries from /etc/fstab made the system not look for the old partitions but still the kernel space was taking 35 sec to load.

Since I didn't have any resume file, I just ran sudo update-initramfs -u after which the system just stopped looking for anything from previous drive to resume from.

Now the boot time has been reduced from more than 2 mins to 13.8 seconds (2.5s kernel space + 11.3s user space) :D

mondotofu avatar
cn flag
Why did you not upgrade your RAM as long as you were updating the system?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.