LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2014, 03:05 PM   #1
justlooking
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: Disabled
Dual Booting freebsd and linux


hola or hi

I want to dual boot linux and freebsd. Should I install linux first, then freebsd or the other way around.

Which ever OS I install first, will the it's boot loader recognize and add the other OS as the second option automatically or will I need to add it manually?

thx

Last edited by justlooking; 02-08-2014 at 03:07 PM.
 
Old 02-08-2014, 03:59 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
you might want to put BSD on it's own drive

other than that

it dose not really matter too much
 
Old 02-08-2014, 04:05 PM   #3
justlooking
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I only have one drive :/
 
Old 02-08-2014, 04:19 PM   #4
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 218

Rep: Reputation: 106Reputation: 106
Order does not matter, you did not specify a distro or what boot loader you use. Years ago FreeBSD boot loader had no issues with linux, not sure if that is the case now. If using lilo you would specify Linux/FreeBSD as follows:
Code:
# Linux Partition
image = /boot/vmlinuz
  initrd = /boot/initrd.gz
  root = /dev/sda1
  label = Linux
# FreeBSD bootable partition config begins
other=/dev/sda4
        table=/dev/sda
        label=FreeBSD
of cource it depends upon your partition setup.
 
Old 02-08-2014, 04:42 PM   #5
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,667
Blog Entries: 10

Rep: Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076
Quote:
Originally Posted by jmccue View Post
Order does not matter, you did not specify a distro or what boot loader you use. Years ago FreeBSD boot loader had no issues with linux, not sure if that is the case now. If using lilo you would specify Linux/FreeBSD as follows:
Code:
# Linux Partition
image = /boot/vmlinuz
  initrd = /boot/initrd.gz
  root = /dev/sda1
  label = Linux
# FreeBSD bootable partition config begins
other=/dev/sda4
        table=/dev/sda
        label=FreeBSD
of cource it depends upon your partition setup.
Don't forget to run "lilo" as root after editing.
 
Old 02-08-2014, 04:53 PM   #6
justlooking
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I will be using pclinuxos which uses grub legacy

I think I might test this in a VM first. I will create a large partition like 50G and make a few partitions and see what happens. If things go well in the VM, then I apply it to my real hardware.

Last edited by justlooking; 02-08-2014 at 04:59 PM.
 
Old 02-08-2014, 06:33 PM   #7
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
You can install FreeBSD first, lots of kids really like installing it in ZFS but I am not sure if GRUB has support for that file system. I know for sure GRUB supports UFS with is the file system I installed.

Another thing is that if you are planning to mount the Linux home directory while running FreeBSD you will need to format the home in Linux with the EXT3 file system because FreeBSD doesnt support EXT4. So install Linux root partition in EXT4 but home in EXT3.

with the boot loader you can skit the installation of BSD bootloader but keep in mind the partition in which you installed BSD so you can add it to the GRUB file as chainloader.

Good luck to you.
 
  


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 between Linux and FreeBSD doughyi8u *BSD 5 01-02-2012 05:16 PM
Dual Booting with FreeBSD 9 dive Slackware 14 10-31-2011 12:39 PM
Dual booting Ubuntu and Freebsd brianthegreat Ubuntu 7 06-01-2011 01:38 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


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