Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48
Rep:
Help With Gentoo Install
I am loading Gentoo and I loaded the first stage fine. Now I am trying to load the second stage. I go to bootstrap the system and leave. When I came back a hour later I see all these messages for files that were being loaded saying
usr/portage/distfiles/gcc-3.3.3.tar.bz2 ==============> 41%
Downloaded aborted - No space left on device.
It looks like this happened to quite a few devices but I cannot scroll up to see what devices it did not download.
What i don't understand is how this device can be full. When I partitioned my Hard drive I created a 10G /usr partition. There should be no way that this filles up my entire /usr partition. I am unsure what I should do next. Should I bootstrap it again? Or what can I do to correct this. Or did I do something wrong on my stage 1 setup. The only thing that I did not do in my Stage 1 setup was use mirroselect because I am not sure what that does and dont think it was working correct.
I did a df -h on each partition
This is what I got
for hdb1, hdb2, hdb4, hdb5, hdb6
Filesystem None 0 0 0 mounted on /dev
on hdb3 I have it filled 100%
on hdb7 and hdb8 I have barely any used
I dont understand some of my partionions were not mounted and some were
For each of those I used this syntax mkdir /mnt/gentoo/"Partion Name"
then mount /dev/cdrom/"Partition" /mnt/gentoo/"Partion name"
It obviuosly worked for some of my partitions but why not others
For my swap I used mkswap hdb2 and the swapon command
My install looked fine all the way through the first stage its just when I went to bootstrap it I get this problem?
Did you first mount /, then /boot, and then on. It might matter, as the folders might be overwriting each other or something. Also see that those folders even exist.
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48
Original Poster
Rep:
It matters which Directories I mount first? I mounted them in order of partitions so my /boot partition then /root
/usr and so on. But how come my / partition and opt and var worked but none others worked?
Is their a way to find out if my partitions are mounted correctly?
Oh this note. Since my / partition was full I am assuming that the install did not see my other partitions to place their respective files. So instead of placing the files for usr and home it just started to fill the / directory until it was filled. Then it gave the error I saw. Ok is this the correct way of mounting my partitions after I format them?
mkdir /mnt/gentoo/"Partition Name"
mount /dev/cdrom/"Partition" /mnt/gentoo/"Partition name"
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48
Original Poster
Rep:
Ok, I think some of my Partitions were not mounted correctly. I am trying to mount them now but just want to start all over since the install has not gone well. So I go back into the disk and try to fdisk all my partitions and start fresh. However when i go hit w after fdisk I get a message stating Rereading the partition table failed error code - 16. Device or resource busy
etc etc etc
I take it the install is still tying everything up. How do I break this and do a fresh install from here.
Try to reboot on the CD and the partitions will not be mounted, then you can try fdisk on you disk and wipe everything clean. or You can find out which are booted and unmount everything, that should work.
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48
Original Poster
Rep:
I tried a reboot then deleted my partitions using fdisk yet I still get this message. Do I have to unmount my partitions first? I am usint he ISO cd still since I have not completed my setup yet. But my partitions seem to be locked right now and I cannot delete them.
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48
Original Poster
Rep:
Thank Steve_d555 for the help. Ok I think it is correctlly fdisk the partition. I tried deleting all my partitions and then I rebooted and when I used fdisk again my partion table was not there. So I then created all my partitions and used mke2fs -j to reformat them. But now is the part that is driving me nuts. I go to make my directories and I get this.
I go mkdir /dev/hdb3 /mnt/gentoo
I get cannot make dir `gentoo` already in use
I just fdsik my entire hdb and reformated it. I should not have any dir in my partitions
So I check where I am and I am logged in as livecd root#
I ls directory empty
cd ..
now I am logged in here livecd /#
I do a ls
and I get a list of all the directories that were created in the install.
These are the directories that I am trying to delete so I can do a fresh install.
I do not know why I simply cannot get them deleted.
I did a fdisk from livecd / # and from - live cd live cd# but I cannot delete the file system that was created
And after when I do a df -h on my partitions after I used mke2fs I get a no file system and 0 0 0 on my partitions.
Where should I be to delete my partitions and how can I get my systems to be created correctlly.
Um......
I dont completely get what your saying, but you are not on any drive yet and you should keep the LiveCD filesystem, then mount the things on /mnt/gentoo ( which should be created) then later you will chroot to your filesystem and install you system and files, but for right no just follow the Handbook exactly it should work out fine.
Here is the 2004.3 handbook http://www.gentoo.org/doc/en/handbook/handbook-x86.xml
And the 2004.2 one: http://www.gentoo.org/doc/en/handboo...ndbook-x86.xml
Just follow one of those exactly as it states and everything will work out fine and dandy.
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48
Original Poster
Rep:
Grr Thanks fro the Help steve_d555. I am just a dumb ass stupid windows user and got confused. I think i worked it out now. Hopefully my new install will go better and I wont get the errors I did before. This time I made sure to check each one of my partitions fist to see if they are active and have space in them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.