Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel compilation: no space left on device
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
Hexe
n00b
n00b


Joined: 22 Sep 2007
Posts: 13

PostPosted: Mon Apr 26, 2010 2:42 pm    Post subject: Kernel compilation: no space left on device Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Apr 26, 2010 2:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hexe
n00b
n00b


Joined: 22 Sep 2007
Posts: 13

PostPosted: Mon Apr 26, 2010 2:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Apr 26, 2010 2:53 pm    Post subject: Reply with quote

Are you trying to install Gentoo onto the USB stick? or an internal disk?
Back to top
View user's profile Send private message
Hexe
n00b
n00b


Joined: 22 Sep 2007
Posts: 13

PostPosted: Mon Apr 26, 2010 2:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Apr 26, 2010 3:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hexe
n00b
n00b


Joined: 22 Sep 2007
Posts: 13

PostPosted: Mon Apr 26, 2010 3:31 pm    Post subject: Reply with quote

Stupid me.

I completely missed the step with mounting partitions.

That explains everything.

Thanks :).
_________________
Earth is full. Go home.
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Apr 26, 2010 3:41 pm    Post subject: Reply with quote

lol no problem.
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