[SOLVED] Freebsd & Linux: Can they coexist on same HD?
*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'vd decided to try Freebsd, and made myself a dvd. I'm ok with linux but an absolute bsd newbie. My pc is a laptop (Samsung NP350C-A05UK), with UEFI disabled in the BIOS. The 250G ssd is partitioned thusly
Code:
Number Start End Size Type File system
1 1049kB 1075MB 1074MB primary ext2 /boot
2 1075MB 7517MB 6442MB primary linux-swap(v1) Swap space
3 7517MB 34.4GB 26.8GB primary ext4 Slackware /
4 34.4GB 240GB 206GB extended
5 34.4GB 66.6GB 32.2GB logical ext4 /home
6 66.6GB 93.4GB 26.8GB logical ext4 EMPTY, FOR BSD?
7 93.4GB 240GB 147GB logical ext4 VM 'disks'
The security features of bsd attract me.
Ideally, I would like bsd on partition 6, using the swap on partition 2 & booting from lilo off partition 1. An alternative is a 32G usb drive which I could assign in it's entirety. A 3rd option is a free 29G on the partition housing VMs, if bsd runs under VirtualBox. There's also a 3.5" 500G mechanical USB drive (which doesn't fit in a laptop) or a 32G sdcard if the bsd kernel can boot off the thing
Code:
ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
What way would you tackle this, and what should I have read? The install dvd is painfully slow. The support docs on it seem to be like a "how to shine" workshop manual. I started an install, but didn't know what it was going to do, so aborted, because it was giving little feedback.
There isn't a "BSD" anymore nor a "BSD kernel". FreeBSD, NetBSD, OpenBSD and DragonFly, et al, have diversified into completely different OS.
Partition 6 is a logical/extended drive of partition 4 of your DOS MBR. You can use an MBR but it should be a primary partition you install to. The MBR partition you select will use BSD disklabels and all of your FreeBSD slices will reside therein. You will need to avoid installing bootblocks in this case and use your existing bootloader.
Installation on a USB flash drive might be the best option, especially as it might help avoid you accidentally hosing your existing setup.
So Openbsd, Freebsd, NetBSD,& co. are all different operating systems, not just different distros. I did not know that.
I'll try an install to usb. Hosing my existing system would be an inconvenience rather than a disaster, as I have a recent backup, having just upgraded.
For completeness, I'll post an epilogue. No install was done in the end.
4 minutes into the bootup, I finally got the word "Install" as a select-able option. The install dvd was not able to see any usb drive. I know that sort of issue can be got around, but it's pain I can do without. I was also dismayed by the learning curve - all the devices and utilities seem similar but different enough to set me learning from scratch. I was impressed by the *BSD security features. I was also impressed that modern hardware is so well supported.
OTOH, I was also impressed by TAILS, the secure linux distro, and have gone through the pain of installing that on a usb key. So the reason to fight with this is not there at the moment, for what is a home use Laptop. I can put TAILS in, reboot, key in a wifi password in the gui & I'm away. Good for a client. And I know linux.
I will keep all bsd variants in mind for the evil day that I have to stick up a server and be a target.
4 minutes into the bootup, I finally got the word "Install" as a select-able option. The install dvd was not able to see any usb drive. I know that sort of issue can be got around, but it's pain I can do without.
Sometimes you have to replug or rescan the drive. Doing this should also show some messages relating to which device node it's been attached to. You can then tell the installer to use that device. USB attached storage will be treated no differently to SCSI, so da0 would normally be your first attached USB flash drive (unless you have a SCSI drive of course).
Quote:
Originally Posted by business_kid
I was also dismayed by the learning curve - all the devices and utilities seem similar but different enough to set me learning from scratch.
The *BSDs are not GNU/Linux. You're not the first Linux user to make wrong assumptions about a "BSD kernel" and "BSD distros". Linux mostly uses the GNU userland, whereas the *BSDs are complete operating systems descended from 386BSD/4.4BSD, etc. I wouldn't call it relearning from scratch, but there is some relearning yes.
Quote:
Originally Posted by business_kid
OTOH, I was also impressed by TAILS, the secure linux distro, and have gone through the pain of installing that on a usb key. So the reason to fight with this is not there at the moment, for what is a home use Laptop. I can put TAILS in, reboot, key in a wifi password in the gui & I'm away. Good for a client. And I know linux.
From what I read about TAILS, it is all about anonymity and privacy. If you were looking for something of this sort - preconfigured - then it might have been the best starting point rather than FreeBSD, which is a completely different thing.
I don't think I presumed too much about the kernel - I thought they use the Linus kernel, which is probably the most developed unix kernel for pcs.
Yes, tails (The Amnesiac Incognito Linux System) is about anonymity & privacy but is also secure - spoofing IPs, going through Tor by default, encrypting the persistent storage on the usb key, etc. The updates are most often security updates. But it is definitely client only, and designed to be mobile.
If you need to stay still, e.g an online server/firewall, then some bsd variant seems essential. The more linux moves to GUI interfaces, the less it seems to pay heed to security. Increasingly there is package bloat where there are scores of scripts in perl/python or some such language. Things like Cups, NetworkManager, Pulse Audio & Alsa are run by everyone, but nobody has a clue what's actually happening.
TAILS does not seem to be about security and Tor is not a security feature, it's an anonymity network. You would not do your online banking via Tor... TAILS seems to be a dressed up private browsing liveCD. I feel you're confusing 'security' with this kind of thing.
Have a read up on OpenBSD if you want to know about secure OS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.