View previous topic :: View next topic |
Author |
Message |
Hexe n00b
Joined: 22 Sep 2007 Posts: 13
|
Posted: Mon Apr 26, 2010 2:42 pm Post subject: Kernel compilation: no space left on device |
|
|
Hello,
I wanted to switch from Ubuntu to Gentoo today and I started installation from stage3 using standard installation guide (http://www.gentoo.org/doc/en/handbook/handbook.xml). As a starting device I plugged a USB stick.
So, I stuck at point 7.c. After I typed
Code: | make && make modules_install |
I got an error:
Code: | LD: vmlinux
ld: final link failed: No space left on device
make: *** [vmlinux] Error 1 |
I tried to google a solution but I didn't find any.
What should I do now? _________________ Earth is full. Go home. |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Apr 26, 2010 2:44 pm Post subject: |
|
|
Are you installing onto the USB stick?
If so, how much is it, as it sounds like its ran out of space.
For reference, my compiled kernel folder needs 750M of free space!
Sounds like you need a bigger disk to install onto. |
|
Back to top |
|
|
Hexe n00b
Joined: 22 Sep 2007 Posts: 13
|
Posted: Mon Apr 26, 2010 2:48 pm Post subject: |
|
|
Well, I'm confused right now :).
My USB stick has 1 gb, but it shouldn't matter, it should be the same situation as with an ISO on a CD, right?
I mean, where does the system install while using a CD? _________________ Earth is full. Go home. |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Apr 26, 2010 2:53 pm Post subject: |
|
|
Are you trying to install Gentoo onto the USB stick? or an internal disk? |
|
Back to top |
|
|
Hexe n00b
Joined: 22 Sep 2007 Posts: 13
|
Posted: Mon Apr 26, 2010 2:59 pm Post subject: |
|
|
My laptop's internal disk.
I think I did something wrong and it tries to use a USB stick.
How to force it to use the internal disk?
EDIT:
OK, I see what's wrong, I missed something.
I have a minimal CD iso copied to my USB stick and it needs at least 1,5 gb of free space.
Thank you for your time ;). _________________ Earth is full. Go home. |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Apr 26, 2010 3:20 pm Post subject: |
|
|
You need to make sure that when you get to 4.e in the handbook that you use the correct device for your internal disk.
In the handbook the list this in "Code Listing 5.1: Mounting partitions":
Code: | mount /dev/sda3 /mnt/gentoo |
You just need to make sure that /dev/sda3 is the partition you created before.
(it may be called something other than /dev/sda3 depending on your setup).
Once you've got that right, the rest should follow nicely.
Also, for what its worth I find using genkernel much much easier than rolling my own kernels.
I used to roll my own, but now I can't be bothered with the problems.
Rich. |
|
Back to top |
|
|
Hexe n00b
Joined: 22 Sep 2007 Posts: 13
|
Posted: Mon Apr 26, 2010 3:31 pm Post subject: |
|
|
Stupid me.
I completely missed the step with mounting partitions.
That explains everything.
Thanks :). _________________ Earth is full. Go home. |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Apr 26, 2010 3:41 pm Post subject: |
|
|
lol no problem. |
|
Back to top |
|
|
|