Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
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
ericdes
n00b
n00b


Joined: 28 May 2003
Posts: 17

PostPosted: Wed May 28, 2003 8:03 am    Post subject: No space left on device Reply with quote

I'm installing Gentoo and getting this error when I emerge the kernel:

# emerge sys-kernel/aa-sources
......
patching file drivers/sound/via82cxxx_audio.c
patch: **** write error : No space left on device

!!! ERROR: sys-kernel/aa-sources-2.4.21_rc2-r1 failed.
!!! Function src_unpack, Line 35, Exitcode 2
!!! -marcelo patch failed

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/ROOT 99M 17M 78M 18% /
tmpfs 126M 0 126M 0% /mnt/.init.d

Any ideas how to fix that?
Eric.
Back to top
View user's profile Send private message
silverter
Guru
Guru


Joined: 10 Apr 2002
Posts: 491
Location: Ulm, DE

PostPosted: Wed May 28, 2003 10:13 am    Post subject: Reply with quote

I *think* your / filesystem is too small to eneble you unpack your kernel, because your /var/tmp and /tmp are probabilly on that partition? try to set your /var/tmp on a bigger partition if possible and retry. BTW /var/tmp is the directory where /var/tmp/portage lies and where emerge stored it's temp files...

Hope this helps
_________________
-- A Guru was once a Beginner --
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Wed May 28, 2003 12:59 pm    Post subject: Reply with quote

Your FS is way too small. wolk-sources, for example, use 115 MB only for the source files.

You'll need more space to acomplish it.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed May 28, 2003 1:44 pm    Post subject: Reply with quote

Also, carefully re-read the section on "Modifying /etc/fstab for your machine". /dev/ROOT should not actually use "ROOT".
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ericdes
n00b
n00b


Joined: 28 May 2003
Posts: 17

PostPosted: Wed May 28, 2003 3:35 pm    Post subject: Reply with quote

I think I know what's going wrong...

It looks as if the computer sees only / when I'm chrooted to /mnt/gentoo, which is only 100MB. However /var (7 GB), /usr (5GB), /tmp (1MB) are on separate partitions.

When I exit the chroot I get:
# mount
proc on /proc type proc (rw)
none on /dev type devfs (rw)
tmpfs on /mnt/.init.d type tmpfs (rw,mode=0644,size=2048k)
tmpfs on /dev/shm type tmpfs (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/cdroms/cdrom0 on /mnt/cdrom type iso9660 (ro)
/mnt/cdrom/livecd.cloop on /mnt/cloop type ext2 (ro)
tmpfs on / type tmpfs (rw)
/dev/hda1 on /mnt/gentoo type ext3 (rw)
/dev/hda3 on /mnt/gentoo/home type reiserfs (rw)
/dev/hda5 on /mnt/gentoo/var type reiserfs (rw)
/dev/hda6 on /mnt/gentoo/usr type reiserfs (rw)
/dev/hda7 on /mnt/gentoo/tmp type ext3 (rw)
proc on /mnt/gentoo/proc type proc (rw)

which proves all my partitions are mounted there.

How can I get the same environment when I chroot to /mnt/gentoo?

Eric.
Back to top
View user's profile Send private message
ericdes
n00b
n00b


Joined: 28 May 2003
Posts: 17

PostPosted: Thu May 29, 2003 12:02 am    Post subject: Reply with quote

I'm trying again with the / partition set to 950MB and I'm still getting the same issue (patch: **** write error : No space left on device).

How much space should I dedicate to the / partition for the install?

My goal is to have it as small as possible because, once installed, I'll use /var and /usr on separate partitions.

Eric.
Back to top
View user's profile Send private message
ericdes
n00b
n00b


Joined: 28 May 2003
Posts: 17

PostPosted: Thu May 29, 2003 1:43 am    Post subject: Reply with quote

I finally made it work with the 950MB / partition. /tmp is on a 32MB partition and was way too small. I unmounted it and did the emerge on / only. It worked out fine.
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