LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-25-2011, 05:19 AM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Lightbulb Dual Booting with FreeBSD 9


For those of us that like to run FreeBSD as well as Slack.

Version 9+ of FreeBSD uses the GPT partition system and will no longer boot from lilo or Grub1.

I've written a small guide on installing Grub2.

http://slackwiki.com/Dual_Booting_With_FreeBSD_9

Hope it's useful.

Last edited by dive; 10-31-2011 at 11:40 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-25-2011, 06:57 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Thanks for that. I'm thinking of trying FreeBSD 9.0 when it's released proper and I wasn't aware that neither GRUB Legacy not LILO could boot it.
 
Old 10-25-2011, 07:13 AM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,896

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Is the issue just that their installer defaults to using GPT as of version 9 or are you saying they've dropped support for traditional partitions?
Whenever I've played with the BSD's I've always created the type a5/a6 partitions from linux rather than try and partition using the BSD installer. Is this no longer possible?
 
Old 10-25-2011, 07:21 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
Is the issue just that their installer defaults to using GPT as of version 9 or are you saying they've dropped support for traditional partitions?
Whenever I've played with the BSD's I've always created the type a5/a6 partitions from linux rather than try and partition using the BSD installer. Is this no longer possible?
I'm not really sure on that. FreeBSD 9 comes with a new installer that is greatly simplified (although I think sysinstall is still there in the Beta). I'll look into it now I've got some spare time

D.

Last edited by dive; 10-25-2011 at 07:40 AM.
 
2 members found this post helpful.
Old 10-25-2011, 07:49 AM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
GazL, I updated to the 9-BETAs on a system where I already has FreeBSD installed. It saw my partition table and slices in the installer, so you should have no problems using a traditional layout.

Adam
 
2 members found this post helpful.
Old 10-25-2011, 07:56 AM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Thanks for this dive!
I am hopeful that the FreeBSD developers will publish a guide on dual booting other OSs when 9.0 is released. I am very comfortable dual booting slackware/freebsd with FreeBSD 8.x and earlier using sysinstall. The rules have changed with GPT. I've asked this question in the freebsd forum (many thanks to dive's contribution in the freebsd forum thread- slackhead).

http://forums.freebsd.org/showthread.php?t=26872
 
1 members found this post helpful.
Old 10-25-2011, 08:56 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Add links

Hi,

Quote:
Originally Posted by dive View Post
For those of us that like to run FreeBSD as well as Slack.

Version 9+ of FreeBSD uses the GPT partition system and will no longer boot from lilo or Grub1.

I've written a small guide on installing Grub2.

http://slackwiki.org/Dual_Booting_With_FreeBSD_9

Hope it's useful.
Thanks Dive! With your permission I will be adding
http://slackwiki.org/Dual_Booting_With_FreeBSD_9 link to SlackwareŽ-Links & So you want to be a Slacker! What do I do next?
 
2 members found this post helpful.
Old 10-25-2011, 09:40 AM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Sure and thanks
 
Old 10-25-2011, 05:43 PM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Ok, after a lot of messing around I found out a few things.

Use the new bsdinstall 'manual' partition creator to create BSD Label partitions and all is good.
Grub2 refuses to see ufs/ufs2 file systems so it means falling back to good old lilo with something like:

Code:
other=/dev/sdb1
        table = /dev/sdb
        loader = /boot/loader
        label = FreeBSD
I tried using newfs originally from the boot CD shell to create ufs2 in the partition, but for some reason lilo didn't like it.

Last edited by dive; 10-25-2011 at 06:43 PM.
 
Old 10-25-2011, 07:03 PM   #10
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Slightly OT, I would like to see a tutorial on booting Slackware and Netbsd side by side. I would like to install pkgsrc on Slackware but I couldn't find a recent tutorial.
 
Old 10-31-2011, 09:00 AM   #11
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
Slackwiki.org seems to have disappeared for the moment. Dive, do you have the dual booting instructions posted anywhere else?
Regards,
Bill
 
Old 10-31-2011, 10:12 AM   #12
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by TSquaredF View Post
Slackwiki.org seems to have disappeared for the moment. Dive, do you have the dual booting instructions posted anywhere else?
bsdinstall supports other partition types as well, so unless you want GPT partition system and with that Grub2, you don't have to do this.
Attached Thumbnails
Click image for larger version

Name:	bsdinstall-mbr.png
Views:	72
Size:	8.0 KB
ID:	8278  

Last edited by ruario; 10-31-2011 at 10:13 AM.
 
1 members found this post helpful.
Old 10-31-2011, 10:38 AM   #13
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
bsdinstall supports other partition types as well, so unless you want GPT partition system and with that Grub2, you don't have to do this.
Hi, ruario. I have been using Grub2 since it first showed up on SBo, & the GPT partition system for the past few months. I really don't have to do this, but I want to try.
Regards,
Bill
 
Old 10-31-2011, 11:14 AM   #14
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by TSquaredF View Post
I really don't have to do this, but I want to try.
Ok, then use the Google cache.

http://webcache.googleusercontent.co...hannel=suggest

Quote:
Originally Posted by TSquaredF View Post
Slackwiki.org seems to have disappeared for the moment.
I created another thread about this.

Last edited by ruario; 10-31-2011 at 11:19 AM. Reason: Moved the Slackwiki.org issue to its own thread
 
Old 10-31-2011, 11:39 AM   #15
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
www.slackwiki.com

I'll change it in the first post.
 
  


Reply


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
Dual booting Ubuntu and Freebsd brianthegreat Ubuntu 7 06-01-2011 12:38 AM
dual booting with FreeBSD and Slackware paddy's not St.Pat Linux - Newbie 2 11-23-2009 07:47 AM
Dual Boot Slackware 13 with FreeBSD, but Issue Dual Booting PC-BSD Photon Blizzard *BSD 2 11-09-2009 11:55 AM
Dual Boot Slackware 13 with FreeBSD, but Issue Dual Booting PC-BSD Photon Blizzard Linux - Newbie 1 10-22-2009 10:07 PM
Dual booting Fedora 8 and FreeBSD 7 Release jeffmski Linux - General 1 03-05-2008 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:25 AM.

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