LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 11-24-2004, 10:34 PM   #1
blazted
Member
 
Registered: Nov 2004
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48

Rep: Reputation: 15
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.


Thanks
 
Old 11-24-2004, 10:58 PM   #2
hutuworm
Member
 
Registered: Aug 2004
Posts: 130

Rep: Reputation: 15
df -h to check if the partition is full, and you may make a symbol link of /usr/portage/distfiles to another partition with more free space.
 
Old 11-24-2004, 11:26 PM   #3
blazted
Member
 
Registered: Nov 2004
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48

Original Poster
Rep: Reputation: 15
Ok this is really strange.

I did a df -h on each of my partitions

This is how I have my partitions set up

hdb1 - /boot 100mb
hdb2 - swap 1500mb
hdb3 - / 500mb
hdb4 - Logical partition
hdb5 - /usr 10g
hdb6 - /home 7g
hdb7 /var 5g
hdb8 /opt 3g
hdb9 Fat32 (Dont ask)
rest unpartitioned

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?

what did I do wrong

Thanks
 
Old 11-24-2004, 11:30 PM   #4
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
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.
 
Old 11-25-2004, 12:54 AM   #5
blazted
Member
 
Registered: Nov 2004
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48

Original Poster
Rep: Reputation: 15
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"
 
Old 11-25-2004, 12:46 PM   #6
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
Yes,
follow the Handbook and it should tell you to first mount the / partition then make folders in it and mount all the other partitions.

-Steve
 
Old 11-25-2004, 01:51 PM   #7
blazted
Member
 
Registered: Nov 2004
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48

Original Poster
Rep: Reputation: 15
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.

Thanks
 
Old 11-25-2004, 06:49 PM   #8
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
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.

--Steve
 
Old 11-26-2004, 03:25 AM   #9
blazted
Member
 
Registered: Nov 2004
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48

Original Poster
Rep: Reputation: 15
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.
 
Old 11-26-2004, 12:14 PM   #10
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
Hmm, thats wierd what does fdisk's output say?
IS there a specific error, or can you just not write?
 
Old 11-26-2004, 01:47 PM   #11
blazted
Member
 
Registered: Nov 2004
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48

Original Poster
Rep: Reputation: 15
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.

Thanks
 
Old 11-26-2004, 01:54 PM   #12
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
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.

--Steve
 
Old 11-26-2004, 02:24 PM   #13
blazted
Member
 
Registered: Nov 2004
Distribution: Red Hat Version 9 / Attempting to use Gentoo
Posts: 48

Original Poster
Rep: Reputation: 15
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.

I need to purge the windows.
 
Old 11-26-2004, 07:26 PM   #14
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
LoL, ok
Good Luck
--Steve
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install gentoo? jon_k Linux - Software 6 07-02-2005 01:12 PM
Dual G5 PowerPC: Install Gentoo/Gentoo on OSX? MadSkillzMan General 9 06-29-2005 02:17 PM
gentoo file manager install issues (not Gentoo) windeath Fedora 2 03-01-2004 07:17 PM
How to install pppd on new Gentoo install. l0f33t Linux - Distributions 2 09-06-2003 07:53 AM
gentoo install Shak Linux - Distributions 3 07-06-2002 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration