View previous topic :: View next topic |
Author |
Message |
tcoffeep n00b
Joined: 29 Jun 2007 Posts: 33 Location: Timmins, Ontario
|
Posted: Sun May 03, 2009 8:57 pm Post subject: Problems emerging |
|
|
So, I'm following the handbook on installing Gentoo, and I'm at the point where I'm to emerge the gentoo-sources file. It finished downloading, and it was doing it's thing for a few short seconds, and then I got hit with a screenful of "can't make directory" or something.
But it started with "no space left on device."
I've tried and tried again to fix it, but I can't seem to find a way.
df -l /var shows :
Code: | Filesystem 1K-blocks Used Available Use% Mounted on
- 2884208 1257252 1480444 46% / |
du -sk * | sort -n shows :
Code: |
4 empty
4 spool
4 state
8 lock
12 run
48 log
108 lib
468 cache
15528 db
167600 tmp
|
and fdisk -l /dev/hda shows this :
Code: |
Disk /dev/hda: 12.8 GB, 12884901888 bytes
16 heads, 63 sectors/track, 24966 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x9481abf7
Device Boot Start End Blocks ID System
/dev/hda1 1 63 31720+ 83 Linux
/dev/hda2 64 1056 500472 82 Linux swap/solaris
/dev/hda3 1057 6870 2930256 83 Linux |
Is there something I missed that would further explain my screw-up?
I've spent the last hour trying to find it myself, but I finally gave up and am asking for help. |
|
Back to top |
|
|
Plague.CZ n00b
Joined: 13 Mar 2007 Posts: 72
|
Posted: Sun May 03, 2009 9:16 pm Post subject: |
|
|
You looked only on the /var directory, bu AFAIK emerge uses some more locations, check all your partitions for space... |
|
Back to top |
|
|
tcoffeep n00b
Joined: 29 Jun 2007 Posts: 33 Location: Timmins, Ontario
|
Posted: Sun May 03, 2009 9:27 pm Post subject: |
|
|
I only posted the /var because that's where it's being unpacked as per :
unpacking linux-2.6.28 in /var/tmp/portage/sys-kernel/ilosttherestinthespam
and then i get hit with the cannot open : no such file or drive errors, and it ends with :
it ends with :
ebuild.sh line 352: called die
/usr/lib/portage/bin/isolated-functions.sh: line 185 /var/temp/portage/sys-kernel/gentoo-sources-2.6.28-r5/temp/logging/unpack : no space left on device.
there's a lot of them, so there's not point in copy pasting them all, as they all say the same thing, essentially.
Is there something I'm missing? I was following the guide to a T. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21708
|
Posted: Sun May 03, 2009 10:35 pm Post subject: |
|
|
What filesystem are you using? What is the output of df --inodes? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon May 04, 2009 4:48 am Post subject: |
|
|
boot the cd:
then run:
Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
cd /usr/src/linux
emerge gentoo-sources
make menuconfig
make && make modules_install
cp arch/x86_64/boot/bzImage /boot/<your kernel name> #for 64 bit cp arch/x86/boot/bzImage /boot/<your kernel name> # for 32 bit |
if you get the same result at emerge gentoo-sources, run: parted -l
Code: | mount
parted -l
df -hiaT |
and post results |
|
Back to top |
|
|
blutregens n00b
Joined: 29 Dec 2007 Posts: 15
|
Posted: Tue May 12, 2009 5:19 pm Post subject: |
|
|
DONAHUE wrote: | boot the cd:
then run:
Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
cd /usr/src/linux
emerge gentoo-sources
make menuconfig
make && make modules_install
cp arch/x86_64/boot/bzImage /boot/<your kernel name> #for 64 bit cp arch/x86/boot/bzImage /boot/<your kernel name> # for 32 bit |
if you get the same result at emerge gentoo-sources, run: parted -l
Code: | mount
parted -l
df -hiaT |
and post results |
I'm having exactly the same problems. Followed the handbook correctly (and your suggestion), but it didn't help.
I'm installing Gentoo on VirtualBox, if that matters.
Here's the output of the commands you said (sorry for posting images, but I can't get copy+paste to work on VBox while I don't have a functioning system):
http://img381.imageshack.us/img381/3199/cmds.png
df -hiaT didn't work on the chrooted environment. Here's the output on the livecd env:
http://img520.imageshack.us/img520/245/dfha.png
I don't really understand about inodes, but it seems they're pretty tight for /mnt/gentoo (96% being used), right? What have I done wrong?
df -haT gives the following:
http://img362.imageshack.us/img362/7785/dfhat.png |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue May 12, 2009 7:16 pm Post subject: |
|
|
blutregens:
boot cd
run Code: | tune2fs -l /dev/hda3 |
post result
It does appear the filesytem got created with too few inodes.
If tune2fs result confirms, suggest a do over using a bit larger virtual drive (Maybe 6G if you plan a gui and office suite) and specifying a larger number of inodes if you Code: | mke2fs -j -N 500000 /dev/hda3 | again else Code: | mkreiserfs /dev/hda3 | so inode are not used. If you wish to save your work boot cd mount /dev/hda3 and copy it elsewhere, remake the /dev/hda3 filesystem and copy back in. For a total do over suggest using system rescue cd as substitute for install cd and getting the stage 3 tarball from the gentoo mirrors releases/<your arch>/current/ directory. Sysresccd will provide a gui browser that can be fit side by side with the terminal window allowing cuopy and paste and has a current kernel which willl call the partitions sda1, sda2, sda3 as will the up to date installed kernel when you finish. Using a current stage3 tarball will save hours of update. |
|
Back to top |
|
|
blutregens n00b
Joined: 29 Dec 2007 Posts: 15
|
Posted: Tue May 12, 2009 7:38 pm Post subject: |
|
|
Here's the output for tune2fs -l /dev/hda3
http://img528.imageshack.us/img528/2535/46267592.png
Inode count: 228928, around half of your suggestion. Don't know if that's too little, but I'll redo everything doing as you said (especially the Sysresccd part). Thank you very, very much! |
|
Back to top |
|
|
|