Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stage3 file, Cannot write: 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
DEC-Objectice
n00b
n00b


Joined: 26 May 2013
Posts: 35
Location: New York

PostPosted: Sun May 26, 2013 11:54 pm    Post subject: Stage3 file, Cannot write: No space left on Device Reply with quote

Hello All,

so, I'm currently installing Gentoo, into my 2009-macbook HD 120G ...4G ram
This is where I'm at:

Partitions:

/dev/sda1 Boot
/dev/sda2 Swap
/dev/sda3

After downloading the Stage3 file and extracting.. The extraction goes fine during the first few seconds. All files extracting after this point returns an "Cannot write: No space left on device" message
The process ends with
# " request terminated with errors

I hope this info can help you help me :)

livecd ~# df

Filesystem---------1k-blocks--------Used----Available---Use%---Mounted on

rootfs.....................442604.......442604................0...100% /
udev........................10240................4.........10236......1% /dev
/dev/sr0.................154856.......154856................0...100% /mnt/cdrom
/dev/loop0.............130304........130304................0...100% /mnt/livecd
/dev/sr0.................154856.......154856................0....100% /mnt/cdrom
tmpfs.....................442604............640........441964.......1% /run
shm.......................442604................0........442604.......0% /dev/shm
tmpfs.....................442604................0........442604.......0% /mnt/livecd/lib/firmware
tmpfs.....................442604................0........442604.......0% /mnt/livecd/usr/portage
/dev/sda3.........114830368........192252...108804980.......1% /mnt/gentoo
/dev/sda1................31729.............395..........29696.......2% /mnt/gentoo/boot


My thoughts are, I might be extracting the stage3* file into memory but I'm not sure. And if so, I don't how to determine this..( Trouble shooting tips are welcomed :-) )
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13982

PostPosted: Mon May 27, 2013 12:59 am    Post subject: Reply with quote

It looks like you extracted to the memory-backed rootfs. You must unpack the archive in the directory where you mounted the hard disk, which appears to be /mnt/gentoo in this case.
Back to top
View user's profile Send private message
DEC-Objectice
n00b
n00b


Joined: 26 May 2013
Posts: 35
Location: New York

PostPosted: Mon May 27, 2013 1:43 am    Post subject: Reply with quote

Hu wrote:
It looks like you extracted to the memory-backed rootfs. You must unpack the archive in the directory where you mounted the hard disk, which appears to be /mnt/gentoo in this case.


This is what I typed when extracting:

# tar xvjpf stage3-*.tar.bz2

what would be the sentax to extract a file to /mnt/gentoo

Also, considering that I used my rootfs... How do I clean it out...
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2585

PostPosted: Mon May 27, 2013 1:45 am    Post subject: Reply with quote

Are you sure your in the right place? Does pwd return /mnt/gentoo? Tar will extract into the current working directory and it isn't exact intuitive
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.


Last edited by The Doctor on Mon May 27, 2013 1:49 am; edited 1 time in total
Back to top
View user's profile Send private message
DEC-Objectice
n00b
n00b


Joined: 26 May 2013
Posts: 35
Location: New York

PostPosted: Mon May 27, 2013 1:48 am    Post subject: Reply with quote

The Doctor wrote:
Are you sure your in the right place? Does pwd return /mnt/gentoo?


Hi there.. Thanks for the interest

pwd returns /root
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2585

PostPosted: Mon May 27, 2013 2:04 am    Post subject: Reply with quote

You can either move the stage3 using mv stage3-* /mnt/gentoo and change directories using cd /mnt/gentoo or extract from ram to the partition. I would simply extract since you already have the tarball and it seems wasteful to copy it to the disk. To do this, append the following: -C /mnt/gentoo note the capital "C" You may run out of ram and need to copy it anyway. After you are finished, you may want to clean up be removing the tarball from memory to save ram.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
DEC-Objectice
n00b
n00b


Joined: 26 May 2013
Posts: 35
Location: New York

PostPosted: Mon May 27, 2013 2:07 am    Post subject: Reply with quote

Hey Guys,

Thanks again for your help.....
Question: I have the unzipped file ( stage3-i686...) located in:

/root

should I move it to:

/mnt/gentoo

and extract it there?

Thanks
Back to top
View user's profile Send private message
DEC-Objectice
n00b
n00b


Joined: 26 May 2013
Posts: 35
Location: New York

PostPosted: Mon May 27, 2013 2:12 am    Post subject: Reply with quote

The Doctor wrote:
You can either move the stage3 using mv stage3-* /mnt/gentoo and change directories using cd /mnt/gentoo or extract from ram to the partition. I would simply extract since you already have the tarball and it seems wasteful to copy it to the disk. To do this, append the following: -C /mnt/gentoo note the capital "C" You may run out of ram and need to copy it anyway. After you are finished, you may want to clean up be removing the tarball from memory to save ram.


Let me try this I'll be back : )

Thanks
Back to top
View user's profile Send private message
DEC-Objectice
n00b
n00b


Joined: 26 May 2013
Posts: 35
Location: New York

PostPosted: Mon May 27, 2013 2:18 am    Post subject: Reply with quote

The Doctor wrote:
You can either move the stage3 using mv stage3-* /mnt/gentoo and change directories using cd /mnt/gentoo or extract from ram to the partition. I would simply extract since you already have the tarball and it seems wasteful to copy it to the disk. To do this, append the following: -C /mnt/gentoo note the capital "C" You may run out of ram and need to copy it anyway. After you are finished, you may want to clean up be removing the tarball from memory to save ram.



Thank you so much it seems to be working....

So, after it's done... how would I clear my rootfs...

Thanks
Back to top
View user's profile Send private message
littleturtle
n00b
n00b


Joined: 27 May 2013
Posts: 1

PostPosted: Mon May 27, 2013 5:07 pm    Post subject: Reply with quote

Hello, maybe the problem is not your extraction location but the FS type.

You can get some knowledge about the err follow this link:

http://wiki.gentoo.org/wiki/Knowledge_Base:No_space_left_on_device_while_there_is_plenty_of_space_available

If your df -i output tell you, your IUse% is 100%, that means the file system type you select for your device is not fit your needs. You can try JFS.
In my practice, JFS solves my problem.

Hope helpfull.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13982

PostPosted: Mon May 27, 2013 9:06 pm    Post subject: Reply with quote

littleturtle wrote:
Hello, maybe the problem is not your extraction location but the FS type.

You can get some knowledge about the err follow this link:

http://wiki.gentoo.org/wiki/Knowledge_Base:No_space_left_on_device_while_there_is_plenty_of_space_available

If your df -i output tell you, your IUse% is 100%, that means the file system type you select for your device is not fit your needs. You can try JFS.
The OP provided output in the first post that implicated the extraction location, and subsequent posts confirmed that was the problem. Switching filesystems would require that he remake the filesystems and discard all work done after that stage. It is not something to be done lightly.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2585

PostPosted: Mon May 27, 2013 9:12 pm    Post subject: Reply with quote

DEC-Objectice wrote:

So, after it's done... how would I clear my rootfs...
Thanks


rm /root/stage3-*
should do it. After that, you should cd into your new root with cd /mnt/gentoo so you have the proper working directory. Sorry for the late reply.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Tue May 28, 2013 9:19 am    Post subject: Reply with quote

The usual problem is lack of inodes, but that doesn't often turn up in Stage 3; it bites
you when you unpack a portage snapshot. Might be worth running df -i as a check.

Will
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