LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 08-19-2016, 04:33 AM   #1
spacelander
LQ Newbie
 
Registered: Jul 2015
Posts: 22

Rep: Reputation: Disabled
UEFI multibooting: FreeBSD and DragonFly BSD


I'm exploring other BSD besides FreeBSD, and as I don't own enough machines, I multiboot. I installed DragonFly alongside FreeBSD in UEFI mode, and as their loaders are based on each other, the DragonFly loader always booted FreeBSD (there is no way of choosing which partition to boot from, and the boot loader always choose the first it could read).
Now I installed rEFInd and downloaded the UFS1 drivers from http://efi.akeo.ie/ so that rEFInd could load the second stage boot loader (loader.efi) directly from the DragonFly UFS partition. However, it stops after this screen, the cooling fans go up, and nothing happens: http://imgur.com/a/SYCBt
 
Old 08-20-2016, 04:59 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Hi:

I'm not running BSD so I won't be much help there.
However; I did find documentation about BSD and installing another boot manager that should help you.

Quote:
If you have installed multiple operating systems on your disks then you can install a different boot manager, one that can display a list of different operating systems, and allows you to choose the one to boot from. Two of these are discussed in the next subsection.
https://www.dragonflybsd.org/docs/handbook/Booting/

Instructions for the LILO bootloader are further down the page.

You can also install the Grub bootloader-

-::-How to install grub2 on FreeBSD-::-
https://forums.freebsd.org/threads/28443/

Hope that helps.
 
Old 08-20-2016, 05:03 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Extra links-

http://geodsoft.com/howto/dualboot/grub.htm
http://unix.stackexchange.com/questi...rub2-boot-menu

 
Old 08-22-2016, 09:02 AM   #4
spacelander
LQ Newbie
 
Registered: Jul 2015
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thanks, but all those links are for MBR booting not UEFI booting. I already figured out how to do both, what I can't figure out is why the boot process stops midway.
 
Old 08-23-2016, 12:22 AM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Did you recently do a kernel upgrade and than it stopped booting midway?

Was there a time when it didn't stop midway?

Maybe change bootloaders?
 
Old 08-23-2016, 06:43 AM   #6
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,417

Rep: Reputation: Disabled
I know zero about UEFI, but it sounds to me like you're configuring boot0 with the boot manager "menu". If your machine boots to a list with F1, F2, etc to select the OS, then that's the case.

Just don't do that and it should work.
 
Old 08-23-2016, 04:03 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
I think you may have borked your bootloader.

Try booting to a Live CD (Knoppix would be a good choice) and have a look at the boot loader config file. Reinstall the bootloader if that's possible w/o performing a fresh install.

http://www.knopper.net/knoppix/index-en.html
 
Old 08-24-2016, 08:49 AM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,417

Rep: Reputation: Disabled
Ztcoracat, you can't really rescue any kind of *BSD system using Linux livecds.

spacelander, you probably need to restore the bootcode. Reading the manual is inevitable. How it's done depends on whether it's an mbr or gpt disk, etc.
 
Old 08-25-2016, 07:09 AM   #9
spacelander
LQ Newbie
 
Registered: Jul 2015
Posts: 22

Original Poster
Rep: Reputation: Disabled
There is no such thing as boot0 for UEFI, that's MBR only. There is only boot1.efi and loader.efi. I didn't upgrade anything, I just installed the OS on a separate partition, and didn't even edit the loader.conf configuration file, as could't boot. I tried though to mount the DF partition on freebsd and change some things in loader.conf, but it didn't do anything.
 
Old 08-25-2016, 02:42 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
It sounds like the bootloader is broken.
If your os is still hanging/stopping midway I think it's safe to say the boot mgr is borked <or> misconfigured.

Since your os is still hanging at boot time..........
Doing a fresh install may be the only thing to fix your issue.

https://www.dragonflybsd.org/docs/ha.../Installation/

https://forums.freebsd.org/threads/12793/

Last edited by Ztcoracat; 08-25-2016 at 03:03 PM.
 
  


Reply

Tags
boot loader, drivers, freebsd, uefi booting


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 1 on Dragonfly BSD bagginmtdoom *BSD 5 10-01-2013 08:22 PM
dragonfly bsd live cd Nadim *BSD 1 07-20-2012 05:06 PM
DragonFly BSD 2.0 - Hammer tpreitzel *BSD 0 07-21-2008 02:36 AM
HELP IN INSTALLIN dragonfly BSD preeth45 *BSD 3 11-30-2006 09:25 AM
DragonFly BSD 1.0 Ephemeral *BSD 1 08-06-2004 03:07 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration