Posts

Showing posts with the label UEFI

Remove unwanted entry in UEFI BIOS boot menu

If your original OS is installed in UEFI mode, the installation of some other OS (e.g Ubuntu) in UEFI mode later on introduces some artifacts to the EFI partition the hard drive, and due to them, in the UEFI BIOS boot menu you see the respective boot menu entry. To remove the entry completely, you need to remove the artifacts to the EFI partition, and then move the respective boot entry. Delete EFI/distro of the EFI partition Linux Locate your EFI partition with sudo fdisk -l and find out the partition with EFI Partition under the Type column. Suppose the EFI partition is /dev/sda2 , do the following to mount it on an empty folder. mkdir /mnt/efipart mount /dev/sda2 /mnt/efipart Next find the directory corresponding to the OS that you have installed. It is mostly under EFI/ distro_name Remove that directory and its contents by sudo rm -r EFI/distro_name . Windows Start cmd.exe as administrator. Run diskpart in it. Microsoft Windows [Version 10.0.14393] (c) 20...

Creating USB installed Ubuntu bootable in both UEFI and legacy BIOS mode

Resouces the instruction that I am following GPartd tutorial My notes on the steps Step A: Format the USB stick as required. Boot GPartd. Select the USB stick. If there is a key icon next to any partitions of the stick, unmount the USB stick from either the Linux system or GPartd. Select Partition, then Create new partition. Use the default DOS-favor of partition table. Create the first FAT32 partition of size 1-2GB, with label usb-live at the front. Confirm and make the change before you can right click, select "Manage flag" and make it bootable. Use the remaining space to create a extended partition. From within create the ext4 partition with label usb-installed, and then linux-swap. Note the order is important. The ext4 partition will then move to partition 6 rather than partition 5 if you reverse the order. Step B Straightforward Step C Make sure you detach all the other disks of your PC before booting using the USB. If you come across error when usi...