Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] LiveGUI USB keeps crashing mid install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
shrooman
n00b
n00b


Joined: 24 Apr 2022
Posts: 32

PostPosted: Tue Apr 26, 2022 6:17 pm    Post subject: [SOLVED] LiveGUI USB keeps crashing mid install Reply with quote

While I like the kde environment, for some reason the LiveGUI keeps crashing - right when I was in menuconfig of sys-kernel/gentoo-sources to configure my kernel.
I have a Nvidia graphics card (1660 ti) and I notice it runs with nouveau drivers out of the box. Not sure what the culprit of the freezing is.
Im going to use a linux mint cinnamon live cd instead to finish my Gentoo installation. I could also have used the minimal cd but I prefer
a GUI to view the Gentoo wiki and docs. If you need more info let me know. Gotta get back to compiling my kernel. Hopefully this cd wont crash lol

**maybe my makeopts -j is too high, I only have 8gb ram on here and 16 threads. By the wiki I should only use total ram / 2 gb so maybe just 4+1=5 jobs? lmk

Code:

COMMON_FLAGS="-O2 -march=znver1 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

MAKEOPTS="-j16"

USE="X ssl man alsa pulseaudio harden opengl"
VIDEO_CARDS="nvidia"

ACCEPT_LICENSE="*"
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

LC_MESSAGES=C
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --jobs=16 --load-average=16"

GENTOO_MIRRORS="http://mirror.rackspace.com/gentoo/ http://gentoo.osuosl.org/ https://mirror.rackspace.com/gentoo/"



    Ryzen 1700x 8 core 16 thread
    8 GB DDR4
    1660 Ti
    256 GB SK Hynix NVMe


Last edited by shrooman on Wed Apr 27, 2022 2:12 am; edited 3 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Apr 26, 2022 7:44 pm    Post subject: Reply with quote

shrooman,

When you run out of RAM while building, usually the OOM kicks in and kills one of your build threads.

-j16 is far too aggressive for 8G RAM
If you are prepared to learn to set per package MAKEOPTS, for the big packages,
Code:
MAKEOPTS="-j8"
will be a good place to start.
_________________
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
shrooman
n00b
n00b


Joined: 24 Apr 2022
Posts: 32

PostPosted: Tue Apr 26, 2022 8:37 pm    Post subject: Reply with quote

NeddySeagoon,

-j8 seems to work better.
I switched back to the LiveGUI environment.Currently compiling kernel with 8 jobs and its not crashing. All good I think.

Okay make install moved the compiled kernel images into /boot but I mounted my ESP on /boot/efi. Im guessing Ill just move those into /boot/efi.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Apr 26, 2022 9:01 pm    Post subject: Reply with quote

shrooman,

That depends what you tell the boot loader when you configure it.

/boot is usually the entire EFI System partition. the directory /boot/EFI, is where you EFI firmware starts looking for .efi files to load and execute.
grub can be one, the kernel can be one ...

Once the boot loader has been loaded, it has to load the kernel from wherever you tell it.
You can tell it other partitions but not with the syntax you are used to. The kernel filesystem tree does not exist yet. You have a lot of disjointed branches to make a filesystem tree.

Thus
Code:
linux /kernel-ver
means from the top level of the boot partition, not the root of the kernels filesystem tree.
_________________
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
shrooman
n00b
n00b


Joined: 24 Apr 2022
Posts: 32

PostPosted: Tue Apr 26, 2022 9:08 pm    Post subject: Reply with quote

Okay I don't know why I mounted the ESP on /boot/efi. Ill mount it back on /boot and restore the kernel images and initramfs to their proper location. Thanks for the clarification.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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