You gave me that advice too, but I ignored it and did the hard install, because I did not feel comfortable with Vbox. @daniel.m.tripp would probably not be scared of Vbox.
Now that I happy with qemu/kvm/virt-manager I will probably try a Gentoo install again in that VM environment. The big advantage is you can save the VM , and turn the machine off , in the middle of an install. I had to run my machine for a week learning to do the hard disk install.
@nevj
That is what I have been working on with Virt-Manager/QEMU in Ubuntu. Booted my first Gentoo CLI last night, took me awhile too figure out how to do a bridged connection!!!
Believe it or not - despite my contempt for Windows and some Microsoft stuff, in a āformer lifeā - I was a UNIX System Administator - AND - a Microsoft SQL Server DBA - I really wanted to branch into Oracle DBA territority, 'cause thatās where the money was at (and still is today!) but never got my foot in the doorā¦
: yeah - nah⦠I have zero use, or interest in, Windows⦠I can get what I need to do done on MacOS and Linux (and FreeBSD even, on my TrueNAS) perfectly fineā¦
I was involved in a SQL Server DR just prior to Y2K⦠Some genius had set NetBackupās SQL agent to ONLY backup flat tables - NOT referential integrity (e.g. schema / indexes etc)⦠Took a few days of trial and error⦠Had to restore flat tables to a new DB, then use SQL script to output āschemaā to another SQL script, then use that to rebuild the indexes and relationships⦠WHAT IDIOT decided backing up flat tables was valid???
Iād never seen that sorta backup strategy before, or since⦠Before that - Iād just backup transaction logs daily, and dump weekly⦠and Iām pretty sure thatās how DBAs do it even today!
SSD (512 GB), canāt remember if itās M2 SATA or NVMe⦠But itās a circa 2017 device, with DDR4 RAM, so Iād
Note : last nightās ābuildā (before I repartitioned / reformatted) seemed to take longer than on VirtualBox, I remembered, that I didnāt have āMAKEOPTS=ā-j4"" so it was probably only using one coreā¦
Along with that, and remembering to copy /bin/vi from livecd ā/binā to chroot ā/binā (/mnt/gentoo/bin) - will have to go in my personal wiki (probably a shonky text file with zero markup / markdown ) ā¦
Anyway - got up to this point, and hit something I didnāt get the last 3 times :
(chroot) livecd / # emerge --ask app-portage/cpuid2cpuflags
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.92 s.
[ebuild N ] app-portage/cpuid2cpuflags-12
Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-portage/cpuid2cpuflags-12::gentoo
/usr/bin/env: ābashā: No such file or directory
* The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDDIR
* does not exist: '/var/tmp/portage/app-portage/cpuid2cpuflags-12'
>>> Failed to emerge app-portage/cpuid2cpuflags-12
* Messages for package app-portage/cpuid2cpuflags-12:
Which could be misleading, as ā/usr/bin/env bashā works, so itās probably something else, maybe? Is that a red herring, or is that the issue?
(chroot) livecd / # which env
/usr/bin/env
(chroot) livecd / # which bash
/bin/bash
Iāve re-run the emergeā¦@world thing again since, and still hitting thisā¦
I tried the gnome/systemd/merged-user library originally, but went back and chose the non-merged-usr profile and same errorā¦
I went back again most of the way to the start - i.e. just after mounting and running the chroot - and still getting the same error, that looks like an issue in a bash script :
And still getting that same error, that on first glance, looks like bash issue :
(chroot) livecd / # emerge --ask app-portage/cpuid2cpuflags
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.82 s.
[ebuild N ] app-portage/cpuid2cpuflags-12
Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-portage/cpuid2cpuflags-12::gentoo
/usr/bin/env: ābashā: No such file or directory
* The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDDIR
* does not exist: '/var/tmp/portage/app-portage/cpuid2cpuflags-12'
>>> Failed to emerge app-portage/cpuid2cpuflags-12
* Messages for package app-portage/cpuid2cpuflags-12:
Thatās not listed in the Gentoo Handbook Install Guide, so : I didnāt run itā¦
I will try that⦠But Iām thinking Iāll probably trash my /mnt/gentoo and reformat and start againā¦
Iām actually getting emerge issues with āeverythingā - so - once again - back to square oneā¦
I donāt mind⦠Iām slowly getting my head around thisā¦
If I couldnāt do this remotely, Iāve probably have given up by now⦠i.e. over SSH - from any other computer on my networkā¦
Just boot the Gentoo environment connected to ethernet, set root password and start sshd from init (/etc/init.d/sshd start)ā¦
I guess one of the pitfalls, as Iāve only just realised (MAJOR facepalm moment) - the perilous risk, of thinking youāre in the chroot, when youāre NOT! I think thatās what I was doing wrong - but - too late, Iād already started deleting the contents of my gentoo root disk⦠No great harm doneā¦
I had TWO terminal sessions, one was in, and where, I started the chroot, the other one (I was getting errors) was the livecd!
Note also - I donāt think Iāll bother setting MAKEOPTS=ā-j4ā - because Iāve got 4 cores, and ānprocā should find that and use them - so my mention of it being slower, was probably anecdotal, but could also be 'cause VirtualBox was actually using 4 of my Ryzen coresā¦
Right, that comes from @4dandl4
Basically it means you need to ensure portage is uptodate before you emerge world
and the sync is just like apt-get update⦠get your local repo copy uptodate.
Same error / issue - that I never got when doing this on a VirtualBox VM, and didnāt get yesterday when doing this on the Dell laptopā¦
Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-portage/cpuid2cpuflags-12::gentoo
/usr/bin/env: ābashā: No such file or directory
* The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDDIR
* does not exist: '/var/tmp/portage/app-portage/cpuid2cpuflags-12'
>>> Failed to emerge app-portage/cpuid2cpuflags-12
* Messages for package app-portage/cpuid2cpuflags-12:
I just noticed the image and stage3 Iām using are from 11/06/2023, but Gentoo website has ones for 18/06/2023 - so Iām going to try both of those⦠and head back to the drawing board from square one, againā¦
Ok, it works. Ran it in Boxes for 10 minutes. Clean, rather snappy, lots of included programs that I would use. I can say the same about most of the other mainstream distros. MX, Peppermint, and Mint are installed right now, but I might try it if I can find an XFCE DE. Nice, but not remarkableādeletable, as Dan Tripp would say.
I think Iāve broken it completely and gotten banned for doing too many syncsā¦
So - Iāve probably done that sync about at least half a dozen times today :
Please note: common gentoo-netiquette says you should not sync more
than once a day. Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.
MOTD autogenerated by update-rsync-motd on Tue Oct 11 08:08:51 PM UTC 2022
@ERROR: access denied to gentoo-portage from UNKNOWN (161.8.250.136)
rsync error: error starting client-server protocol (code 5) at main.c(1859) [Receiver=3.2.7]
when I first saw it - I thought it might be a DNS, or ipv6 issue (my ISP STILL DOESNāT support IPV6!)⦠But I think Iām on a temporary ban maybe? Iāll shelve it and try again tomorrowā¦
Despite setting it to use aarnet mirror in make.conf, looks like not everything is coming from thereā¦
@daniel.m.tripp
My best advice!!!
You cannot emerge until portage is setup, and you are definitely missing something. Follow the Gentoo Handbook, not all steps are needed, so read it very carefully. Are you using the minimal CD or the GUI ISO?