DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th July 2023
Zielonykid123 Zielonykid123 is offline
Fdisk Soldier
 
Join Date: Nov 2021
Posts: 69
Question How do I setup the environment on Linux host for FreeBSD development?

I want to make a FreeBSD based operating system for educational purposes. What's the best way to do that? My biggest problem is that FreeBSD doesn't support ext4 and I'm not sure why but It won't mount ext2fs type file system (probably I made a mistake or something. It says that there is no such option, I can't fint ext2fs in the mount(8) manual at -t parameter). If I fixed this I could have FreeBSD environment running on qemu where I would build my code and then push the output image somehow to my host operating system and run another qemu instance from it (my host is Linux). What do you guys think of it?
Reply With Quote
  #2   (View Single Post)  
Old 15th July 2023
vns3 vns3 is offline
Port Guard
 
Join Date: Sep 2017
Posts: 25
Default

Hi. The best way to build FreeBSD, is on a FreeBSD host. The tools are all built in.

As far as messing with disk formats that are compatible across the OSes, I decided a long time ago to just let each system use their native formats, and connect/mount over the network to get things between systems, which is not perfect, but it beats keeping FAT32 usb sticks around.

I suppose some people will suggest ZFS as well, it is supported on Linux and FreeBSD. That is another layer of complication added though.
Reply With Quote
  #3   (View Single Post)  
Old 22nd October 2023
cohumat cohumat is offline
Port Guard
 
Join Date: Oct 2023
Posts: 17
Default

I realized not only will others disagree with my points of view on the situation that the original poster should approach and possibly even solve his problem. I'd strongly recommend that he OP invest in a second HDD or SDD if their computer has the ability to hold an extra HDD or solid sate drive. Then I'd also strongly recommend that the original poster install FreeBSD on the second hard-drive and use a Virtulazation environment like Virtual bok from Oracl or running your Linux instance in either Bhve instance on top of the Free Bsd installation.
__________________
Kindly You Buddy,

Chip
EM:firedolphin8858@gmx.us
Reply With Quote
  #4   (View Single Post)  
Old 22nd October 2023
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 345
Default

Probably not what you want to hear - but I would run FreeBSD natively, on a dual boot, or another old/pre used computer - I think it would be easier in the long run.
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #5   (View Single Post)  
Old 23rd October 2023
cohumat cohumat is offline
Port Guard
 
Join Date: Oct 2023
Posts: 17
Default

Quote:
Originally Posted by bsd-keith View Post
Probably not what you want to hear - but I would run FreeBSD natively, on a dual boot, or another old/pre used computer - I think it would be easier in the long run.
Taking your answer to the original poster question into account, I do as matter of fact think that you are directing the op down an easier path. Speaking from personal experience I can tell every one who has posted in this thread so far that I sure wish that i'd found daemonforums when I was struggling through learning FreeBSD back in my High School and College days.
__________________
Kindly You Buddy,

Chip
EM:firedolphin8858@gmx.us
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to setup linux vmm with networking? invicta OpenBSD General 5 27th July 2021 02:29 PM
Create a Ruby on Rails development environment wesley OpenBSD Packages and Ports 2 13th December 2017 11:23 PM
Google and the FreeBSD Foundation fund Capsicum development J65nko News 0 18th April 2013 02:52 PM
Other Host storage devices vulnerable with KVM Linux virtualisation J65nko News 0 31st December 2011 04:55 PM
Mono development On FreeBSD roddierod Programming 5 8th May 2008 09:13 PM


All times are GMT. The time now is 09:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick