Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th May 2009, 09:41 AM
Elenwynd Offline
Registered User
 
Join Date: Mar 2009
Posts: 9
How to "make rpm" but no disk space left? (compiling kernel)

I want to compile my kernel using the "make rpm" but the partition has no more spaces left.

Is there a way to compile the kernel inside another device or other partition because the partition that contain the "rpmbuild" is already full and I can't move anything or delete anything inside that folder.
Reply With Quote
  #2  
Old 5th May 2009, 04:19 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Just temporarily make a new rpmbuild folder elsewhere by redefining "%_topdir" in ~/.rpmmacros. For example:
Code:
%_topdir /a/new/location/rpmbuild
You'll need to create the regular directories before getting started:
Code:
cd /a/new/location/rpmbuild; mkdir -p ./BUILD ./SPECS ./SRPMS ./BUILDROOT ./RPMS/i386 ./RPMS/i686 ./RPMS/x86_64 ./RPMS/athlon ./RPMS/i486 ./RPMS/i586 ./RPMS/noarch ./SOURCES
Now reinstall the kernel SRPM and you should be able to build using the .spec file in /a/new/location/rpmbuild/SPECS/kernel.spec.
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #3  
Old 5th May 2009, 06:41 AM
vms100 Offline
Registered User
 
Join Date: Apr 2009
Posts: 22
But why to make a rpm when you dont have space to install it? :P
Reply With Quote
  #4  
Old 5th May 2009, 12:55 PM
phe Offline
Registered User
 
Join Date: Nov 2006
Location: halleatbe
Posts: 360
Maybe he has no more space on this partition where he has rpmbuild setup.
But maybe he has "/boot" on an other partition, and there he has still some space left.
__________________
Best regards,

phe,

===================================
Remember : Knowledge is power.
===================================
Reply With Quote
  #5  
Old 8th May 2009, 07:59 AM
vms100 Offline
Registered User
 
Join Date: Apr 2009
Posts: 22
Yeah, for that, yes. (I forgot that I had all partitions combined)
Reply With Quote
Reply

Tags
compiling, disk, kernel, left, make rpm, space

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"No space left on device " but 16G free space left actually anis Using Fedora 5 27th October 2008 06:46 AM
F9 & F8 freeze on "transferring install image..." AND F9 "insufficient disk space" fashionhat Installation and Live Media 4 1st July 2008 02:04 PM
Newbie asks "How much space left on my hard-drive?" d_GeNeRiT Using Fedora 6 18th March 2006 03:21 AM
Compiling Kernel: "make xconfig" loads Gconf in FC4 N1ck Using Fedora 0 16th August 2005 09:27 PM
ERROR "No space left on device" using 2 web cams ReneVanLent Using Fedora 0 11th August 2005 04:15 PM


Current GMT-time: 12:46 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat