LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-28-2009, 11:40 AM   #1
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
How to dual boot Slackware 12.2 with FreeBSD 7.2


Lilo very effectively boots FreeBSD. I'm currently running a dual boot with Slackware 12.2 and FreeBSD 7.2-amd64.

To set-up a dual boot with Slackware and FreeBSD:
1. Install Slackware first and leave a partition of un-allocated space for FreeBSD. I recommend at least 10 GB for FreeBSD.
2. Install FreeBSD onto the free partition. Do not install the FreeBSD boot loader. Lilo will boot FreeBSD for you.
3. Boot into Slackware and edit /etc/lilo.conf. This is my lilo.conf. I have a home partition mounted as sda3. FreeBSD is installed on sda4. Adjust your lilo.conf to your specifications, partition scheme.

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda2
  label = Linux
  read-only
# Linux bootable partition config ends
# FreeBSD
other = /dev/sda4
table = /dev/sda
label = FreeBSD
4. Run # lilo to update lilo.conf.
5. Now when you boot-up your computer you will have the option to select Slackware or FreeBSD as your OS.
6. Read the FreeBSD handbook for detailed FreeBSD installation instructions. FreeBSD Handbook
 
Old 06-28-2009, 06:01 PM   #2
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
im doing the same with grub.

for the sake of posterity, here is the grub entry:

title FreeBSD
rootnoverify (hd0,0)
chainloader +1
 
Old 06-28-2009, 07:47 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Original Poster
Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Cool

Quote:
Originally Posted by botnet View Post
im doing the same with grub.

for the sake of posterity, here is the grub entry:

title FreeBSD
rootnoverify (hd0,0)
chainloader +1
Cool. I haven't tried dual booting FreeBSD using grub.
 
Old 06-28-2009, 08:31 PM   #4
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Quote:
Originally Posted by hitest View Post
6. Read the FreeBSD handbook for detailed FreeBSD installation instructions. FreeBSD Handbook
Great info, just adding the FAQ: 9.11. How do I boot FreeBSD and Linux® from LILO?
Grub is 9.12 on the FAQ

For #1 remember FreeBSD uses primary partitions (unless that has changed)

Cheers
 
Old 06-28-2009, 09:21 PM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Original Poster
Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by MannyNix View Post
Great info, just adding the FAQ: 9.11. How do I boot FreeBSD and Linux® from LILO?
Grub is 9.12 on the FAQ

For #1 remember FreeBSD uses primary partitions (unless that has changed)

Cheers
Thank you for the kind words and the additions to my post.

I am assuming that the user will read the FreeBSD Handbook and follow the described procedure when they use FDisk to set-up their partitions and install FreeBSD.

Installing FreeBSD

Last edited by hitest; 06-28-2009 at 09:23 PM.
 
Old 06-29-2009, 10:20 PM   #6
dissociative
Member
 
Registered: Jul 2007
Posts: 42

Rep: Reputation: 15
shame, I have installed FreeBSD-7.2-RELEASE but I still dont have too much time and resources to play with it, I only have one PC and I have to share it with a family member that comes from the windows world. I hope that in the future thing will look better.
 
Old 06-29-2009, 10:49 PM   #7
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Original Poster
Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by dissociative View Post
shame, I have installed FreeBSD-7.2-RELEASE but I still dont have too much time and resources to play with it, I only have one PC and I have to share it with a family member that comes from the windows world. I hope that in the future thing will look better.
I understand, man. I hope you can share some well-built software with your family member windows user. The windows user will come to appreciate an OS like Slackware or FreeBSD, that is, having a stable OS that always works.
 
  


Reply



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
FreeBSD dual boot... generalachoo *BSD 1 02-19-2008 05:57 AM
Dual boot with Slackware and FreeBSD wabob *BSD 2 07-17-2007 02:37 PM
Dual boot with Slackware and FreeBSD hosler *BSD 10 02-03-2006 03:40 PM
Dual booting Slackware 10.1 & FreeBSD xfezz Linux - Newbie 1 04-21-2005 01:22 PM
Boot Sector on dual boot PC. Remove Mandrake and replace with FreeBSD Phin666 *BSD 1 10-30-2004 05:02 PM

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

All times are GMT -5. The time now is 11:50 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