View previous topic :: View next topic |
Author |
Message |
black army jacket n00b
Joined: 12 Oct 2005 Posts: 5 Location: Massachusetts, U$A
|
Posted: Wed Oct 12, 2005 3:35 pm Post subject: not enough space on device? |
|
|
as i was going through the first steps of instaling stage3, i noticed when it was done with compiling the portage snapshots that it kept telling me that there was not enough space on the device, so i went ahead and just did the next step..
Code: | mkdir /mnt/gentoo/usr/portage/distfiles |
and then it told me i didn't have enough space on the device again.
it's not that my computer is old or out-dated by any means, i don't know if it may have something to do with that i still have debian sarge on my computer or what. i just want to just run gentoo 2005.1 |
|
Back to top |
|
|
opqdan Guru
Joined: 13 Dec 2004 Posts: 429 Location: Redmond, WA, USA
|
Posted: Wed Oct 12, 2005 3:42 pm Post subject: |
|
|
Are you sure that you have mounted your partitions succesfully? If you haven't then you are trying to create files on the CD, or in RAM, and thus the error. Another problem could be that you did mount the partitions but did so backwards (ie put the 32Mb /boot as /), this would also cause you to run out of space, but it seems to me that making a directory should still work because the size is so small. |
|
Back to top |
|
|
black army jacket n00b
Joined: 12 Oct 2005 Posts: 5 Location: Massachusetts, U$A
|
Posted: Wed Oct 12, 2005 3:49 pm Post subject: |
|
|
well, i'm still new to gentoo, but i read the handbook and here's as far as i got up to before it gave me that message telling me i don't have enough space on my device...
Code: |
ls /mnt/cdrom/stages
cd /mnt/gentoo
chmod 0755 /mnt/gentoo
tar -xvjpf /mnt/cdrom/stages/stage3-pentium4-2005.1.tar.bz2
ls /mnt/cdrom/snapshot
tar -xvjf /mnt/cdrom/snapshot/portage-2005.1.tar.bz2 -C /mnt/gentoo/usr
mkdir /mnt/gentoo/usr/portage/distfiles
|
|
|
Back to top |
|
|
TheX Guru
Joined: 31 Jul 2004 Posts: 349 Location: .de
|
Posted: Wed Oct 12, 2005 3:54 pm Post subject: |
|
|
you have to extract the tarball into /mnt/gentoo !!
#cd /mnt/gentoo
#tar -xvjpf /mnt/cdrom/stages/stage3-pentium4-2005.1.tar.bz2 |
|
Back to top |
|
|
black army jacket n00b
Joined: 12 Oct 2005 Posts: 5 Location: Massachusetts, U$A
|
Posted: Wed Oct 12, 2005 3:59 pm Post subject: |
|
|
TheX wrote: | you have to extract the tarball into /mnt/gentoo !!
#cd /mnt/gentoo
#tar -xvjpf /mnt/cdrom/stages/stage3-pentium4-2005.1.tar.bz2 |
but isn't that what i did? |
|
Back to top |
|
|
TheX Guru
Joined: 31 Jul 2004 Posts: 349 Location: .de
|
Posted: Wed Oct 12, 2005 4:00 pm Post subject: |
|
|
autsch !
I missed that #cd /mnt/gentoo line.. |
|
Back to top |
|
|
at240 l33t
Joined: 12 Aug 2005 Posts: 603 Location: UK
|
Posted: Wed Oct 12, 2005 4:02 pm Post subject: |
|
|
In the handbook, it says to do the Code: | chmod 0755 /mnt/gentoo | after you've extracted the tarball. From what you've posted here, you did it before. I'm not sure whether this is what's causing the problem, but it might be worth looking into it. |
|
Back to top |
|
|
Bobnoxous Apprentice
Joined: 03 May 2005 Posts: 240
|
Posted: Wed Oct 12, 2005 4:05 pm Post subject: |
|
|
Just to make sure you're untarring onto the device you think you are, run the mount command.
> mount
and verify /mnt/gentoo is on the hard drive partition you expect. I did something really silly the first time, and was untarring onto the RAMdisk. _________________ "The problem with the world is that fools and fanatics are always so sure of themselves while wiser people are so full of doubt."
- Bertrand Russell |
|
Back to top |
|
|
black army jacket n00b
Joined: 12 Oct 2005 Posts: 5 Location: Massachusetts, U$A
|
Posted: Thu Oct 13, 2005 1:39 am Post subject: |
|
|
Bobnoxous wrote: | Just to make sure you're untarring onto the device you think you are, run the mount command.
> mount
and verify /mnt/gentoo is on the hard drive partition you expect. I did something really silly the first time, and was untarring onto the RAMdisk. |
alright, and if it is untarring onto the RAMdisk how do i change that? |
|
Back to top |
|
|
Bobnoxous Apprentice
Joined: 03 May 2005 Posts: 240
|
Posted: Thu Oct 13, 2005 2:00 am Post subject: |
|
|
You need to mount the hard drive partion you want to install gentoo on. For example
> mount /dev/hda1 /mnt/gentoo.
Then, going to /mnt/gentoo will take you to the hard drive. _________________ "The problem with the world is that fools and fanatics are always so sure of themselves while wiser people are so full of doubt."
- Bertrand Russell |
|
Back to top |
|
|
black army jacket n00b
Joined: 12 Oct 2005 Posts: 5 Location: Massachusetts, U$A
|
Posted: Thu Oct 13, 2005 2:58 am Post subject: |
|
|
Bobnoxous wrote: | You need to mount the hard drive partion you want to install gentoo on. For example
> mount /dev/hda1 /mnt/gentoo.
Then, going to /mnt/gentoo will take you to the hard drive. |
that doesn't mean i also have to change all the commands that say /mnt/cdrom/ to /mnt/hda1
does it? |
|
Back to top |
|
|
Bobnoxous Apprentice
Joined: 03 May 2005 Posts: 240
|
Posted: Thu Oct 13, 2005 5:19 am Post subject: |
|
|
I think I'm only adding to the confusion. The handbook describes this pretty clearly. I got messed up because I missed one step where you mount the hard drive partition.
To summarize, you mount the hard drive partition you want to install gentoo on to /mnt/gentoo. Whatever partition you've decided to use. You mount the cdrom to /mnt/cdrom, presuming that you're installing from cdrom. You can then copy, untar, etc, the files from /mnt/cdrom to /mnt/gentoo.
Directories above /mnt/gentoo (/, /mnt, /etc) are in the RAM disk, used to get a small environment working so you can do the rest of the install to the hard disk. Note that later during the install you will change root to /mnt/gentoo, and then /, /mnt, etc, will be on your hard disk, but that's further down the road.
I hope this helps. Make sure not to skim too quickly the handbook. Sometimes there's a little step that's easy to miss, and really important. _________________ "The problem with the world is that fools and fanatics are always so sure of themselves while wiser people are so full of doubt."
- Bertrand Russell |
|
Back to top |
|
|
|