LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 09-28-2019, 01:47 PM   #1
yabobay
LQ Newbie
 
Registered: Jul 2019
Distribution: OpenSUSE Tumbleweed
Posts: 7

Rep: Reputation: Disabled
Can I use a BSD kernel in a system currently running Linux?


Don't ask why. Just curious.

And if there's some sort of guide on how to do it, you got a link?
 
Old 09-28-2019, 01:56 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,652

Rep: Reputation: Disabled
Do you mean replacing the Linux kernel with the BSD kernel, while leaving the rest of the system unchanged? If so, the answer is no.

The libraries and applications all use system calls that are specific to the Linux kernel. They would have to be recompiled to run under a BSD kernel (and this is indeed possible with most Free Software applications).
 
1 members found this post helpful.
Old 09-28-2019, 02:30 PM   #3
Turbocapitalist
Senior Member
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 4,160
Blog Entries: 3

Rep: Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061
But that said, if you do a fresh install there used to be Debian GNU/kFreeBSD which was the GNU userspace with the FreeBSD kernel. However, the systemd cabal was aiming to cripple that to the point where it went away on its own. It looks like its on the rocks, but would probably accept work if you have the time and the skill and inclination.

https://www.debian.org/ports/kfreebsd-gnu/
 
Old 09-29-2019, 05:23 AM   #4
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 3,119

Rep: Reputation: Disabled
You may be able to access data on a Linux system from a BSD system, but that would depend on the Linux file systems supported by your BSD.
(Also, might be possible if your BSD has Linux compatibility.)
 
Old 09-30-2019, 05:03 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Location: /dev/planet2
Distribution: OpenBSD
Posts: 2,327
Blog Entries: 6

Rep: Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626
The was the Debian effort, there was one from some Arch Linux users some years ago.

But aside from being interesting novelty projects there is little point, which is why none of the attempts have really taken off.

If you read this you will see some of the rationale, but much of it is now irrelevant:

https://wiki.debian.org/Debian_GNU/kFreeBSD_why

The "Why would you prefer Debian GNU/kFreeBSD to Debian GNU/Linux?" could equally be "Why would you prefer FreeBSD to Debian GNU/Linux?"

But also: "Due to license and patent issues, ZFS is unlikely to appear on Linux.". No longer the case.

The "Why would you prefer Debian GNU/kFreeBSD to FreeBSD?" section boils down to ideological reasoning and "If you like the Debian package system"...

I see no benefits with the Debian packaging system of FreeBSD's pkg(7) and the ports tree.

There is also no obvious benefit to taking the FreeBSD kernel and tacking it onto the GNU userland as a replacement to Linux, for a person who is already using FreeBSD.
 
  


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
How to get system call names of a currently running process? geeja Linux - Newbie 3 02-18-2014 08:55 AM
LXer: PC BSD 8.0 release made BSD much easier for desktop use | Installation and scre LXer Syndicated Linux News 0 02-26-2010 08:30 AM
PC BSD, Open BSD, or Free BSD ? Alexvader *BSD 5 02-08-2010 12:40 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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