Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failure compiling genkernel all
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
notCarl
n00b
n00b


Joined: 28 Sep 2016
Posts: 27

PostPosted: Fri Sep 30, 2016 7:50 pm    Post subject: Failure compiling genkernel all Reply with quote

I'm attempting my first install of gentoo. I've watched a few tutorials in their entirety, and perused these forums for a few days.

After attempting to compile genkernel I get numerous "no disk space" errors as well as an error stating that bzImage could not be mounted.
I'm using a 64gb USB for the gentoo ISO file, and I'm attempting to install on a 120gb hard drive, smallest partition being 8GB. I can't imagine how it has run out of space.

After Skimming the forums I noticed a recent post stating that the handbook has bugs during the steps for mounting the file system and root directories.

I followed what looks like a trusted installation video tutorial (250k thumbs up on youtube) and it had me delete existing partitions, make a new extended partition with default start and end points so it takes up the whole disk, then a new logical swap partition, a larger logical root partition, and a final logical partition for the rest of the disk. /mnt/gentoo and /mnt/gentoo/home are mounted to the last two logical partitions that I had mentioned. The Swap partition is the first logical partition I made within the large extended partition.

Do you think this method for setting up my disk is the cause of my "no disk space" errors during genkernel compilation?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Sep 30, 2016 8:03 pm    Post subject: Reply with quote

Was root mounted on the 8GiB partition? This is rather small.

The Handbook typos appear to all be fixed now. (These things are typically address rapidly.) The official Handbook is probably still the best source of information, though.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
notCarl
n00b
n00b


Joined: 28 Sep 2016
Posts: 27

PostPosted: Fri Sep 30, 2016 11:24 pm    Post subject: Reply with quote

I started my install over while following the same video, but this time I made my partitions following the book rather than the video. I successfully compiled the kernel with no errors this time, however, i forgot to update my fstab to set my boot partition before running genkernel all. If I were to update my fstab and run genkernel all once more, will it cause problems?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Sep 30, 2016 11:55 pm    Post subject: Reply with quote

That'll be fine. You can also mount /boot before you run genkernel. Add the --no-clean option and it wont even repeat the compile of most things:
Code:
genkernel --no-clean all
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
notCarl
n00b
n00b


Joined: 28 Sep 2016
Posts: 27

PostPosted: Sat Oct 01, 2016 1:50 am    Post subject: Reply with quote

I have successfully installed gentoo! Wow that was a lot of work. My network was broken because I was expecting my network device to be named eth0 but it was changed to eno1. A few minutes on google solved that.
Thanks for your help so far.
I'm sure I'll be asking for help again very soon.
Back to top
View user's profile Send private message
garfield59
n00b
n00b


Joined: 16 Jan 2015
Posts: 6

PostPosted: Sat Oct 01, 2016 1:59 am    Post subject: kernel version 4.4.21 Reply with quote

Hi,
I don't know which kernel you tried to install.

I was hit by a similar/the same(?) (no disk space) problem with 4.4.21:
The initramfs was bloated(200MB now vs 15MB before)!
It did not fit on my 256MB boot partition.

For me it was the CONFIG_STRIP_ASM_SYMS in the kernel configuration that was set to "n" after emerging.
Set it to "y" and had a 13MB initramdis file instead.

Have fun,
Uwe
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