Tuesday, May 21, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 17615  / 1 Year ago, thu, march 9, 2023, 6:46:35

I am trying to install 22.04 on a couple of old machines. They each have a BIOS instead of a UEFI. Neither can boot from the USB stick I created. At boot, one of them displays the message "Operation System not found". The other says, "Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key". A USB stick that contains Ubuntu 20.04.4 boots on the same machines with no problems. Does Ubuntu 22.04 officially require a UEFI, or is this a bug?


The machines in question:



  • Dell XPS L702X laptop, Intel Core i5-2450M CPU, 8 GB of memory

  • Home-built computer with Asus P5Q-EM motherboard, Intel Core 2 Duo CPU, 4 GB of memory


More From » boot

 Answers
1

Since Ubuntu 20.10 Groovy, many non-UEFI, BIOS-only machines fails to boot Ubuntu ISO. In order to create a bootable USB drive for these machines, you will need to use mkusb > dus, iso2usb > dus, or Rufus utilities.


https://bugs.launchpad.net/ubuntu-cdimage/+bug/1899308


https://bugs.launchpad.net/mkusb/+bug/1971119


Creating bootable USB drive:


On Windows machine:


As described on this Ubuntu.com's iso2usb page, Rufus is the officially recommended tool to install Ubuntu from Windows.


1, Download Rufus utility from this page: https://rufus.ie/en/


2, Right-click on rufus-3.18.exe (or later version), and click on Run as administrator


3, Now on the Rufus window:


3.1, Device: Make sure it's a correct USB drive, eg: USB Drive [64 GB]


3.2, Boot selection: Click Select, and locate Ubuntu iso, eg: ubuntu-mate-22.04-desktop-amd64.iso (or any other Ubuntu flavor)


3.3, Partition scheme: MBR


3.4, Target system: BIOS or UEFI


3.5, Leave rest of the options as it is, and click Start


4, ISOHybrid image detected: Select (click radio-button) Write in ISO Image Mode (Recommended)


5, Warning: All data on device USB Drive [64 GB] will be destroyed.


Make sure you have selected the correct USB drive, and click OK


6, This will take about 5-7 minutes to complete. Once done, close Rufus window and safely remove the USB drive.


7, Connect newly created bootable USB drive to target machine, reboot the machine, and select USB drive from BIOS' boot menu.


8, When you see the Grub menu, select Try or Install Ubuntu MATE to boot the machine from USB drive.


On Ubuntu machine:


Install mkusb:


To create a bootable USB drive for non-UEFI machines, add this mkusb unstable ppa to install the latest version 12.7.5-1ubuntu1.


sudo add-apt-repository ppa:mkusb/unstable
sudo apt-get update
sudo apt-get install mkusb

Create bootable USB drive:


To be used on non-UEFI machines, you can create bootable USB drive for Ubuntu 22.04 Jammy in few different ways.


Option-1: mkusb > dus:


1, Open mkusb from start menu


2, Click Yes on Run mkusb version dus?


3, Enter password


4, Click OK on Do USB Stuff; Welcome and notice about overwriting window


5, Select Install (make a boot device) and click OK


6, Select Persistent-live - only Debian and Ubuntu and clcik OK


7, A new window will open; locate and select source iso;


8, Most Important: Select target device: sdx (under device) | Kingston_Ultimate (target name/model) | 58.6G (size) and Click OK


9, Confirm: '/dev/sdx' drive size = 63 GB. Please check again!
Do you really want to overwrite this target device?


Make sure the target device is the correct USB drive, and click Yes


10, Persistent live drive settings: Select msdos and upefi and click OK


11, Select space for persistent (percent): 40% (You can select different number) and click OK


12, Final checkpoint, go ahead? Make sure that: (a) Source ISO is the correct one (b) Target device is the correct USB drive /dev/sdx (c) Correct device name is listed there: Kingston_Ultimate


Select Go (radio button) on the window, and then click Go (bottom-right corner of the window) button.


12, It would take about 5-7 minutes to create the bootable USB drive from this point.


13, When the mkusb completes the installation, you will see a Done window:


`Work done with /dev/sdx`

`The target device is ready to use.
'/path/to/iso/ubuntu-mate-22.04-desktop-amd64.iso was installed`

Click `OK` > `Quit` > `Quit` (again) > `Press Enter to finish`.

14, Connect newly created bootable USB drive to target machine, reboot the machine, and select USB drive from BIOS' boot menu.


15, When you see the Grub menu, select Ubuntu persistent-live (or similar) to boot the machine from USB drive.


Option-2: iso2usb > dus:


Now some of the non-UEFI machines may not boot Ubuntu 22.04 Jammy with mkusb > dus option described above, as they may need msdos partition table. Process for these machines:


1, As described and linked on this Ubuntu.com's iso2usb page, get grub boot template file:


https://phillw.net/isos/linux-tools/uefi-n-bios/dd_grub-boot-template-for-uefi-n-bios_msdos.img.xz


2, Using GParted, format a flash drive to FAT32, and note down it's partition name, e.g: sdx


3, Now use dus to install/extract earlier downloaded img.xz file to usb flash drive:


Open a terminal where you've downloaded the img.xz file, and run


dus dd_grub-boot-template-for-uefi-n-bios_msdos.img.xz

4, Enter password.


5, Click OK on Do USB Stuff window that say:


Welcome and Notice about Overwriting
The target device will be completely overwritten

6, Most Important:


Select target device: sdx (under device) | Kingston_Ultimate (target name/model) | 58.6G (size) and Click OK


7, Confirm: Please check again


'/dev/sdx' drive size = 63 GB. Please check again!
Do you really want to overwrite this target device?


Make sure the target device is the correct USB drive, and click Yes


8, Final checkpoint, go ahead? Make sure that:


(a) Source file is the correct one: dd_grub-boot-template-for-uefi-n-bios_msdos.img.xz


(b) Target device is the correct USB drive /dev/sdx


(c) Correct device name/model is listed there: Kingston_Ultimate


Select Go (radio button) on the window, and then click Go (bottom-right corner of the window) button.


9, It would take about 5-7 minutes to complete the process of img.xz extraction onto the USB drive.


10, Check the result (scroll if possible), press Enter to finish:


The target device is unmounted and you can unplug it.
The system might not see the current partition table of the
target device unless you re-plug it.

Click OK


11, Remove and replug the usb drive.


12, Copy Ubuntu MATE 22.04 Jammy (or any other flavor of Ubuntu) iso into ISODEVICE partition of the USB drive.


13, Once the iso is copied, rename ths iso to: ubuntu.iso


14, Connect newly created bootable USB drive to target machine, reboot the machine, and select USB drive from BIOS' boot menu.


15, When you see the Grub menu, select Ubuntu.iso to boot the machine from USB drive.


[#544] Thursday, March 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fertion

Total Points: 436
Total Questions: 121
Total Answers: 156

Location: England
Member since Sun, May 21, 2023
1 Year ago
fertion questions
Thu, Jun 17, 21, 01:06, 3 Years ago
Mon, Jun 13, 22, 07:30, 2 Years ago
Fri, Mar 10, 23, 12:13, 1 Year ago
Thu, Jan 6, 22, 22:08, 2 Years ago
;