-
bqv
hey, say
-
bqv
bhyve vms, can they use the local disk as a disk?
-
bqv
via virtio-9p or something
-
michaeldexter
By local disk do you mean a device or directory?
-
bqv
michaeldexter; directory
-
bqv
to clarify, i'll need it to boot off that disk, and it's using a linux kernel
-
michaeldexter
bqv: bhyve has a simple 9p server and you can mount a 9p share from Linux after boot time.
-
bqv
could that work from an initramfs?
-
michaeldexter
In theory, root on 9p is also supported.
-
bqv
cool, is there a neat guide for that anywhere?
-
michaeldexter
I know of this but have never tried it myself:
wiki.qemu.org/Documentation/9p_root_fs
-
VimDiesel
Title: Documentation/9p root fs - QEMU
-
bqv
oh, i was actually thinking on the freebsd side, but actually it's just plug-n-play pass the directory as an argument to virtio-9p, right?
-
bqv
either way, thanks!
-
bqv
for what it's worth, i think i love bhyve
-
bqv
it's so much easier than anything else i've used
-
bqv
darn :D
-
bqv
it mounts, but won't boot, because too many things are symlinks, and it doesn't look like 9p handles symlinks well
-
drac_boy
hi
-
drac_boy
had to ask but is it a bit difficult to write down or is there some general guide on how to install freebsd when the board has no provision for video?
-
drac_boy
(board still has sata/sd/eth/serial anyhow)
-
otis
i'd go with serial console.
-
drac_boy
so how to do without video anyway? (I wonder if the search results are just missing some keywords for)
-
otis
i have a custom image with comconsole as primary
-
drac_boy
mm ty anyhow otis think will put this off for now
-
drac_boy
hope you enjoying your weather wherever you are btw? :)
-
otis
yeah, we do. i aimed to upgrade one important box from 13.0-STABLE to 13.1-RELEASE today.
-
drac_boy
wet snow here .. had the power deciding to be a little silly for a while yesterday night so I had to turn the room light off as the semi-strobing was a little too much (beside that for a few hours it was completely out early in the week too)
-
drac_boy
thankfully no real power outages..yet
-
idwer
I'd install on another machine, swap disks
-
idwer
is that an option for you?
-
mbnunes
Hi! I'm changing some options in BSDINSTALL, is there any way for me to test it on my FreeBSD, without having to generate a new iso every time?
-
drac_boy
idwer mm I dunno .. I'm not sure where I could find a with-video board with similar cpu .. cheers still
-
idwer
ah, it's not an amd64 board?
-
yuripv
you don't really need cpu (or anything) to be similar
-
yuripv
(just same arch, yes)
-
meena
drac_boy: you might just need to modify the boot image on the installer disk, so that it prefers serial
forums.freebsd.org/threads/installi…g-freebsd-over-serial-console.62005
-
VimDiesel
Title: Installing FreeBSD over serial console | The FreeBSD Forums
-
yuripv
and afaik if you don't have video output, loader will just select serial console
-
meena
it will?
-
drac_boy
-
VimDiesel
Title: List of AMD accelerated processing units - Wikipedia
-
meena
so there's nothing to actually do?
-
drac_boy
just not too sure if it would be the same kind of am64 as a socketted board would expect
-
drac_boy
amd64*
-
meena
drac_boy: as yuripv says: as long as the arch is the same, it doesn't matter
-
yuripv
tsoome: can you answer that please? will loader auto-select serial if there's no video?
-
drac_boy
yuripv mm thanks .. and cheers meena
-
MelMalik
if it wasn't, a laptop would be incompatibly different from a desktop
-
meena
it's not like we do CPU or Board specific optimisation post install
-
MelMalik
notebooks can generally run desktop software
-
drac_boy
yuripv btw is your name actually yuri?
-
yuripv
drac_boy: yep
-
tsoome
yuripv uefi version does
-
meena
we do it *pre-install* for ARM, because every board is so different
-
drac_boy
meena np I'm a bit too used to seeing an installer that barfs because it was expecting a p4 but got a p3 instead .. or maybe I'm a little too old-brained :)
-
tsoome
yuripv with bios version, we have no good option to do this
-
MelMalik
on IRC your name is your nick
-
yuripv
MelMalik: there's also "real name" in whois :p
-
drac_boy
yuripv funny .. I'm yuri as well .. but from canada :) (and my sister likewise is tatiana)
-
MelMalik
Pentium 4 had new instructions that Pentium 3 did not, afaik drac_boy
-
MelMalik
so the installer may have choked on not having the new instructions from the Netburst
-
drac_boy
anyway .. I'll see when (if) I try go ahead with this and see what happens :)
-
meena
-
VimDiesel
Title: freebsd-src/sys/arm/conf at main · freebsd/freebsd-src · GitHub
-
meena
-
VimDiesel
Title: freebsd-src/sys/amd64/conf at main · freebsd/freebsd-src · GitHub
-
yuripv
meena: ?
-
drac_boy
meena you know..I can understand that its a dev thing (re their time) but .. I still sometimes wonder about freebsd seemingly not liking mips what with practically all platforms there going 'unsupported' for 14.x
-
meena
drac_boy: the great irony of #bsdmips on EFnet being the channel for /other/ platforms
-
drac_boy
at least its nice that someone is still thinking of the 32bit x86/ppc's .. after all 700mhz with 256mb of ram isn't that bad for non-heavy things
-
drac_boy
meena heh .. no further comment :)
-
drac_boy
either way .. I'm not too surprised 13.x finally decided to let sparc go .. I can't even recall the last time I ever saw any sparc systems being used anywhere except just for retro-solaris sakes (yep these old "lunchbox" and other alike beige/purple)
-
drac_boy
meena don't mind me asking you here but .. any particular platform you like or its rather 'whatever goes'?
-
meena
first off: 32 bit ppc is long deprecated. second: there's no good, available, standard MIPS boards. everything interesting these days is on ARM, and RISCv64 (which doesn't even have a 32 bit spec. but a potential 128 bit spec)
-
drac_boy
meena .. so freebsd isn't suppose to network-route? :)
-
drac_boy
(just nitpicking in a silly way .. so many retail and diy boards I had looked at used one or two mips cpu off the bat)
-
meena
that feels like a long time ago
-
drac_boy
as for powerpc I can't argue with that (as the only non-power powerpc cores remaining seem to be just for niche industrial uses) .. even then its nice that theres still some support for the good venerable common used systems
-
drac_boy
meena .. well I'm talking about 2018-2022 sold ones mind you (re mips)
-
meena
last one i had was in school, so, like 21? years ago
-
drac_boy
even then I do have to agree that non-networking mips indeed seem to be quite thin these days (I haven't ever seen a mips creator board being mentioned anywhere anymore either)
-
meena
my partner works for a company called prpl, which split out of OpenWRT. MIPS was a founding member of prpl, but is not a member anymore
-
meena
and I think that's a pretty gauge for where the network space is moving
-
drac_boy
mind you I'm not too sure what to think about in term of bsd and these niche x86's .. especially eg vortex86 .. but ehh don't want to think too much about it anyway :)
-
meena
drac_boy: i386 has been degraded to Tier 2…
-
drac_boy
mm anyway dunno of anything else bsd-wise so going for now..have fun :)
-
ixmpp
whyfor is #fbsd +r?
-
ixmpp
i set up sasl so it's no problem, i'm just curious
-
meena
ixmpp: lots of spam on FreeNode, so maybe just a holdover from then
-
ixmpp
ah
-
ixmpp
might be worth loosening, libera is nicer
-
ridcully
with user count in the hundreds this channel still is a juicy target
-
nekobit
if i installed FreeBSD-current from USB
-
nekobit
and i ticked to download the ports tree
-
nekobit
but i really, obviously need to use the latest ports tree...
-
nekobit
can i just rm -r the whole /usr/ports directory and then do the git clone?
-
nekobit
if i'm on -CURRENT i really should've stayed with current lol
-
nekobit
right?
-
nekobit
or is there something i'm missing about `pkg', does `pkg' update ports tree for me?
-
V_PauAmma_V
NO, pkg doesn't. I don't know if portsnap is still in -current. If it isn't, it's git ot gitup time.
-
nekobit
portsnap?
-
nekobit
snapshot of the port tree?
-
V_PauAmma_V
man portsnap
-
nekobit
ah, so whats diff between git and a port snapshot
-
nekobit
it looks like the FreeBSD docs only covers the "git" method
-
nekobit
okay well.. i sorta get it, the intended solution is `portsnap fetch update'
-
nekobit
git is veeeery slow, and im not really interested in contributing to the ports tree yet.
-
nekobit
although i do want to contribute some shit to the kernel, maybe later...
-
V_PauAmma_V
Or "portsnap auto". It takes care of figuring out whether you need to use "fetch" or "upgrade", then it does the "update".
-
nekobit
thx
-
nekobit
so, pkg is basically just pre-built ports, i got that right?
-
V_PauAmma_V
Yes. Prebuilt using the default options.
-
V_PauAmma_V
And correction: "portsnap auto" is shorthand for either "portsnap fetch extract" or "portsnap fetch update".
-
MelMalik
do I have ixmpp on ignore by accident
-
ixmpp
yes
-
MelMalik
amazing
-
MelMalik
welcome back to the land of the living
-
debdrup
ixmpp: nekobit is essentially correct; even if most of the people here are idle, just the fact that there's +500 clients connected will give incentive to malicious actors.
-
ixmpp
fair
-
nekobit
debdrup: the hell did i do?
-
debdrup
nekobit: eh?
-
nekobit
> nekobit is essentially correct
-
ixmpp
it was meena
-
ixmpp
and ridcully
-
debdrup
orsz
-
debdrup
s/sz/z/
-
debdrup
Clearly IRCing shouldn't be done when tired.
-
daemon
lol
-
mbnunes
-
mbnunes
I have a doubt, for me to change the FreeBSD installation menu, would it be in this source path?
-
mbnunes
-
mbnunes
usr.sbin/bsdinstall
-
debdrup
mbnunes: the installation menu is bsdinstall, yes - and it's located in src/usr.sbin/bsdinstall as you've summized; though depending on what y ou want to change, it might be bsddialog you want to change (which is located in src/usr.bin/bsddialog).
-
debdrup
ixmpp: Even if we set it up so it was '+re $z' (ie. registered-only, but people who're connected via SSL/TLS are excempt, that would allow people connecting via TLS without using SASL (which requires authentication in addition to enabling encryption) to join.
-
ixmpp
yeah
-
mbnunes
debdrup: I want to add a submenu for the user to choose a desktop environment to be installed during installation.
-
debdrup
mbnunes: sysutils/desktop-installer or bsdconfig(1) can already do this
-
mbnunes
I created a dialog script for this, which with simple options you can install KDE, GNOME, XFCE, Lumia, WM and i3
-
debdrup
What about Wayland and any number of compositors? That's supported on FreeBSD too (I use wayland+sway), so why leave that out? ;)
-
rtprio
how hard is it to just, you know, install the environment after it's installed?
-
debdrup
What about enlightenment, fluxbox (or *box, as there's multiple variants that I'm not sure I remember all of), CDE/NsCDE (and if you're gonna choose only one, why?)? ;)
-
debdrup
Can't forget about twm either, I know at least one FreeBSD developer who uses that.
-
debdrup
I'm being slightly facisious here, but it's with a good cause - there's no way to cater for every single choice a user could have when installing.
-
debdrup
If the installer offers the choice of what a user can use, does that mean the FreeBSD project is now responsible for those projects working and continuing to work?
-
ridcully
or program your own with awesome-wm
-
debdrup
FreeBSD can make for a great desktop OS (I've been using it as such for over 20 years), but that's not the same as saying that FreeBSD should have a desktop as part of its installer.
-
mbnunes
debdrup: I created the script with the options I already used, so the idea is to make a freebsd ISO with these options, nothing else.
-
debdrup
I mean, you can create a fork of FreeBSD to do that if that's what you want :)
-
debdrup
You just can't call it FreeBSD, for obvious reasons. :P
-
mbnunes
I know, I know it would just be a fork to help newbies.
-
debdrup
I think there'd be more worth in adding more options to sysutils/desktop-installer, but each to their own.
-
mbnunes
debdrup: I've never edited a pkg before, can I just fork the project and make the changes?
-
debdrup
mbnunes: A package is something completely different, in FreeBSD vernacular.
-
debdrup
I suspect that if you don't know the process of building FreeBSD, that's probably where you should start, because you won't get very far without it.
-
rtprio
mbnunes: i feel an installer that installs a desktop enviroment already exists; that might save you some work
-
rtprio
unless you're just doing it as an exercise to figure out some freebsd programming
-
mbnunes
rtprio: I did before I knew about the existence of sysutils/desktop-installer
-
mbnunes
debdrup: thanks for the tip, this pkg is exactly what i would like to make mine.
-
debdrup
You can submit patches for it, but you can't appropriate it.
-
debdrup
Anyway, bedtime.
-
mbnunes
I now have a question that is a little simpler, in linux I already did this and it worked without problems, I want to know if it would be a problem in FreeBSD. I took a HD and installed FreeBSD and everything I want via VirtualBox, if I take the disk out of the USB and stick it directly on the motherboard, will it recognize all the drivers and work without problems?
-
mbnunes
debdrup: thanks a lote and good night