Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount... command not found and other weird stuff
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
Wizzard84
n00b
n00b


Joined: 26 Dec 2004
Posts: 9
Location: Canada

PostPosted: Mon Jan 31, 2005 4:14 pm    Post subject: mount... command not found and other weird stuff Reply with quote

I cannot finnish my Gentoo boot process because it says that the mount command is not found when trying to moun /proc. How can I solve this problem?

There was another little problem when I installed gentoo... when I typed passwd it did say to me "command not found". So now I'm stuck with those 2 problems... my system doesn't have a root password and cannot boot.

Some spec:
Release 2004.3
Kernel version: 2.6.9-gentoo-r14
amd athlon 64 3200+
/dev/hdd1 : lba fat 32
/dev/hdd2 : ext2 /boot
/dev/hdd3 : swap
/dev/hdd4 : ext3 / (but they set the type to xfs in /etc/fstab, I did change it)

Any ideas?

Thanks
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Mon Jan 31, 2005 4:34 pm    Post subject: Reply with quote

it looks like you probably didnt edit your fstab at all, could that be the case?

your installed fstab just contains examples. adjust the lines to your desire.
Back to top
View user's profile Send private message
Wizzard84
n00b
n00b


Joined: 26 Dec 2004
Posts: 9
Location: Canada

PostPosted: Mon Jan 31, 2005 5:46 pm    Post subject: Reply with quote

I did change sftab... i mean i setup the /boot swap and / partition... but i'll look maybe i configure something wrong...
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Mon Jan 31, 2005 5:51 pm    Post subject: Reply with quote

Wizzard84 wrote:
I did change sftab... i mean i setup the /boot swap and / partition... but i'll look maybe i configure something wrong...

but you did leave proc in?

apart from your partitions, it should look like this:
Code:

none   /proc  proc  defaults  0 0
none   /dev/shm tmpfs  defaults  0 0


was just wondering about your remark:
Quote:

/dev/hdd4 : ext3 / (but they set the type to xfs in /etc/fstab, I did change it)


anyway, post your fstab. maybe we find something in there.
Back to top
View user's profile Send private message
Wizzard84
n00b
n00b


Joined: 26 Dec 2004
Posts: 9
Location: Canada

PostPosted: Mon Jan 31, 2005 6:14 pm    Post subject: Reply with quote

here it is
Code:

/dev/hdd2      /boot      ext2      defaults,noatime   1 2
/dev/hdd4      /      ext3      noatime         0 1
/dev/hdd3      none      swap      sw         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,user      0 0




none         /proc      proc      defaults      0 0



none         /dev/shm   tmpfs      defaults            0 0
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Mon Jan 31, 2005 6:52 pm    Post subject: Reply with quote

fstab looks OK to me, hmm..
i just realize you mention AMD64 - could this be an issue? unfortunately i am not familiar with this kind of beast.

are you able to chroot to your new installation if you boot again from the InstallCD?
Back to top
View user's profile Send private message
Wizzard84
n00b
n00b


Joined: 26 Dec 2004
Posts: 9
Location: Canada

PostPosted: Mon Jan 31, 2005 7:03 pm    Post subject: Reply with quote

should be able to do so. Haven't check if i was yet... but i'll check right away. Maybe I would understand my problem better if I could know what does /proc and where is the base path of this baby...

Thanks


[edit] I just thought taht maybe it was my grub config... so I'll put it in here

Code:

timeout 30

title=Linux (Gentoo x86-64)
root (hd0,1)
kernel /kernel-2.6.9-gentoo-r14 root=/dev/hdd4

title=WinShit

map (hd0) (hd1)
map (hd1) (hd0)

root (hd1,0)
makeactive
chainloader +1


maybe the 64 arch is an isue... I'll try posting in the 64bit section...

[/edit]
Back to top
View user's profile Send private message
Chriss
n00b
n00b


Joined: 20 Jan 2005
Posts: 12

PostPosted: Wed Feb 02, 2005 8:35 am    Post subject: Reply with quote

Nope, I don't think so.
I've got an idendical problem here - no mount command or passwd command avavible in chroot, and I guess therefore not at boot as well.

I think that the Problem is a missing package, containing mount, boot and other basic stuff. Anyone got an Idea about that?

Oh, and my System ist a P3 Coppermine - so nothing AMD64 related ;)
Back to top
View user's profile Send private message
Chriss
n00b
n00b


Joined: 20 Jan 2005
Posts: 12

PostPosted: Wed Feb 02, 2005 12:53 pm    Post subject: Reply with quote

Hm, google seems to be a great help :D

http://www.gentooforum.de/thread.php?threadid=4498

According to this Thread, you might have forgotten to emerge the system. So,

emerge system

should solve this problem.
I am quite shure that I didn't use that command. ;)
Back to top
View user's profile Send private message
Wizzard84
n00b
n00b


Joined: 26 Dec 2004
Posts: 9
Location: Canada

PostPosted: Wed Feb 02, 2005 3:39 pm    Post subject: Reply with quote

Quote:
According to this Thread, you might have forgotten to emerge the system.


Thanks

You were right :oops: I forgot... but now when i boot it doesn't detec my network interface... and the net-setup command is not installed nor the drivers I need for my onboard chipset (sk98lin). For the drivers I will just copy them from the live cd... but what can I do the enable the net-setup command?
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Wed Feb 02, 2005 4:46 pm    Post subject: Reply with quote

Wizzard84 wrote:
Quote:
According to this Thread, you might have forgotten to emerge the system.


You were right :oops: I forgot...

oh my..
well, you have to enable your drivers in the kernel. either as a module or build in, thats it!

btw.. still wondering how someone could "forget" to emerge his system, though ;)
Back to top
View user's profile Send private message
Wizzard84
n00b
n00b


Joined: 26 Dec 2004
Posts: 9
Location: Canada

PostPosted: Wed Feb 02, 2005 5:35 pm    Post subject: Reply with quote

caus I installed it on 2 systems at the same time... so I made a lot of theses errors... shame on me!

But I'd realy like to know why the live cd has more drivers then gentoo... kinda weird....
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Wed Feb 02, 2005 6:16 pm    Post subject: Reply with quote

Wizzard84 wrote:

But I'd realy like to know why the live cd has more drivers then gentoo... kinda weird....

because more network drivers are installed as module or/and build in on the LiveCD. this is just because almost everyone is able to boot from this CD, no matter which card he owns. comprende?

make menuconfig @ your kernel, enable the network driver for your card, and off you go. configuring gentoo does need manual configuration, likewise to every other distribution. this is in no way unusual.
Back to top
View user's profile Send private message
Wizzard84
n00b
n00b


Joined: 26 Dec 2004
Posts: 9
Location: Canada

PostPosted: Wed Feb 02, 2005 7:31 pm    Post subject: Reply with quote

So make menuconfig I did. My network card drivers I did checked.

When I do "make" afterward I get the following error :

Quote:

dnsdomainname: Host name lookup failure


I also see all the files for my driver being installed during the make process, but they never showed up in the modules (/lib/modules/2.6.9-gentoo-r14/kernel/drivers/net) folder, either in the lib or lib64 folder. I tought that maybe I was wrong about the path of the modules folder, so I did check /proc/modules to see the list of availabel modules (as said in the doc) but the file is empty...?!?!? :?

Now I know I did configure the variable during the installation process... do you think I would need to enable the NIS... (My network arch is a hub uplinked to a router). The config of the live cd does work perfectly and I was wondering if they use NIS options. [/b]

Thanks a lot for your help so far!!! :D
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Wed Feb 02, 2005 7:56 pm    Post subject: Reply with quote

all of this looks completly strange.. are you compiling using "distcc"?
are you on an AMD64?

in both cases, someone else might help, i am outta here.

//edit: amd athlon 64 3200+
err, dunno. sorry. i was thinking x86

time for the AMD64 doodes to drop in ;)
OTOH: well doode, i would have expected your request in the amd64 forum in here, no? you should be aware that it is a little different compiling / installing from x86, well, though..
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