LinuxQuestions.org
Register a domain and help support LQ
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, 06:19 AM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
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 12:40 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-25-2011, 07: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, 08:13 AM   #3
GazL
Senior Member
 
Registered: May 2008
Posts: 3,503

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
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, 08:21 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
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 08:40 AM.
 
2 members found this post helpful.
Old 10-25-2011, 08:49 AM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
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, 08:56 AM   #6
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,283

Rep: Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588
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, 09:56 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,473
Blog Entries: 4

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525
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, 10:40 AM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

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

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
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 07:43 PM.
 
Old 10-25-2011, 08: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, 10:00 AM   #11
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 492
Blog Entries: 1

Rep: Reputation: 55
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, 11:12 AM   #12
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
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 Images
File Type: png bsdinstall-mbr.png (8.0 KB, 44 views)

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

Rep: Reputation: 55
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, 12:14 PM   #14
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
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 12:19 PM. Reason: Moved the Slackwiki.org issue to its own thread
 
Old 10-31-2011, 12:39 PM   #15
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

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


All times are GMT -5. The time now is 01:44 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration