Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Funtoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
RIA77
n00b
n00b


Joined: 24 Feb 2016
Posts: 13

PostPosted: Sun Oct 04, 2020 4:59 pm    Post subject: Installing Funtoo Reply with quote

Hello and than you for this great forum.
Trying to install Funtoo for second time.
I have been stucked here
1) Boot update is not working
Quote:
* Generating config for grub...


* NOTE: Intel microcode will be loaded at boot-time.
* NOTE: Detected MBR boot. Configuring for Legacy MBR booting.
* ERROR: couldn't find grub-probe
* ERROR: Did not complete successfully.


Grub is installed, I have dual boot, Win, Linux MX and (hopefully) Funtoo

Quote:
nano -w /mnt/funtoo/etc/portage/make.conf
[ Directory '/mnt/funtoo/etc/portage' does not exist ]


fstab /dev/sda9 /boot ext4 noatime 0 1
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1732
Location: San Jose, CA

PostPosted: Sun Oct 04, 2020 6:25 pm    Post subject: Reply with quote

I just realized after typing all this in: You need to run grub-install from within the chroot. I think you ran it outside and that won't work, probably.

Here's the rest of the post just in case it helps.

Did you follow the install guide. Note: I'm not certain how different funtoo is from gentoo. The install guide for gentoo is pretty good, but you have to make sure you do all the steps.

The sections you need to pay attention to are:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks

Note: to use grub you need a special, tiny partition on the drive for grub to store data. It's called the BIOS BOOT partition. If grub needs it, it will give an error (which I can't remember, it's been a while since I forgot to create that partition.)

Here is my boot drive on my server as an example:

Code:
sudo fdisk -l /dev/nvme0n1
Password:
Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: CT1000P1SSD8                           
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1A547616-F8A0-485F-B15F-B6723E76FF7C

Device            Start        End    Sectors   Size Type
/dev/nvme0n1p1     2048       6143       4096     2M BIOS boot
/dev/nvme0n1p2     6144     415743     409600   200M Microsoft basic data
/dev/nvme0n1p3   415744   17192959   16777216     8G Linux swap
/dev/nvme0n1p4 17192960 1953523711 1936330752 923.3G Linux filesystem


I don't think the BIOS BOOT partition has to be at the start of the disk... But I'm not sure. It clearly is here.

The next important thing is to ensure that you have your boot folder mounted when you emerge grub. Follow these directions:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader#Default:_GRUB2

To detect your windows partition you will likely need an extra package called: sys-boot/os-prober

Please note: Configuring grub2 is not easy. You have to know if your system is booting EFI or legacy and you need to configure grub to the right one. The guide is pretty good.

If you are currently booting one method, do not change it in the BIOS as it could prevent your existing OSes from booting.

For more help, you need to provide more information: start with fdisk -l /dev/[your boot device]
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
RIA77
n00b
n00b


Joined: 24 Feb 2016
Posts: 13

PostPosted: Sun Oct 04, 2020 7:16 pm    Post subject: Reply with quote

Yep, you find the solution, os-prober is the key.
Back to top
View user's profile Send private message
RIA77
n00b
n00b


Joined: 24 Feb 2016
Posts: 13

PostPosted: Wed Oct 07, 2020 7:16 am    Post subject: Reply with quote

Thank you, I have another problem.
Code:
CFLAGS ="-march=native -02 -pipe"
MAKEOPTS="-j4"
USE="udev gif jpeg png xpm alsa pulseaudio networkmanager"
VIDEO_CARDS="noveau nvidia"
INPUT_DEVICES="mouse keyboard synaptics evdev"


Swapped quote tags to code tags above to make the problem stand out -- NeddySeagoon

emerge -av pulseaudio

Quote:
>>> Emerging (1 of 79) dev-libs/libdaemon-0.14-r3::dev-kit
* Fetching files in the background.
* To view fetch progress, run in another terminal:
* tail -f /var/log/emerge-fetch.log
* libdaemon-0.14.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking libdaemon-0.14.tar.gz to /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work
>>> Preparing source in /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14 ...
* Applying 0.14-man-page-typo-fix.patch ... [ ok ]
* Will copy sources from /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14
* abi_x86_64.amd64: copying to /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14-abi_x86_64.amd64
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14 ...
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure
* econf: updating libdaemon-0.14/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating libdaemon-0.14/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating libdaemon-0.14-abi_x86_64.amd64/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating libdaemon-0.14-abi_x86_64.amd64/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libdaemon-0.14-r3 --htmldir=/usr/share/doc/libdaemon-0.14-r3/html --libdir=/usr/lib64 --docdir=/usr/share/doc/libdaemon-0.14-r3 --localstatedir=/var --disable-examples --disable-lynx --disable-static
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14-abi_x86_64.amd64':
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14-abi_x86_64.amd64/config.log
* ERROR: dev-libs/libdaemon-0.14-r3::dev-kit failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 1467: Called multilib-minimal_src_configure
* environment, line 930: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 1157: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 860: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 858: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 259: Called multilib-minimal_abi_src_configure
* environment, line 924: Called multilib_src_configure
* environment, line 1385: Called econf '--docdir=/usr/share/doc/libdaemon-0.14-r3' '--localstatedir=/var' '--disable-examples' '--disable-lynx' '--disable-static'
* phase-helpers.sh, line 681: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=dev-libs/libdaemon-0.14-r3::dev-kit'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/libdaemon-0.14-r3::dev-kit'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/libdaemon-0.14-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libdaemon-0.14-r3/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14-abi_x86_64.amd64'
* S: '/var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14'

>>> Failed to emerge dev-libs/libdaemon-0.14-r3, Log file:

>>> '/var/tmp/portage/dev-libs/libdaemon-0.14-r3/temp/build.log'

* Messages for package dev-libs/libdaemon-0.14-r3:

* ERROR: dev-libs/libdaemon-0.14-r3::dev-kit failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 1467: Called multilib-minimal_src_configure
* environment, line 930: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 1157: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 860: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 858: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 259: Called multilib-minimal_abi_src_configure
* environment, line 924: Called multilib_src_configure
* environment, line 1385: Called econf '--docdir=/usr/share/doc/libdaemon-0.14-r3' '--localstatedir=/var' '--disable-examples' '--disable-lynx' '--disable-static'
* phase-helpers.sh, line 681: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=dev-libs/libdaemon-0.14-r3::dev-kit'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/libdaemon-0.14-r3::dev-kit'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/libdaemon-0.14-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libdaemon-0.14-r3/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14-abi_x86_64.amd64'
* S: '/var/tmp/portage/dev-libs/libdaemon-0.14-r3/work/libdaemon-0.14'


Quote:
emerge --info '=dev-libs/libdaemon-0.14-r3::dev-kit
!!! '=dev-libs/libdaemon-0.14-r3::dev-kit
emerge --info =dev-libs/libdaemon-0.14-r3::dev-kit' is not a valid package atom.
!!! Please check ebuild(5) for full details.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46724
Location: 56N 3W

PostPosted: Wed Oct 07, 2020 8:25 am    Post subject: Reply with quote

RIA77,

Code:
CFLAGS ="-march=native -02 -pipe"

Is incorrect. You have hypenZeroTwo. It needs to be hypenCapitalLetterOTwo.
Its difficult to spot in a proportional spaced font by in a fixed width font, in the code tags below, it should be clear.

Code:
-O2
not
Code:
-02

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RIA77
n00b
n00b


Joined: 24 Feb 2016
Posts: 13

PostPosted: Wed Oct 07, 2020 12:44 pm    Post subject: Reply with quote

Thank you.

Please, can you help me regarding following problem:

Quote:
>>> Emerging (52 of 79) dev-lang/spidermonkey-60.5.2_p0-r3::browser-kit

Failed to emerge dev-lang/spidermonkey-60.5.2_p0-r3, Log file:

>>> '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r3/temp/build.log'

* Messages for package media-fonts/urw-fonts-2.4.9:

* If you upgraded from urw-fonts-2.1-r2 some fonts will look a bit
* different. Take a look at bug #208990 if interested.

* Messages for package app-text/libpaper-1.1.24_p5:

* run e.g. "paperconfig -p letter" as root to use letter-pagesizes

* Messages for package dev-lang/spidermonkey-60.5.2_p0-r3:

* ERROR: dev-lang/spidermonkey-60.5.2_p0-r3::browser-kit failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 4235: Called econf '--disable-jemalloc' '--enable-readline' '--with-system-nspr' '--with-system-zlib' '--disable-optimize' '--with-intl-api' '--with-system-icu' '--disable-debug' '--enable-ion' '--disable-tests' 'XARGS=/usr/bin/xargs' 'CONFIG_SHELL=/bin/bash' 'CC=x86_64-pc-linux-gnu-gcc' 'CXX=x86_64-pc-linux-gnu-g++' 'LD=x86_64-pc-linux-gnu-ld' 'AR=' 'RANLIB='
* phase-helpers.sh, line 681: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=dev-lang/spidermonkey-60.5.2_p0-r3::browser-kit'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-60.5.2_p0-r3::browser-kit'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r3/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r3/work/mozjs-60.5.2/jsobj'
* S: '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r3/work/mozjs-60.5.2'

* Regenerating GNU info directory index...
* Processed 93 info files.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24782
Location: here

PostPosted: Wed Oct 07, 2020 1:23 pm    Post subject: Reply with quote

Usually new problem new thread, anyway you should post /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r3/temp/build.log with wgetpaste.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
RIA77
n00b
n00b


Joined: 24 Feb 2016
Posts: 13

PostPosted: Wed Oct 07, 2020 1:39 pm    Post subject: Reply with quote

Quote:
emerge --info '=dev-lang/spidermonkey-60.5.2_p0-r3::browser-kit
!!! '=dev-lang/spidermonkey-60.5.2_p0-r3::browser-kit
emerge --info =dev-lang/spidermonkey-60.5.2_p0-r3::browser-kit' is not a valid package atom.
!!! Please check ebuild(5) for full details.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum