07 June 2022

How to boot Windows 10 or Ubuntu 22.04 on a legacy computer without UEFI

When attempting to install Windows 10 or Ubuntu 22.04 on legacy systems, you need to have something more than just the ISO image on the pen drive that you use as a boot medium.

For creating a bootable Windows 10 medium


If your plan is to create the bootable pen drive in Ubuntu, don't do it. Instead, go to a Windows system and download Rufus. Run Rufus, select your pen drive and ISO file from the options in Rufus and select MBR instead of GPT. The GPT option is for modern systems which have UEFI. 

Also, select the checkbox for installing additional 'things' for legacy system support.

Now your install will work without problems.

For creating a bootable Ubuntu 22.04 medium

When I used Ubuntu's startup disk creator and tried booting from the pen drive, the screen just showed a blinking cursor on the top left of the screen and the installation didn't proceed. The same thing happened when I used Rufus to write the Ubuntu ISO to the pen drive, without selecting the checkbox for installing the additional 'things'.

However, when I used Rufus with the checkbox, everything worked fine.

On second thought, don't bother installing Ubuntu 22.04. There are still some errors that they haven't fixed, and some third party programs do not seem to have developed API's to be fully compatible with it. As Jesse Smith wrote: "I think the launch of Ubuntu 22.04 is a clear sign Canonical is much more interested in publishing releases on a set schedule than producing something worthwhile. This version was not ready for release and it is probably going to be a costly endeavour to maintain this collection of mixed versioned software and mixed display server and mixed designs for a full five years. It's a platform I would recommend avoiding".

02 June 2022

Preventing Snap from consuming resources indiscriminately


The snap daemon can often take up a lot of processing power, RAM and even hog your internet connection if you don't define a specific time during which it is allowed to perform updates.

The solution is provided on the Snap website, but I thought I'd mention it here for easy reference.

For example, if you don't want it to disturb you at all,  you could set it to:

sudo snap set system refresh.timer=fri,3:00-3:01

This is of course, assuming you won't be using the internet on Friday at 3am :-)

 

Other options are (taken from the Snap website):

  • Mondays at 10:00, Fridays at 15:00: sudo snap set system refresh.timer=mon,10:00,,fri,15:00
  • Mondays at 10:00 and 15:00, Fridays at 10:00 and 15:00: sudo snap set system refresh.timer=mon,fri,10:00,15:00
  • Monday to Wednesday and on Friday, twice between 9:00 and 11:10: sudo snap set system refresh.timer=mon-wed,fri,9:00-11:00/2
  • Mondays, some time between 9:00 and 11:00, and on Wednesdays, some time between 22:00 and 23:00: sudo snap set system refresh.timer=mon,9:00~11:00,,wed,22:00~23:00
  • Monday and on Wednesday, at 0:00: sudo snap set system refresh.timer=mon,wed
  • 2nd Monday of the month, through the following Wednesday, between 23:00 and 24:00: sudo snap set system refresh.timer=mon2-wed,23:00-24:00
  • Last Friday of the month, from 23:00 to 1:00 the next day: sudo snap set system refresh.timer=fri5,23:00-01:00