ed9b [Solved] how can i edit freebsd boot loader? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old January 3rd, 2010, 11:29
Xeo84 Xeo84 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default how can i edit freebsd boot loader?

Hello, i'm trying to set up multiboot system and i can't find how to edit the freebsd bootloader!

I installed freebsd on a xp machine and dual boot works great, now i installed archlinux on a third partition with grub in the same partition.
But freebsd bootloader is unable to boot archlinux so i think there is something wrong in the configuration file, how can i manage it?
Is this possible?
or is better to install grub on hd0 and use it as default bootloader?

thank you!
Reply With Quote
  #2  
Old January 3rd, 2010, 13:36
Beastie Beastie is offline
Senior Member
 
Join Date: Mar 2009
Location: /dev/earth0
Posts: 1,716
Thanks: 1
Thanked 310 Times in 250 Posts
Default

The default boot manager has no configuration file. It just works, on-the-fly. But it only boots from primary BIOS partitions.

If Archlinux is installed on an extended partition, you should create a primary partition and install it there, and the FreeBSD default boot manager should find it. Or use GRUB instead.
__________________
May the source be with you!
Reply With Quote
  #3  
Old January 3rd, 2010, 14:15
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Yup, boot0 scans the partition table for primary partitions each time you boot up. You configure it by simply configuring your partition table correctly, and ensuring each OS has boot code at the start of its partition.
Reply With Quote
  #4  
Old January 3rd, 2010, 14:16
Speedy Speedy is offline
Member
 
Join Date: Nov 2008
Location: Acadiana
Posts: 187
Thanks: 7
Thanked 14 Times in 13 Posts
Default

Try GAG. It can chainload booteasy (and ntloader, and GRUB, and Lilo, etc).

http://gag.sourceforge.net/
Reply With Quote
  #5  
Old January 3rd, 2010, 17:02
paean's Avatar
paean paean is offline
Member
 
Join Date: Dec 2008
Location: .on.ca
Posts: 112
Thanks: 17
Thanked 9 Times in 9 Posts
Default

+1 gag
__________________
Clear messages, focused subject matter and purposeful objectives lead to posts useful for all.
Reply With Quote
  #6  
Old January 4th, 2010, 03:46
zeiz's Avatar
zeiz zeiz is offline
Member
 
Join Date: Nov 2008
Location: Canada
Posts: 691
Thanks: 38
Thanked 54 Times in 52 Posts
Default

I used GAG for years but now I use Grub2 (GAG currently cannot boot grub2).
And what? I like it! Just install Arch on whatever partition and choose it's grub on MBR (default). Then edit its menu.lst (or config files if you got grub2) for FreeBSD (search this forum). Grub will detect Windows automatically.
IMHO FreeBSD boot manager is not designed for multiboot.
Reply With Quote
  #7  
Old January 4th, 2010, 05:00
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Quote:
Originally Posted by zeiz View Post
IMHO FreeBSD boot manager is not designed for multiboot.
Of course it is. IMHO you just don't know how to use it.
Reply With Quote
  #8  
Old January 4th, 2010, 11:35
Xeo84 Xeo84 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok thanks all! i used a primary partition instead a extended partition and now it works!
thanks again
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install FreeBSD 8.0 using a USB stick, failed: No /boot/loader everypot Installing & Upgrading 10 February 29th, 2012 19:34
[Solved] FreeBSD 7.1 won't boot loader glenn Installing & Upgrading 15 October 28th, 2009 23:12
FreeBSD Boot Loader Location Harley51 Installing & Upgrading 3 October 11th, 2009 22:49
edit /boot/loader.conf, but won't boot phospher General 17 August 17th, 2009 14:49
FreeBSD boot loader changes default phreud General 7 November 21st, 2008 00:02


All times are GMT +1. The time now is 11:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0