View previous topic :: View next topic |
Author |
Message |
ericdes n00b
Joined: 28 May 2003 Posts: 17
|
Posted: Wed May 28, 2003 8:03 am Post subject: No space left on device |
|
|
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 |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Wed May 28, 2003 10:13 am Post subject: |
|
|
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 |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed May 28, 2003 12:59 pm Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed May 28, 2003 1:44 pm Post subject: |
|
|
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 |
|
|
ericdes n00b
Joined: 28 May 2003 Posts: 17
|
Posted: Wed May 28, 2003 3:35 pm Post subject: |
|
|
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 |
|
|
ericdes n00b
Joined: 28 May 2003 Posts: 17
|
Posted: Thu May 29, 2003 12:02 am Post subject: |
|
|
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 |
|
|
ericdes n00b
Joined: 28 May 2003 Posts: 17
|
Posted: Thu May 29, 2003 1:43 am Post subject: |
|
|
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 |
|
|
|