View previous topic :: View next topic |
Author |
Message |
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
Posted: Mon Jun 14, 2004 6:52 pm Post subject: Install Problem: cannot access /usr directory |
|
|
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 |
|
|
YopWongSapn l33t
Joined: 26 Jan 2004 Posts: 627
|
Posted: Mon Jun 14, 2004 7:23 pm Post subject: |
|
|
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 _________________ Gentoo...it's like wiping your ass with silk. Or sandpaper. |
|
Back to top |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
Posted: Mon Jun 14, 2004 8:05 pm Post subject: |
|
|
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 |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
Posted: Tue Jun 15, 2004 4:35 am Post subject: |
|
|
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 |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
Posted: Tue Jun 15, 2004 2:57 pm Post subject: |
|
|
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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
YopWongSapn l33t
Joined: 26 Jan 2004 Posts: 627
|
Posted: Tue Jun 15, 2004 4:19 pm Post subject: |
|
|
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
Chances are (unless you made the /root/usr directory), this location does not exist. Try This may solve your problem. _________________ Gentoo...it's like wiping your ass with silk. Or sandpaper. |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Tue Jun 15, 2004 4:55 pm Post subject: |
|
|
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 |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
|
Back to top |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Tue Jun 15, 2004 5:46 pm Post subject: |
|
|
Its new to me but that doesnt mean its new to neddySegon or someone. No before you wipe your install try and post the results and also post your fstab. _________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Tue Jun 15, 2004 9:35 pm Post subject: |
|
|
Well if you do/or can boot 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 |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
|
Back to top |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
Posted: Wed Jun 16, 2004 3:14 am Post subject: |
|
|
hielvc wrote: | Its new to me but that doesnt mean its new to neddySegon or someone. No before you wipe your install try 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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Jun 16, 2004 4:05 am Post subject: |
|
|
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 |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
Posted: Wed Jun 16, 2004 4:05 am Post subject: |
|
|
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 |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
Posted: Wed Jun 16, 2004 4:22 am Post subject: |
|
|
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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Wed Jun 16, 2004 4:24 am Post subject: |
|
|
DId you try adding the 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 |
|
|
NoBonus n00b
Joined: 08 Jun 2004 Posts: 57
|
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
|