LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 02: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 02:07 PM.
 
Old 02-08-2014, 02:59 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 03: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, 03:19 PM   #4
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 682
Blog Entries: 1

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
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, 03:42 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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, 03: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 03:59 PM.
 
Old 02-08-2014, 05: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 04:16 PM
Dual Booting with FreeBSD 9 dive Slackware 14 10-31-2011 11:39 AM
Dual booting Ubuntu and Freebsd brianthegreat Ubuntu 7 06-01-2011 12:38 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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