Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install Problem: cannot access /usr directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Mon Jun 14, 2004 6:52 pm    Post subject: Install Problem: cannot access /usr directory Reply with quote

Here is where I am at. I installed stage 3 gentoo for Pentium 3 and used genkernel. I followed the handbook instructions almost word for word (i.e. I used the same partitions as the handbook, etc.). I loaded gentoo up using grub and got through that semi-okay (I still need to nano the commands to make it work right). Now I have arrived at the Gentoo command #. I want to go into portage and get some programs going BUT when I "cd /usr" and then "ls" I get a message saying something to the effect of 'you requested (some number) and there is only (some smaller number)' and that's it. I'm stuck and I cannot "cd /portage". What did I do wrong? Are my partitions bad or did I not install portage properly. What can I do? Please help.

NoBonus
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
YopWongSapn
l33t
l33t


Joined: 26 Jan 2004
Posts: 627

PostPosted: Mon Jun 14, 2004 7:23 pm    Post subject: Reply with quote

Do you get this error before or after you booted off your hard drive? It would also help if you could post the exact error you are getting in this thread.

Also, the portage directory is in /usr/portage, not /portage :wink:
_________________
Gentoo...it's like wiping your ass with silk. Or sandpaper.
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Mon Jun 14, 2004 8:05 pm    Post subject: Reply with quote

Let's see this error occurs on my boot from the hard drive.

I will get the exact errors listed when I get home tonight, but the idea is when I open /usr and use ls, nothing appears but an error saying I want a number (like 4085) and only a number (like 3975) is available.

I will get the exact error listed tonight.

Thanks,

NoBonus
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Tue Jun 15, 2004 4:35 am    Post subject: Reply with quote

Okay, here is what happens.

I boot gentoo from my hard drive. I get to the # prompt. I type "cd usr". I then type "ls" to list the contents and instead of a list of folders, I get this message 3 times in a row:

attempt to access beyond end of device
01:00: rw=0, want=4183, limit=4096

Any ideas?
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Tue Jun 15, 2004 2:57 pm    Post subject: Reply with quote

If I can just classify this error, I can try to find a solution myself, I just do no know what this signifies. Are my partitions bad? Is something not installed properly?

Thanks,

NoBonus
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Tue Jun 15, 2004 4:12 pm    Post subject: Reply with quote

Your haveing a boot problem. See this thread Lilo boot problem. Yes I know your useing grub but apllies to both grub and lilo.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
YopWongSapn
l33t
l33t


Joined: 26 Jan 2004
Posts: 627

PostPosted: Tue Jun 15, 2004 4:19 pm    Post subject: Reply with quote

NoBonus wrote:
I boot gentoo from my hard drive. I get to the # prompt. I type "cd usr".

Well, this could be at least part of your problem. This command is telling your system to
Code:
# cd /root/usr

Chances are (unless you made the /root/usr directory), this location does not exist. Try
Code:
cd /usr
This may solve your problem.
_________________
Gentoo...it's like wiping your ass with silk. Or sandpaper.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Tue Jun 15, 2004 4:55 pm    Post subject: Reply with quote

If you havent guessed you have a wierd prob. The error you posted makes it sound like your useing genkernel and that you need a larger ramdisk. Yet as YopWongSapn points out if the directory is not there this might be a strange error message. I get
Quote:
tester bin # cd usr
-bash: cd: usr: No such file or directory

You might also be out af drive space, so try " df -h" or "du -hs"[/quote]
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Tue Jun 15, 2004 5:07 pm    Post subject: Reply with quote

When I am in the opening directory and I type "ls" the /usr directory is listed.
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Tue Jun 15, 2004 5:29 pm    Post subject: Reply with quote

I am guessing, since this error seems unique, that I should just go for a complete re-partition and re-install?
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Tue Jun 15, 2004 5:46 pm    Post subject: Reply with quote

Its new to me but that doesnt mean its new to neddySegon or someone. No before you wipe your install try
Code:
df -h 
   and
du -hs
and post the results and also post your fstab.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Tue Jun 15, 2004 6:09 pm    Post subject: Reply with quote

I will run those commands tonight when I get in front of my computer. Also, how do I bring up my fstab info?
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Tue Jun 15, 2004 9:35 pm    Post subject: Reply with quote

Well if you do/or can boot :wink: you can " cat " or" less /etc/fstab ". If you cant boot or get into that then boot with your install cd and mount your new gentoo root "/" on /mnt/gentoo and look at /mnt/gentoo/etc/fstab.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Tue Jun 15, 2004 9:38 pm    Post subject: Reply with quote

Thanks, I will do that tonight. Sorry about being so dense, I am just exploring Linux and Gentoo is becoming quite an education.
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Wed Jun 16, 2004 3:14 am    Post subject: Reply with quote

hielvc wrote:
Its new to me but that doesnt mean its new to neddySegon or someone. No before you wipe your install try
Code:
df -h 
   and
du -hs
and post the results and also post your fstab.


df -h gave me this:
attempt to access beyond end of device
01:00 rw=0, want=4183, limit=4096
attempt to access beyond end of device
01:00 rw=0, want=4183, limit=4096
/bin/sh: df: not found

du -hs gave me:
/bin/sh: du: not found
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Wed Jun 16, 2004 3:37 am    Post subject: Reply with quote

Can you reboot with your live cd or whatever and post what fdisk -l shows?
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Jun 16, 2004 4:05 am    Post subject: Reply with quote

NoBonus wrote:
attempt to access beyond end of device
01:00 rw=0, want=4183, limit=4096

Your ramdisk is not big enough. Look at this thread for a way to fix it.
https://forums.gentoo.org/viewtopic.php?t=152855


EDIT : Oops, heilvc already told you to look at the same thread.


Last edited by cyrillic on Wed Jun 16, 2004 4:07 am; edited 1 time in total
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Wed Jun 16, 2004 4:05 am    Post subject: Reply with quote

It says:
Disk /dev/ide/host0/bus0/target0/lun0disc: 13.6 GB, 13676544000 bytes
255 heads, 63 sectors/track, 1662 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Id System Device Boot Start End Blocks
/dev/ide/host0/bus0/target0/lun0/part1 * 1 5 40131

/dev/ide/host0/bus0/target0/lun0/part2 6 68 506047+

/dev/ide/host0/bus0/target0/lun0/part3 69 1662 12803805
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Wed Jun 16, 2004 4:22 am    Post subject: Reply with quote

I tried this:
"From: Tegeril

Found the problem. 2.4.25 requires a ramdisk that is larger than 4096 at boot, setting it in grub.conf to 8192 (ramdisk_size=8192) fixed the problem entirely. Is this a genkernel all misinterpretation? "

but no luck. How do I edit my grub.conf file from the livecd?
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Wed Jun 16, 2004 4:24 am    Post subject: Reply with quote

DId you try adding the
Quote:
ramdisk_size=8192
to your grub.conf? To edit your grub.conf boot from live cd and
Code:
mount /dev/hd?? /mnt/gentoo      ( put your boot HD partion here, the manuels would be /dev/hda1)
nano -w  /mnt/gentoo/grub/grub.conf

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
NoBonus
n00b
n00b


Joined: 08 Jun 2004
Posts: 57

PostPosted: Wed Jun 16, 2004 4:42 am    Post subject: Reply with quote

It worked! It Worked! Thank you !
_________________
Polybius anyone? www.coinop.org/g.aspx/103223/Polybius.html

Live the dream: www.arcadecontrols.com
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Wed Jun 16, 2004 4:55 am    Post subject: Reply with quote

Good :lol:
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum