View previous topic :: View next topic |
Author |
Message |
uncopyrighttnt n00b
Joined: 23 Aug 2017 Posts: 17
|
Posted: Wed Aug 23, 2017 3:57 am Post subject: [SOLVED] genkernel failure: Not enough space on device |
|
|
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 |
|
|
fcl Tux's lil' helper
Joined: 31 Dec 2016 Posts: 77
|
Posted: Wed Aug 23, 2017 4:49 am Post subject: |
|
|
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 |
|
|
uncopyrighttnt n00b
Joined: 23 Aug 2017 Posts: 17
|
Posted: Wed Aug 23, 2017 4:53 am Post subject: |
|
|
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 |
|
|
uncopyrighttnt n00b
Joined: 23 Aug 2017 Posts: 17
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54802 Location: 56N 3W
|
Posted: Wed Aug 23, 2017 9:52 am Post subject: |
|
|
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.
Runand 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 |
|
|
uncopyrighttnt n00b
Joined: 23 Aug 2017 Posts: 17
|
Posted: Wed Aug 23, 2017 6:23 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54802 Location: 56N 3W
|
Posted: Wed Aug 23, 2017 6:39 pm Post subject: |
|
|
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 |
|
|
uncopyrighttnt n00b
Joined: 23 Aug 2017 Posts: 17
|
Posted: Wed Aug 23, 2017 7:05 pm Post subject: |
|
|
Upon closer inspection, I put boot as 2mib. I fixed it.
Everything's working now. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54802 Location: 56N 3W
|
Posted: Wed Aug 23, 2017 8:47 pm Post subject: |
|
|
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 |
|
|
uncopyrighttnt n00b
Joined: 23 Aug 2017 Posts: 17
|
Posted: Wed Aug 23, 2017 8:55 pm Post subject: |
|
|
Thank you so much |
|
Back to top |
|
|
|