Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] genkernel failure: Not enough space on device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Wed Aug 23, 2017 3:57 am    Post subject: [SOLVED] genkernel failure: Not enough space on device Reply with quote

I am new to gentoo, and so instead of compiling my own kernel, I used gen kernel. It didn't work.

Have a log

https://pastebin.com/mjULC7jA
Back to top
View user's profile Send private message
fcl
n00b
n00b


Joined: 31 Dec 2016
Posts: 72

PostPosted: Wed Aug 23, 2017 4:49 am    Post subject: Reply with quote

Code:
* ERROR: Could not copy the kernel image to /boot!

Did you mount the /boot partition? lsblk will show it. Normally it should be /dev/sda1 or /dev/sda2
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Wed Aug 23, 2017 4:53 am    Post subject: Reply with quote

Yeah, I did. It dropped some trash file into there named kernel-genkernel-x86_64-4.12.5-gentoo. What does this mean?
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Wed Aug 23, 2017 4:59 am    Post subject: Reply with quote

https://pastebin.com/zXfXrkBz
Here is my fstab if it helps
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Aug 23, 2017 9:52 am    Post subject: Reply with quote

uncopyrighttnt,

kernel-genkernel-x86_64-4.12.5-gentoo is your kernel file.
I suspect that your boot is too small and that the kernel file is truncated.

Genkernel also needs to copy the initramfs file there.

Mount your partitions but do not chroot.
Run
Code:
df -h
df -ih
and post the results.

Are you using BIOS mode ol UEFI mode for booting?


As an aside, your /etc/fstab won't work as the root entry is commented out.
_________________
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
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Wed Aug 23, 2017 6:23 pm    Post subject: Reply with quote

Well there's the problem. It showed 100% usage and 8% inside usage. Thanks

Although... Since the partition scheme was based on the wiki, we might want to update that
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Aug 23, 2017 6:39 pm    Post subject: Reply with quote

uncopyrighttnt,

Start a discussion on the wiki page and post a link to it here.
Do you have your partitions mixed up?

I ask because if the wiki was wrong in such a fundamental way, it would be all over the forums and its not.

The wiki says
--- edit ---
https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks#GPT:
Partition    Filesystem    Size    Description
/dev/sda1    (bootloader)    2M    BIOS boot partition
/dev/sda2    ext2 (or fat32 if UEFI is being used)    128M    Boot/EFI system partition
/dev/sda3    (swap)    512M or higher    Swap partition
/dev/sda4    ext4    Rest of the disk    Root partition


/dev/sda1 is not yours. Grub uses it without a filesystem all by itself. You cannot mount it and if you change it your system will not boot.
Its only 2MB and a genkernel kernel is much bigger than that.

/dev/sda2 is your boot. at 128 MB it will have room for about 5 kernels and initrds.
_________________
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
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Wed Aug 23, 2017 7:05 pm    Post subject: Reply with quote

Upon closer inspection, I put boot as 2mib. I fixed it.

Everything's working now.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Aug 23, 2017 8:47 pm    Post subject: Reply with quote

uncopyrighttnt,

Well done!

On to your next Gentoo learning opportunity.
_________________
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
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Wed Aug 23, 2017 8:55 pm    Post subject: Reply with quote

Thank you so much
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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