View previous topic :: View next topic |
Author |
Message |
jtgd Tux's lil' helper
Joined: 03 Apr 2005 Posts: 80 Location: Las Vegas
|
Posted: Mon Apr 04, 2005 4:34 pm Post subject: disk full during emerge |
|
|
I am installing 2005.0, following the handbook.
Per suggestion I made
/dev/sda1 (will be /boot) 32M, ext2
/dev/sda2 (swap) 2G
/dev/sda3 (will be /) remainder of 36G drive, Reiserfs
I started with stage1 install, and during stage2 (?) I was doing
emerge --emptytree system
and after much compiling it failed with disk full.
Not sure which disk it is. df says:
tmpfs 1642044 100% /
tmpfs 1642044 1% /lib/firmware
sda1 did not seem to be mounted. It actually was Reiserfs at the time of error, but I changed it to ext2.
There is 4G of RAM, so I assume it has not filled ramdisk.
Not sure what to do or where to resume in the handbook. |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Mon Apr 04, 2005 5:14 pm Post subject: |
|
|
Is the output of df that you listed the entire output? /dev/sda1 may not be mounted, but more importantly, I want to make sure that /dev/sda3 is mounted. You need to mount both /dev/sda3 and proc before entering a chrooted shell. It's not hard to chroot to the wrong place. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
jtgd Tux's lil' helper
Joined: 03 Apr 2005 Posts: 80 Location: Las Vegas
|
Posted: Tue Apr 05, 2005 5:48 am Post subject: |
|
|
Quote: | Is the output of df that you listed the entire output? |
No, I left out the line referring to the cdrom.
Quote: | /dev/sda1 may not be mounted, but more importantly, I want to make sure that /dev/sda3 is mounted. You need to mount both /dev/sda3 and proc before entering a chrooted shell. It's not hard to chroot to the wrong place. |
No they weren't mounted.
When should I have mounted them? I was going by the handbook and I do not see a mount except for
Code: | mount -t proc none /mnt/gentoo/proc |
Which I did.
So should I mount at the same time as that? (just before the chroot)
And then do I repeat the commands from that point forward?
I'm guessing what you want me to do is:
Code: | mount /dev/sda3 /
mount /dev/sda1 /boot |
Is that right? |
|
Back to top |
|
|
shouldbesleeping Tux's lil' helper
Joined: 10 Feb 2005 Posts: 147
|
Posted: Tue Apr 05, 2005 7:13 am Post subject: |
|
|
I had that problem, in my circumstance, it was writing the data to ram, because I hadn't switched directories, or mounted my drives. Your disk isn't full, just your ram. Make sure you follow the directions in the manual VERBATIM. _________________ Being on the lower end of geniuses, I have to try a little bit harder than most of them. It still beats being a supreme moron. |
|
Back to top |
|
|
Infra Tux's lil' helper
Joined: 12 Jul 2002 Posts: 131 Location: Vantaa, Finland
|
Posted: Tue Apr 05, 2005 7:16 am Post subject: |
|
|
Quote: |
I'm guessing what you want me to do is:
Code: | mount /dev/sda3 /
mount /dev/sda1 /boot |
Is that right? |
umm...no.
Straigh from the handbook:
Code: |
Code Listing 15: Mounting partitions
# mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot
|
Mounting discs (from Gentoo Handbook) _________________ If it works don't mess with it |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Tue Apr 05, 2005 1:02 pm Post subject: |
|
|
If you are using SCSI or sata, you will be using the /dev/sda series, but since the handbook assumes you are using pata, you will have to manually substitute in your hard drive configuration.
The handbook has gotten big enough now that it's very easy to skip steps by accident. Print out a copy if you can, so you can cross steps off as you've completed them. If you're reading it on a screen, you can break it down by section. This will also make it easier to see where you left off if you decide to let something run on its own for a bit. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
|