Anonymous
Man pages are gold. As a quick gpart usage reference for disk managing you can take a look here too
-> man pages are golden Can't argue with that, freebsd man page quality is top notch
Anonymous
Just basic stuff, like formatting USBs from the terminal, mounting new disks etc.
So you're essentially using freebsd as a glorified disk reader and writer program?
Anonymous
u unable to read & understand ?
I know the package exists, I was stating my disbelief about how it can even exist on freebsd u unable to understand context?
✨𝓜𝓸𝓸𝓷𝓵𝓲𝓰𝓱𝓽🌙
So you're essentially using freebsd as a glorified disk reader and writer program?
Hahah I do many more things with it, just could not figure out stuff on this topic as it is very different
XADE
I know the package exists, I was stating my disbelief about how it can even exist on freebsd u unable to understand context?
my bad , it's easier to get when it's comes out of mouth , instead of text XD
XADE
also it was a genuine question from his side , as a new comer
Dmitriy
Hi! Has anyone "Packet Traveling" diagram of sorts for BSD?
Anonymous
Those are not the same packages. Those are built for freebsd.
No that's not what I meant util-linux was made for Linux and is used by most of the Linux's, so one would assume they weren't exactly portable to other Unixes What I mean was how can you take the source code of util-linux and compile it in freebsd without problems?
Dmitriy
Where is FreeBSD stores NDP cache? In wich structure? Is it right guess that NDP injects records into it throught route socket?
ɴꙩᴍᴀᴅ
Thanks for noticing (:
ɴꙩᴍᴀᴅ
Added!
✨𝓜𝓸𝓸𝓷𝓵𝓲𝓰𝓱𝓽🌙
Thanks :)
Jackie
Guys, please help me with this: https://forums.freebsd.org/threads/i-lost-bootcode-in-bsd-slice-a-lot-help-me-found-out-why.82277/
Hardcode
jeez
Hardcode
it's like reading the mail archive from early 00's
Hardcode
why do you need "dualboot" at all
Hardcode
choose your primary OS, boot the other in a VM
Hardcode
bet your CPU is VT-x capable (AMD-V if you like)
Hardcode
MBR, slices.... jeez, it's like you're preparing to PhD in computer history
Hardcode
the whole story is purely academic
Hardcode
when MBR was everywhere there was no zfs at all
Hardcode
bet boot0cfg has no idea about it
Hardcode
Windows is pretty capable o booting from GPT
Hardcode
(I'm not even talking or mentioning UEFI, just the partitioning scheme that is at least 15 years in its maturity)
Hardcode
boot into w10, launch FreeBSD in a Hyper-V, or boot FreeBSD, launch W10 in bhyve
Hardcode
forget the nightmare of MBR and dualbooting
Jackie
For your information, the laptop is over 10 years old, UEFI was not supported
Hardcode
have both OSes booted at the same time
Hardcode
yeah, right
Hardcode
but I already stated I'm not mentioning UEFI
Jackie
and as you can see from the specs, using VMs in such limited resource is almost impossible, especially Windows
Anonymous
waht ... windows 10 / vmware w/ BSD's & Linux no problem
Anonymous
& when the install ask where ya want your boot loader »> MBR
Jackie
It's two cores T2100 @2GHz, 4G RAM, I can only imagine using VM in a DE.
Anonymous
not that bad
Jackie
& when the install ask where ya want your boot loader »> MBR
Isn't gpart bootcode -b /boot/boot0 ada0 doing this?
Anonymous
idk
Jackie
& when the install ask where ya want your boot loader »> MBR
And as I recall FreeBSD installer won't ask you this?
Hardcode
installing 13.x with zfs on 4 gigs of RAM.... ooookay
Anonymous
on /sda
Jackie
installing 13.x with zfs on 4 gigs of RAM.... ooookay
I am talking about using VMs in DE. I know it's pretty OK to use 13.0 desktop, I am running it right now.
Hardcode
I dont quite get the passage "VMs in DE"
Hardcode
DE or not DE, VMs don't care
Hardcode
T2100 doesn't have EPT/UG, so no bhyve
Hardcode
this leaves you probably with W7 and VMWare of some sort
Jackie
I dont quite get the passage "VMs in DE"
You suggested to run VMs instead of dual boot. I am saying that using VMs in a desktop environment on my machine would be hard given my laptop spec.
Hardcode
anything will be hard on this antique
Jackie
Windows 10 itself might require 2G+ RAM to run smoothly
Hardcode
well, as the guys already pointed out, you're making it even more difficult
Hardcode
in a conventional setup, a would be the root partition, and b - swap
Hardcode
all the code is legacy, all the guys who knew the tricks of having swap and root swapped - in nursing homes
Hardcode
repartition the BSD slice, maby the things will change
Hardcode
I'm the guy from this legacy era, but I was never using root on b and swap on a
Hardcode
sounds like pure heresy
Jackie
I still I don't get it why boot code sometimes went lost after reboot, sometimes not. if swap was cleaned at each reboot, I would lose boot code on EVERY reboot, not randomly.
Hardcode
the thing is that it's not :)
Hardcode
when kernel wants to swap the page - it does
Hardcode
when it doesn't want - it does not
Hardcode
the more is your uptime - the more is the probability
Jackie
Is that when new data is written into swap at the same place?
Hardcode
and since the swap is the first partition on a slice - ....
Hardcode
don't remember if there was an offset on a root partition for loader
Hardcode
bet it was
Hardcode
who knows :)
Hardcode
another approach - don't mount the swap :)
Hardcode
but FreeBSD behaves erratically without it
Jackie
If I use ada0s4a as ZFS, ada0s4b as swap. Do I create ZFS filesystems first and then write boot code or the other way around? Or it doesn't matter?
Jackie
another approach - don't mount the swap :)
ha, didn't think of that, I'll definitely try this.
Hardcode
doesn't matter as long as you don't tamper with partitions boundaries
Hardcode
you could *also* use the swap on zfs
Hardcode
I should say that it may work
Hardcode
depends on the swap usage profile
Hardcode
opensolaris/illumos guys didn't make it - I mean - didn't succeed in porting zfs swap to FreeBSD (or Linux)
Hardcode
so when the swap on zfs is used in bursts (loads of pages going on it) - FreeBSD livelocks
Hardcode
when it's not bursty - could live for years of uptime
Hardcode
that's why everyone stopped using swap on zfs and the documentation was wiped
Hardcode
but it's still possible, after all - it's a laptop
Hardcode
sad thing Solaris was not only capable of using the swap on zfs, but also kerneldumping on it