LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-29-2013, 06:42 AM   #1
Fra123X
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
Unhappy No space left on Device


Hello to all,
I just downloaded the LFS LiveCD.
I'm using VirtualBox.
Once in 5.4.1, during the extraction of GCC there is an error that prevents me to continue, it tells me "No space left on device".
I have tried several times to reset the machine, re-download the ISO, but nothing happens.
What can be the problem?
Is there a way to install all the LiveCD's content in the virtual hard disk?
I searched on Google and found nothing.
I'm sorry for my english, but I'm Italian.
 
Old 09-29-2013, 07:04 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi Fra123X

Live cd if it,s the lfs cd that is out of date now,
VB I dont use so not sure of problem, I use a partition on drive about 10gig, How much room did you give VB
 
Old 09-29-2013, 07:52 AM   #3
Fra123X
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
I gave 30GB to VB,
But if I can't use the Live CD, which distro should I use exactly?
I Don't think Ubuntu or similar are very good...
But I don't know exactly.
 
Old 09-29-2013, 08:02 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Most distros work they say slackware is compliant out of the box,
Saying that I have built using Ubuntu debain and mageia as long as thet are compliant. I do prefer to use a partition on disc this seems to give less problems when booting at the end.
If you use a installed distro check that it is compliant with this page
http://www.linuxfromscratch.org/lfs/.../hostreqs.html

If unsure post the output of the script someone will check it for you.

I have even built lfs using debain live cd made compliant as well
http://www.linuxquestions.org/questi...ld-lfs-939864/
 
Old 09-29-2013, 10:06 PM   #5
DeeGee
Member
 
Registered: Apr 2013
Distribution: Debian, Linux From Scratch, Mint
Posts: 118

Rep: Reputation: 24
Could you post the partition table you created? I usually get that error when one partition is too small.
 
Old 09-30-2013, 12:56 AM   #6
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
I have a jug of water and a glass
I want to pour all of the water into the glass
but the glass is now full and I still have water in the glass.
What do I do?

Answer, get more glasses or drink some water


here more glasses is add more drive space
drink is delete some data

on the practical side, once you have compiled and installed a package delete its source/build directory.
 
Old 09-30-2013, 02:01 AM   #7
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Rep: Reputation: 85
I doubt 30 Gb is used up already... Are you sure the partition is mounted, so that you're not building on the LiveCD which is in RAM? Post the output of
Code:
mount
 
Old 09-30-2013, 02:17 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by Fra123X View Post
I just downloaded the LFS LiveCD.
As mentioned on the LFS liveCD page, this liveCD cannot be used to build the latest LFS versions.

Using a liveCD from one of the distributions is possible but I would recommend against that. Building LFS using a liveCD comes with its own set of problems, which are not mentioned in the LFS book. Every time you restart (reboot) you will need to re-create the lfs user and (when you get there) the virtual kernel file systems need to be remounted (there might be more).

I would advise to not use a liveCD; Do a minimal install of the distro of choice, make it compliant and start building LFS on that host.

Quote:
But if I can't use the Live CD, which distro should I use exactly? I Don't think Ubuntu or similar are very good...
Slackware and Debian are good candidates. I personally never liked Ubuntu, but it can be used as host. Do make sure that the host used is compliant before starting to build LFS.

Quote:
Once in 5.4.1, during the extraction of GCC there is an error that prevents me to continue, it tells me "No space left on device".
This looks like you are trying to write to the CD, which won't work. $LFS should point to a partition you made (possibly the 30Gb present in VB).

BTW: 30Gb is more then enough to build LFS.
 
Old 09-30-2013, 04:36 AM   #9
Fra123X
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Sorry if I could not answer, I had problems with my PC.

Quote:
Originally Posted by DeeGee View Post
Could you post the partition table you created? I usually get that error when one partition is too small.
I used the entire disk partition (/dev/hda)


I have given 40 GB of space on the VM, so I don't think space is the real problem.

Quote:
Originally Posted by Lennie View Post
I doubt 30 Gb is used up already... Are you sure the partition is mounted, so that you're not building on the LiveCD which is in RAM? Post the output of
Code:
mount
I'll do that.

PS: I know that restarting I would lose everything, but in VB you may save the state of the machine.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux: No space left on device while df command shows lot of free space LXer Syndicated Linux News 0 08-26-2013 02:50 PM
No space left on device zmsc1 Linux From Scratch 7 03-28-2009 10:57 PM
No space left on device even though it has free space? enine Linux - General 8 05-30-2007 04:22 PM
No space left on device clintdavis Linux - Software 2 05-04-2006 10:38 PM
No space left on the device ashwinipahuja Programming 1 06-24-2004 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration