New EFI boot manager available: rEFInd

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Re: New EFI boot manager available: rEFInd

Postby Shanmukh1988 on Mon May 05, 2014 11:32 pm

Hello folks,

I have a situation. I am migrating all my PC's from Windows to linux mint 15. Some of the machine are going well, some of them are making a problem like, after installation while booting its saying that "No boot disk is found". I have tried many ways like disabling UEFI, installing ubuntu first on that I am installing Linux mint, Installing the OS with Factory Setting. None of these are work can u suggest me the right one for me.

regards,
Shanmukh.
Shanmukh1988
Level 1
Level 1
 
Posts: 1
Joined: Mon May 05, 2014 11:17 pm

Linux Mint is funded by ads and donations.
 

Re: New EFI boot manager available: rEFInd

Postby srs5694 on Sat May 10, 2014 9:58 am

PA1FOX wrote:Since I boot Windows 7 from rEFInd the USB ports stop working. USB mouse and keyboard are fine during boot, BIOS, rEFINd menu as well as in Linuxt Mint, but as soon as Windows 7 boots, USB stop working. I have got it 'sometimes' to work by connecting the USB devices to another USB port, Windows will see a new device, installs drivers and keyboard en mouse work again. But then, after the next reboot, they don't work anymore.


That is weird. My guess is that the drivers that came pre-installed on your computer were making assumptions about the way the USB subsystem was initialized. Although rEFInd doesn't explicitly change this, it's conceivable that your firmware was changing this detail when it launched rEFInd, thus causing problems. I'm glad you got it resolved by re-installing the drivers (or perhaps you ended up installing different drivers that made different assumptions).
srs5694
Level 6
Level 6
 
Posts: 1020
Joined: Mon Feb 27, 2012 1:42 pm

Re: New EFI boot manager available: rEFInd

Postby srs5694 on Sat May 10, 2014 10:01 am

Shanmukh1988 wrote:I have a situation. I am migrating all my PC's from Windows to linux mint 15. Some of the machine are going well, some of them are making a problem like, after installation while booting its saying that "No boot disk is found". I have tried many ways like disabling UEFI, installing ubuntu first on that I am installing Linux mint, Installing the OS with Factory Setting. None of these are work can u suggest me the right one for me.


I recommend you start a new thread for your problem. Please include more details about your installation attempts in that post. The output (RESULTS.txt file) of a run of Boot Info Script on an affected system would be a good start.
srs5694
Level 6
Level 6
 
Posts: 1020
Joined: Mon Feb 27, 2012 1:42 pm

Re: New EFI boot manager available: rEFInd

Postby Annoyingduck on Mon Jun 23, 2014 9:51 pm

Hi @srs5694, If I could ask you to review my thread/issue here to understand the issue I am having (instead of me describing it all again here along with other users help/guidance): viewtopic.php?f=46&t=171171

Here is the output of what I am getting when I run sudo efibootmgr -v:
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0001,0002
Boot0001* Windows Boot Manager HD(1,800,fa000,adf4d32b-0132-4638-a542-f9e0d3fedeb0)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0002* UEFI: Hisun Flash Disk 2.10 ACPI(a0341d0,0)PCI(1a,0)USB(1,0)USB(3,0)HD(1,800,239f,f19d65c1-09ba-40a3-baf2-f031e02b21a3)AMBO

The Hisun Flash disk is the bootable Refind usb drive I created, I'm not seeing the actual installed version I installed via PPA, but what seems to happen is any other boot on the efi partition appears to get overwritten when windows is booting. The end of the thread is where I am at currently and just do not know where to go from there (though your program is simply wonderful!!).

A big thanks for your work, and let me know what else I can do to help solve my issue.
Annoyingduck
Level 1
Level 1
 
Posts: 20
Joined: Thu May 08, 2014 12:32 pm

Re: New EFI boot manager available: rEFInd

Postby mr_raider on Tue Jun 24, 2014 9:41 am

If I didn't know better, I'd say your EFI NVRAM can only contain 2 entries. Any time you boot a new option, the one at the bottom of the list gets dumped.
mr_raider
Level 4
Level 4
 
Posts: 288
Joined: Sun Jun 20, 2010 9:50 am

Re: New EFI boot manager available: rEFInd

Postby tzeus on Thu Jun 26, 2014 5:13 am

I have a problem, and i am thinking it is a rEFInd issue.
I have Win 7 and Linux Mint 13 MATE, x64.
I am unable to boot into linux.
rEFInd pops up, i can select linux / windows, if i select linux it will take me to grub. There i doesn't matter if i chose normal or safe mode, the computer freezes. The problem goes away if i pick linuxmint as boot selection from bios and bypass rEFInd(but i lose windows boot and graphical boot selection). Maybe there is a simple solution that i don't know yet.
tzeus
Level 1
Level 1
 
Posts: 4
Joined: Wed Jun 25, 2014 2:27 am

Re: New EFI boot manager available: rEFInd

Postby srs5694 on Thu Jun 26, 2014 8:35 am

tzeus wrote:I am unable to boot into linux.
rEFInd pops up, i can select linux / windows, if i select linux it will take me to grub. There i doesn't matter if i chose normal or safe mode, the computer freezes. The problem goes away if i pick linuxmint as boot selection from bios and bypass rEFInd(but i lose windows boot and graphical boot selection). Maybe there is a simple solution that i don't know yet.


That could be either a rEFInd bug (setting things up improperly when transferring control to GRUB) or a GRUB problem (getting confused by a valid environment passed by rEFInd, but one that's different from what the EFI sets up). In fact, it might even be a firmware problem, since rEFInd calls on the firmware to load and launch any program it launches. In fact, that last seems probable to me, since this is the first I've heard of this problem, and lots of people (myself included) launch GRUB from rEFInd, at least occasionally. Can you provide more details, like the make and model of your computer, whether you're booting with Secure Boot active, and whether you're launching rEFInd via Shim? Also, is your GRUB an EFI-mode GRUB or a BIOS-mode GRUB? (To launch the latter, you'd either need to be using a Mac or have manually adjusted your "scanfor" line in refind.conf.)

As to the solution, you don't mention any direct Linux kernel boot options in rEFInd. If you don't already have it, I recommend you install the EFI filesystem driver for whatever filesystem holds your kernel (ext4fs by default). This will enable rEFInd to detect and launch your Linux kernel(s) directly, bypassing GRUB. You might also want to run the mkrlconf.sh script in Linux to set up the /boot/refind_linux.conf file.
srs5694
Level 6
Level 6
 
Posts: 1020
Joined: Mon Feb 27, 2012 1:42 pm

Re: New EFI boot manager available: rEFInd

Postby tzeus on Mon Jun 30, 2014 4:14 am

srs5694 wrote:That could be either a rEFInd bug (setting things up improperly when transferring control to GRUB) or a GRUB problem (getting confused by a valid environment passed by rEFInd, but one that's different from what the EFI sets up). In fact, it might even be a firmware problem, since rEFInd calls on the firmware to load and launch any program it launches. In fact, that last seems probable to me, since this is the first I've heard of this problem, and lots of people (myself included) launch GRUB from rEFInd, at least occasionally. Can you provide more details, like the make and model of your computer, whether you're booting with Secure Boot active, and whether you're launching rEFInd via Shim? Also, is your GRUB an EFI-mode GRUB or a BIOS-mode GRUB? (To launch the latter, you'd either need to be using a Mac or have manually adjusted your "scanfor" line in refind.conf.)

As to the solution, you don't mention any direct Linux kernel boot options in rEFInd. If you don't already have it, I recommend you install the EFI filesystem driver for whatever filesystem holds your kernel (ext4fs by default). This will enable rEFInd to detect and launch your Linux kernel(s) directly, bypassing GRUB. You might also want to run the mkrlconf.sh script in Linux to set up the /boot/refind_linux.conf file.



Stranger things have happened but without doing anything it started. At random, i tried two more times from rEFInd, it got stuck, then did some work under windows, then rebooted and forgot to change boot manager, and it started.
To answer some questions: i did not edit any grub file and i don't know what Shim is. I don't know about secure-boot. Make and model of Computer:
MB: ASRock B85 PRO 4. CPU: Intel i7 4770, Memory: 8GB DDR3 Kingmax 1333, GPU: MSI R9 280. I don't think that peripherals count for anything. I boot from a 120 GB SSD and i also have a 2 TB Seagate. All OS and relevant partitions are on the SSD. As for the drivers i do have and ext4_x63,efi inside my /boot/efi/EFI/refind/drivers_x64/. I didn't know about the mkrlconf.sh. I will check it up.
tzeus
Level 1
Level 1
 
Posts: 4
Joined: Wed Jun 25, 2014 2:27 am

Re: New EFI boot manager available: rEFInd

Postby tzeus on Mon Jun 30, 2014 4:34 am

I executed the configuration shell script. Now it boots linux directly and it worked. If i run into trouble i will post again. Thank you for the assistance.
tzeus
Level 1
Level 1
 
Posts: 4
Joined: Wed Jun 25, 2014 2:27 am

Re: New EFI boot manager available: rEFInd

Postby shondo34 on Sun Jul 13, 2014 4:45 pm

It is important to note, that Grub2 is capable of booting under EFI systems like mac. Of course you have to install ReFit for duel boot if you intend on keeping you mac os system in tact. However I ran into a problem that had me thinking that I had a boot problem with EFI when I installed Mint 17. After install Mint would NOT boot! After lots of research I found that this had nothing to do with Grub boot manager at all but had to do with the driver for my video that mint installs on the system. When I attempted to boot, it would just hang as if I had no operating system at all. Here is the fix for all you Mac users and its very easy! Insert you Live DVD into the superdrive and restart the system. When ReFit comes up select the DVD to boot from and when the Mint screen pops up hit "TAB". Then a menu will appear and it will say "Hit Tab Again To Edit Boot Options". So do as it says and hit "TAB". A command line will appear. At the end of the command line type nomodeset and hit enter and wait for it to automatically boot. (NOTE: dont use space bar before you type the word, just type nomodeset right after the two dashes and hit enter and wait. When the live DVD loads then just install as usual following all the directions. This command that you typed at the end of the line disables the problem child video driver and installs a different one instead so the system can boot once it is installed. After you complete your installation and boot into Mint 17 for the first time, go to "DRIVER MANAGER" and select NVidia 304 driver to install for your graphics then reboot system after it is installed and enjoy! If you are doing a TOTAL install on your mac, insert the disc and restart holding down the "C" button so that it will boot the DVD and follow the exact instructions concerning "nomodeset" as I stated above. Also please note that a couple of times I had to do this twice on a mac to get it to take, dont worry, Macs are finicky and it might not take the first time. Just install again using the above procedure and it will work.
shondo34
Level 1
Level 1
 
Posts: 1
Joined: Sun Jul 13, 2014 4:25 pm

Adding another OS...

Postby Dngrsone on Tue Jul 29, 2014 10:09 pm

Okay, this is probably a stupid question, but here goes:

I have a Toshiba Satellite with WIn 8.1 and Mint 15 on it right now, using rEFInd for my primary bootloader.

Since Mint 15 is at its end of life (support-wise), I have decided to side-load Mint 17 KDE.

My problem is, I don't want to break rEFInd if I can help it... where do I tell the installer to put its boot information (I'm assuming that /dev/sda would be a bad idea)?
User avatar
Dngrsone
Level 3
Level 3
 
Posts: 156
Joined: Thu Nov 29, 2012 12:18 pm

Re: Adding another OS...

Postby srs5694 on Thu Jul 31, 2014 8:59 am

Dngrsone wrote:Okay, this is probably a stupid question, but here goes:

I have a Toshiba Satellite with WIn 8.1 and Mint 15 on it right now, using rEFInd for my primary bootloader.

Since Mint 15 is at its end of life (support-wise), I have decided to side-load Mint 17 KDE.

My problem is, I don't want to break rEFInd if I can help it... where do I tell the installer to put its boot information (I'm assuming that /dev/sda would be a bad idea)?


If you're installing in EFI mode, I don't think you have a GUI option about it. It may ask you where to install the boot loader, but that information will be ignored. I think that there's a command-line option to ubiquity (the installer -- at least, if Mint uses the same one as Ubuntu) to suppress installing GRUB. IIRC, that option is "-b".

Overall, though, it's probably easiest to just let the installer set up GRUB, then use "efibootmgr" to re-enable rEFInd as the default. Type "sudo efibootmgr" to see the options, then use the "-o" option to set rEFInd to the start of the options list, as in "sudo efibootmgr -o 5,8" if rEFInd is Boot0005 and GRUB is Boot0008.
srs5694
Level 6
Level 6
 
Posts: 1020
Joined: Mon Feb 27, 2012 1:42 pm

Re: New EFI boot manager available: rEFInd

Postby Dngrsone on Thu Jul 31, 2014 11:20 am

From what I understand, the KDE version uses a different installer. I normally use the machine in Secre Boot, as I have certificated my Mint bootloader, and my folder is not named 'Ubuntu' but rather LInuxMint, so I am hoping there will be no problems there...
User avatar
Dngrsone
Level 3
Level 3
 
Posts: 156
Joined: Thu Nov 29, 2012 12:18 pm

Re: New EFI boot manager available: rEFInd

Postby YeeP on Thu Jul 31, 2014 2:58 pm

Rod - please point me to a direction where I should ask you these questions if the should not be here. I think they can be applied however.

I just rebuilt me system and everything is working great. Here is a short list of steps taken thus far. (I am using Kali 1.08, which is a Debian kernel.)

1) Windows 8.1 installed and running Partitions setup correctly
2) Changed to CSM mode in BIOS as the "EFI able" 1.08 Kali cannot boot in EFI mode
3) Installed Kali and rebooted for test while BIOs is in CSM, everything works.
4) Rebooted in EFI, went straight to windows as expected.
5) Used steps listed here:http://www.rodsbooks.com/refind/installing.html#extra_installsh to install rEFInd manually in windows
6) Reboot and I see both OSes, boot into Kali, works great.

Now the questions:
Question 1) I would like to manage rEFInd from Linux not windows. Step 1 in this questions list is me trying to figure out how to manage all of rEFInd fron linux...
Setup a repository similar to your recommendation on the website for Ubuntu(The only time Windows is on is when my wife is using the computer). I went looking for the ESP in the linux file structure and do not see it. (/boot/efi) - This is likely because I did the install in windows, and the directory is not mounted/does not exist that way. In an attempt to follow your recommendations to others, I ran the "parted /dev/sda print" so I can hunt this down.
Code: Select all
root@kali:/boot# parted /dev/sda print
Model: ATA TOSHIBA MQ01ABD0 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End    Size    File system     Name                  Flags
 1      1049kB  473MB  472MB   ntfs            Basic data partition  hidden, diag
 2      473MB   746MB  273MB   fat32           Basic data partition  boot
 3      746MB   880MB  134MB   ntfs            Basic data partition  msftres
 4      880MB   269GB  268GB   ntfs            Basic data partition
 5      269GB   592GB  323GB   ntfs
 6      592GB   592GB  1049kB                                        bios_grub
 7      592GB   744GB  151GB   ext4
 8      744GB   750GB  6434MB  linux-swap(v1)


It looks like sda2 is what I need.... based on this page: http://www.rodsbooks.com/efi-bootloaders/installation.html I would guess my next command should be:
Code: Select all
mount /dev/sda2 /boot/efi

Can you give me some tips on setting up the file structure correctly in Linux so I can run everything from the d/led deb files?

Question 2) Can you point me in the direction to where I can manage the look and feel of the rEFInd menu? I see how to change the "description" but I believe that is for rEFInd itself. (using windows manual install on your page)
Code: Select all
If you like, type bcdedit /set {bootmgr} description "rEFInd description" to set a description (change rEFInd description as you see fit).

I want to install new images for the menu, just make it look nice. :mrgreen:

Great software and installation instructions!!
User avatar
YeeP
Level 2
Level 2
 
Posts: 84
Joined: Thu Apr 26, 2012 5:16 pm

Linux Mint is funded by ads and donations.
 
Previous

Return to Installation & Boot

Who is online

Users browsing this forum: mgant and 20 guests