rEFInd: Make a live CD to boot into your system
rEFInd: Make a live CD to boot into your system
If you move into the newer UEFI booting with the GPT partition model (and have a newer computer equipped to do so, say > 2011-2012), and especially if you are dual/multi-booting, keeping a rEFInd CD handy might be a smart thing to do. It's easy and quick. If you are unable to boot normally into your OS, you can use the rEFInd CD to do so. Once you are there, you can then try to fix whatever problem you are having.
For rescue or emergencies:
You can make a rEFInd CD in a live Kubuntu session, using your Kubuntu live USB flash drive installer. You can not do this if you are using a live Kubuntu DVD unless you have two CD/DVD drives in your computer. You need a free CD drive for making the rEFInd CD.
--> See the tips at the end (below) for how to do this.
If you prefer to make a rEFInd USB, see this:
https://www.kubuntuforums.net/showth...l=1#post379352
rEFInd is a boot manager for UEFI booting that should be able to boot all you bootable media, files, OSs, and it is discussed elsewhere:
UEFI for Kubuntu--simplified
https://www.kubuntuforums.net/showth...l=1#post373198
Where to get it and how to do it
Get the CD-R Image from here (click link):
http://www.rodsbooks.com/refind/getting.html
Download the file:
For example, refind-cd-0.8.7.zip -- downloaded to my Downloads folder: /home/mike/Downloads.
Create a directory (a folder) for the iso: refind_iso_CD; so now you have /home/mike/Downloads/refind_iso_CD.
Move the .zip file into the folder you just created.
Unzip the file:
right-click on refind-cd-0.8.7.zip, Extract > Extract archive here;
inside that folder you will now find the iso: refind-cd-0.8.7.iso;
open k3b and burn the iso to a CD (in k3b, you can navigate to that iso by clicking the browse icon)..
(K > Applications > System > Disk burning (K3b) -> choose more actions, then burn image)
Test it by booting your computer with the CD
Re-boot your computer with the rEFInd CD.
At the POST, enter your UEFI setup (by pressing the correct key for your computer).
Select from the boot/boot override menu to boot from the rEFInd CD in UEFI mode.
Example: mine showed up as
UEFI(FAT)TSSTcorpCDDVDSH-224DB(1MB)
(select it, press Enter to boot--Note the UEFI string descriptor)
The rEFInd screen
Use arrow keys to navigate to an icon. A description of the (boot) option represented by that icon appears below the two rows of icons; eg., Boot EFI\ubuntu\grubx64.efi from ESP_sda1
(back slashes are used in UEFI; forward slashes are used in your Linux: they mean the same thing)
In my example, I see 27 boot options! (I have 12 partitions and all sorts of OSs, ESPs, and .efi's.)
You will also see an EFI Shell (the terminal icon) and other options: shutdown; restart; re-boot to computer Setup utility (= your firmware setup).
The EFI shell is for advanced users. Most users will instead use the simpler efibootmgr command (from their OSs or from a live OS DVD/USB) to work with their UEFI setup (see man efibootmgr). So be careful here, but I'll mention it anyway:
Start EFI shell (by clicking on the terminal icon). To see just one page of output at a time on your screen, use the -b option in commands.
To see the help menu listing of commands:
Shell> help -b
To list the NVRAM boot variables, one page at a time:
Shell> bcfg boot dump -v -b
To Exit the EFI shell and return to your rEFInd menu:
Shell> exit
Important UEFI Shell Commands
https://wiki.archlinux.org/index.php...ace#UEFI_Shell
EFI Shells and Scripting
https://software.intel.com/en-us/art...and-scripting/m
/////////////////////////////////////////////
In a live Kubuntu session ...
Tips for doing this work in a live Kubuntu session, booting your computer with your Kubuntu USB flash drive installer.
Boot your computer with your Kubuntu USB flash drive plugged in.
At the POST screen, press the magic key for your computer to enter your UEFI firmware ("BIOS") setup menus and find the boot menu(s).
Select your USB flash drive from the boot menu, making sure it says UEFI in its description.
Your computer will boot to a Kubuntu live session.
Select Start Kubuntu.
Select Try Kubuntu.
Open Firefox (K > Firefox, or K > Applications > Internet > Firefox).
Now proceed exactly as above: Where to get it and how to do it, but note that in your live session, the home folder you will use might be called something like /home/kubuntu, then /home/kubuntu/Downloads. To navigate to it, you might have to open Dolphin, click the red root place on the left side bar, click home, then kubuntu, then Downloads, and you are there.
After k3b finishes burning your rEFInd CD, it will eject that CD.
Then exit your live session: K > Leave > Restart
and you will be prompted to remove your live Kubuntu USB flash drive.
rEFInd: Make a live CD to boot into your system
If you move into the newer UEFI booting with the GPT partition model (and have a newer computer equipped to do so, say > 2011-2012), and especially if you are dual/multi-booting, keeping a rEFInd CD handy might be a smart thing to do. It's easy and quick. If you are unable to boot normally into your OS, you can use the rEFInd CD to do so. Once you are there, you can then try to fix whatever problem you are having.
For rescue or emergencies:
You can make a rEFInd CD in a live Kubuntu session, using your Kubuntu live USB flash drive installer. You can not do this if you are using a live Kubuntu DVD unless you have two CD/DVD drives in your computer. You need a free CD drive for making the rEFInd CD.
--> See the tips at the end (below) for how to do this.
If you prefer to make a rEFInd USB, see this:
https://www.kubuntuforums.net/showth...l=1#post379352
rEFInd is a boot manager for UEFI booting that should be able to boot all you bootable media, files, OSs, and it is discussed elsewhere:
UEFI for Kubuntu--simplified
https://www.kubuntuforums.net/showth...l=1#post373198
Where to get it and how to do it
Get the CD-R Image from here (click link):
http://www.rodsbooks.com/refind/getting.html
Download the file:
For example, refind-cd-0.8.7.zip -- downloaded to my Downloads folder: /home/mike/Downloads.
Create a directory (a folder) for the iso: refind_iso_CD; so now you have /home/mike/Downloads/refind_iso_CD.
Move the .zip file into the folder you just created.
Unzip the file:
right-click on refind-cd-0.8.7.zip, Extract > Extract archive here;
inside that folder you will now find the iso: refind-cd-0.8.7.iso;
open k3b and burn the iso to a CD (in k3b, you can navigate to that iso by clicking the browse icon)..
(K > Applications > System > Disk burning (K3b) -> choose more actions, then burn image)
Test it by booting your computer with the CD
Re-boot your computer with the rEFInd CD.
At the POST, enter your UEFI setup (by pressing the correct key for your computer).
Select from the boot/boot override menu to boot from the rEFInd CD in UEFI mode.
Example: mine showed up as
UEFI(FAT)TSSTcorpCDDVDSH-224DB(1MB)
(select it, press Enter to boot--Note the UEFI string descriptor)
The rEFInd screen
Use arrow keys to navigate to an icon. A description of the (boot) option represented by that icon appears below the two rows of icons; eg., Boot EFI\ubuntu\grubx64.efi from ESP_sda1
(back slashes are used in UEFI; forward slashes are used in your Linux: they mean the same thing)
In my example, I see 27 boot options! (I have 12 partitions and all sorts of OSs, ESPs, and .efi's.)
You will also see an EFI Shell (the terminal icon) and other options: shutdown; restart; re-boot to computer Setup utility (= your firmware setup).
The EFI shell is for advanced users. Most users will instead use the simpler efibootmgr command (from their OSs or from a live OS DVD/USB) to work with their UEFI setup (see man efibootmgr). So be careful here, but I'll mention it anyway:
Start EFI shell (by clicking on the terminal icon). To see just one page of output at a time on your screen, use the -b option in commands.
To see the help menu listing of commands:
Shell> help -b
To list the NVRAM boot variables, one page at a time:
Shell> bcfg boot dump -v -b
To Exit the EFI shell and return to your rEFInd menu:
Shell> exit
Important UEFI Shell Commands
https://wiki.archlinux.org/index.php...ace#UEFI_Shell
EFI Shells and Scripting
https://software.intel.com/en-us/art...and-scripting/m
/////////////////////////////////////////////
In a live Kubuntu session ...
Tips for doing this work in a live Kubuntu session, booting your computer with your Kubuntu USB flash drive installer.
Boot your computer with your Kubuntu USB flash drive plugged in.
At the POST screen, press the magic key for your computer to enter your UEFI firmware ("BIOS") setup menus and find the boot menu(s).
Select your USB flash drive from the boot menu, making sure it says UEFI in its description.
Your computer will boot to a Kubuntu live session.
Select Start Kubuntu.
Select Try Kubuntu.
Open Firefox (K > Firefox, or K > Applications > Internet > Firefox).
Now proceed exactly as above: Where to get it and how to do it, but note that in your live session, the home folder you will use might be called something like /home/kubuntu, then /home/kubuntu/Downloads. To navigate to it, you might have to open Dolphin, click the red root place on the left side bar, click home, then kubuntu, then Downloads, and you are there.
After k3b finishes burning your rEFInd CD, it will eject that CD.
Then exit your live session: K > Leave > Restart
and you will be prompted to remove your live Kubuntu USB flash drive.
Comment