You are not logged in.
Bliz asked for run down of how i did a dual boot with dragonflyBsd so here it is with images.
I just linked the images as there are quite a lot, if you click on the first pic you can look at them all as a slide show in scrot moe to get a general idea of the process. One caveat, i used archbang linux inside a virtualbox machine to do this so i could get screenshots as examples. This is just for example to show how it might be done, you will need to know what steps you are taking with your own system. So always read the docs.... https://www.dragonflybsd.org/docs/
My first step is creating the partition in empty space in cfdisk on my linux archbang main os.Dragonfly uses freebsd disklabel so the partitions layout looks like this below...
Disk: /dev/sda
Size: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Label: dos, identifier: 0x4ac0b8b4
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 61442047 61440000 29.3G 83 Linux
/dev/sda2 61442048 471042047 409600000 195.3G 83 Linux
/dev/sda3 471042048 489474047 18432000 8.8G 82 Linux swap / Solaris
>> /dev/sda4 489474090 976768064 487293975 232.4G a5 FreeBSD
Free space 976769024 976773167 4144 2M
┌──────────────────────────────────────────────────────────────────────────────────────┐
│Partition type: FreeBSD (a5) │
└──────────────────────────────────────────────────────────────────────────────────────┘
[Bootable] [ Delete ] [ Resize ] [ Quit ] [ Type ] [ Help ] [ Write ]
[ Dump ]
Quit program without writing changes
So you create an a5 freebsd type partition of whatever size you want it to be, i noted that you cant use bsd in extended space and as i can only have 4 partitions i just filled up the last part of the disk with Dragonfly. No need to make it bootable, we will do that with grub later on.
once that is done, burn your dragonfly usb img (not iso) to usb if you are doing it that way or iso to dvd/cd etc.
Now lets install Dragonfly, boot your usb or dvd/cd.
---> have a look at these pics first to see the steps and read what they say in the steps.
https://scrot.moe/image/6tHSW
https://cdn.scrot.moe/images/2017/11/12 … -39-05.png
https://cdn.scrot.moe/images/2017/11/12 … -39-44.png
https://cdn.scrot.moe/images/2017/11/12 … -40-10.png
https://cdn.scrot.moe/images/2017/11/12 … -40-33.png
https://cdn.scrot.moe/images/2017/11/12 … -40-59.png
---> Important step, make sure to choose "use part of disk"
https://cdn.scrot.moe/images/2017/11/12 … -41-16.png
---> Choose the bsd partition we created earlier
https://cdn.scrot.moe/images/2017/11/12 … -41-39.png
---> Make sure you have the correct partition, last chance to back out here!
https://cdn.scrot.moe/images/2017/11/12 … -42-07.png
https://cdn.scrot.moe/images/2017/11/12 … -42-42.png
---> I used the hammer file system, dont think i would touch the bleeding edge hammer2
https://cdn.scrot.moe/images/2017/11/12 … -43-00.png
---> I chose the default setup
https://cdn.scrot.moe/images/2017/11/12 … -43-51.png
---> unless you want something special like /build - in which case the next picture explains why.
https://cdn.scrot.moe/images/2017/11/12 … -44-31.png
---> progress
https://cdn.scrot.moe/images/2017/11/12 … -44-47.png
https://cdn.scrot.moe/images/2017/11/12 … -45-18.png
https://cdn.scrot.moe/images/2017/11/12 … -45-40.png
https://cdn.scrot.moe/images/2017/11/12 … -47-11.png
---> Skip this step, we will make it boot with grub.
https://cdn.scrot.moe/images/2017/11/12 … -52-57.png
---> Congrats!!
https://cdn.scrot.moe/images/2017/11/12 … -53-16.png
---> I wont go into all the config details as most pretty self explanatory.
https://cdn.scrot.moe/images/2017/11/12 … -53-52.png
---> Setting up the user here i forgot to add in home directory, so it would be something like /home/<YOUR USER>
Also set login group as wheel and i added operator for some reason when i was setting up openbox,
im archbang now but will go back into Dragon fly later on and get more info why i did that.
https://cdn.scrot.moe/images/2017/11/12 … -12-27.png
---> Set console font, this is a nice addition, i chose the following, or you can leave the default, have a look through them though.
https://cdn.scrot.moe/images/2017/11/12 … -14-14.png
---> Select screen map.
https://cdn.scrot.moe/images/2017/11/12 … -14-47.png
---> So after you finish configs, select exit live cd.
https://cdn.scrot.moe/images/2017/11/12 … -15-27.png
---> Login as root and reboot or poweroff.
https://cdn.scrot.moe/images/2017/11/12 … -15-58.png
---> Now in your main linux distro do the following..
$ sudo nano /etc/grub.d/40_custom
---> Note that you have to distinguish set root=(hd0,4) mine was 4 as it was last partition on the disk,
in picture examples i am using a simple layout within virtualbox.
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Dragonfly"{
set root=(hd0,4)
chainloader +1
}
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
or for debian
$ sudo update-grub
---> Reboot and you should have a dragonfly grub entry
https://cdn.scrot.moe/images/2017/11/12 … -26-21.png
---> All done, now you can go here to find out more about Dragonfly BSD https://www.dragonflybsd.org/docs/
https://cdn.scrot.moe/images/2017/11/12 … -29-08.png
Hopefully i havent missed anything, if anyone spots errors please let me know.
Cheers.
Last edited by Steve (2017-11-12 02:54:38)
Offline
Sweet ! Thanks Steve, definitely bookmk'ed for future reference.
Offline
Your welcome Bliz. Gave me something to do today apart from the housework, but i still had to that as well which sucked, cant spend all day dorkin with linux and bsd, id like too though.
Offline
^ Me too and believe we speak for a BUNCH of others here too. Would be lying if I said I wasn't a hardcore gnu/Linux and tech-addict by this point. Sheesh will/HAVE in fact neglect more important things to dork around with all things geeky.
Mentioned in other threads, there's a dang market for it !!!! MANY people making decent living's out of doing so too. Plenty of commercial idea's on the 2dork-list. Just too busy not making it happen and randomly screwing with gnu/Nix etc instead. Ya know that old saying, doing something you love, you'll never have to work a dy in your life. Helps if you can make oodle$ of bucks out of it.
ie: Linus Torvalds, the guys an uber-techno-geekNix-ninja pimp. Independently wealthy ( for a longggggg time now.) Still get's a nice fat paycheck from whoever no doubt. Though still heads up kernel development cause he likes/loves doing it, not because he has to do any such thing by this point. Find myself in awe of such a person.
UPDATE: Wouldn't at all be surprised to find out they pay him 100's of thousands per year just in salary. Dude probably looks at the latest deposit on his bank statement, goes ahhh ok, that's nice, hmmmm. Wonder what the latest Kde is doing ?
Either way, thanks for the quality information on this topic and going through that time/trouble to share it.
Last edited by BLizgreat! (2017-11-12 23:20:42)
Offline