Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
first boot after install
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
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sat Dec 04, 2004 6:53 pm    Post subject: first boot after install Reply with quote

I finnished installing and rebooted. Grub came up fine. I selected the only
kernel available. Initalization begins. I then get:
Mounting proc at /proc ...
The "mount" command failed with error: line1: mount: command not found
I'm not sure where to go from here.
Also the last line asks Give root password for maintenence or type Control-D for normal startup. What is the root password for maintetence?
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sat Dec 04, 2004 8:07 pm    Post subject: Reply with quote

Strange if you do not have mount which is essential in Linux installation... It normally sit in /bin/mount...
Give passwd for root and you will be hopefully dropped to console to repair what you have done wrongly... Try this and look for mount...
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sat Dec 04, 2004 8:56 pm    Post subject: Reply with quote

passwd didn't work. Neither did the password that I used durring the install. Any other suggestions?
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sat Dec 04, 2004 9:03 pm    Post subject: Reply with quote

Weird, cuz it's not problem with /proc, but mounting it... It can be done manually, but without mount? :(
I'll look for similar problems...
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sat Dec 04, 2004 9:14 pm    Post subject: Reply with quote

Thanks. I'v been working on installing gentoo since aug 04. This is the furtherest that I have gotten. I don't know anyway to solve this except
to reinstall and I don't want to do that again. This is around the 30th time that I have installed this os.
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sat Dec 04, 2004 9:24 pm    Post subject: Reply with quote

WOW! That should not happen... What stage, proc, etc? Did you chose to use a correct CD? Always the same error? What Gentoo 'version"?
Back to top
View user's profile Send private message
progosaurus
n00b
n00b


Joined: 02 Dec 2004
Posts: 29
Location: The Wirral

PostPosted: Sat Dec 04, 2004 11:03 pm    Post subject: Reply with quote

I have seem some wierd problems when the grub.conf file is broken and the root partition is not mounted.
e.g. a spelling mistake in the kernel line when specifying root=/dev/hda_whatever


Perhaps you could post a copy of your /boot/grub/grub.conf ?
_________________
progo
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sat Dec 04, 2004 11:04 pm    Post subject: Reply with quote

Back in aug I was using a stage1 2004.2. I was never able to get it installed. When 2004.3 come out I tried it. But the installation
instructions were incorrect. Now the instructions have changed I decided to try gentoo again. I'm using a stage1 2004.3 liveCD install
on a sager8790 3.4GHz laptop w/dual 7200rpm 60GBHD, 1GB ram 9800 Ati video.
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sat Dec 04, 2004 11:10 pm    Post subject: Reply with quote

progosaurus wrote
Quote:
Perhaps you could post a copy of your /boot/grub/grub.conf ?



I really am a linux nube. I have absolutlly no idea how to do this other than copying it to here.
Back to top
View user's profile Send private message
progosaurus
n00b
n00b


Joined: 02 Dec 2004
Posts: 29
Location: The Wirral

PostPosted: Sat Dec 04, 2004 11:20 pm    Post subject: Reply with quote

that's what I meant - copy it to here.

if you are unsure how to do that easily:

cat /boot/grub/grub.conf

then highlight the text with the mouse - click and drag over it.

Then click in the reply window for the forum,
then click with the middle button (or both left and right buttons simultaneously)
and that should "paste" the selected text into the message.

Or type it out ....... :-)
_________________
progo
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sat Dec 04, 2004 11:27 pm    Post subject: Reply with quote

I'm using two computers. One for getting info off these forums and the other for installing.
Back to top
View user's profile Send private message
progosaurus
n00b
n00b


Joined: 02 Dec 2004
Posts: 29
Location: The Wirral

PostPosted: Sat Dec 04, 2004 11:47 pm    Post subject: Reply with quote

You could use ssh to control the system-under-development from your networked computer, and cut&paste between windows.

But I guess you might be some way from knowing how to do that?

So copy it - it cant be very big .... :lol:
_________________
progo
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sun Dec 05, 2004 12:21 am    Post subject: Reply with quote

default 0
timeout=30
splashimage=(hd0,4)/grub/splash.xpm.gz
title=kernel-number1-12.02.2004
root (hd0,4)
kernel /kernel-number1-12.02.2004 root=/dev/hdg2
How's this?
Back to top
View user's profile Send private message
nyawb
n00b
n00b


Joined: 05 Dec 2004
Posts: 6
Location: planet claire

PostPosted: Sun Dec 05, 2004 1:24 am    Post subject: Similar problem here Reply with quote

I have just finished installing gentoo and am getting the error message,

"mount /proc

the mount command failed with error: line 1: mount: command not found"

upon reboot.

am using yaboot, gentoo v.2004.3, on a mac-ppc G3 w/768Mb RAM, 40Gb IDE/ATA hd.
I have done a Stage 1 install with LiveCD.
I can reboot the system with LiveCD, mount the file system, look at files and directories, etc -the settings in fstab seem to be correct, but after reading the previous posts, I checked and do not have a Grub directory or grub.conf under /boot -and don't recall grub being mentioned in the install outline.

Suggestion greatly appreciated,
TIA

I am relatively new to Gentoo and Linux in general, but have been reading a LOT as I work through this
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sun Dec 05, 2004 2:50 am    Post subject: Reply with quote

I also noticed that I don"t have a /bin/mount
Back to top
View user's profile Send private message
progosaurus
n00b
n00b


Joined: 02 Dec 2004
Posts: 29
Location: The Wirral

PostPosted: Sun Dec 05, 2004 9:32 am    Post subject: Reply with quote

Quote:

default 0
timeout=30
splashimage=(hd0,4)/grub/splash.xpm.gz
title=kernel-number1-12.02.2004
root (hd0,4)
kernel /kernel-number1-12.02.2004 root=/dev/hdg2


That looks odd to me.

1. What drives and partitions are you using? your grub.conf suggests
/dev/hda5 /boot
/dev/hdg2 /

2. do you really mean /dev/hdg2 ? Do you have 7 or more IDE devices?
(hda=1,hdb=2, ... hdg=7)
or is this some disk arrangement that I have not previously seen?

I wonder if your /etc/fstab might also be odd.
Can you copy that here too?
_________________
progo
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sun Dec 05, 2004 11:24 am    Post subject: Reply with quote

Yes I know thats weird but it is correct. This laptop has a 7 in 1 cardreader and a promise ide card. The dvdr is on ide0 master and the cardreaders take up hdb c d f with the two harddrives on the promese card. That leaves hde and hdg open. fdisk confirms this. fstab is correct also, I have checked it and double checked it. That is not the problem. Anyhow I have started over again using the developers method using stage1 and nptl found in documentation tips and tricks section. I hope this method works.
Back to top
View user's profile Send private message
progosaurus
n00b
n00b


Joined: 02 Dec 2004
Posts: 29
Location: The Wirral

PostPosted: Sun Dec 05, 2004 11:39 am    Post subject: Reply with quote

In other installations of grub I find /boot/grub/device.map
It contains stuff like
(hd0) /dev/hda

to tell grub which devices to use for particular (names).

I don't see this in my gentoo system, so now I am confused.
How does grub know that, on your system, (hd0) is hdg?


Can anyone else clarify that?
_________________
progo
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sun Dec 05, 2004 11:51 am    Post subject: Reply with quote

Actually hde5 is hd(0,4) and hdg2 is hd(1,1).
Back to top
View user's profile Send private message
rjw8703
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 246
Location: Auburn, Al

PostPosted: Sun Dec 05, 2004 11:57 am    Post subject: Reply with quote

Do you know if scripts/bootstrap.sh -resume or scripts/bootstrap.sh --resume is the correct command to resume bootstrap?
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sun Dec 05, 2004 7:33 pm    Post subject: Reply with quote

bootsprap -h for help - you'll see it there.

I see you double checked whether the partition numbers (hdg, etc.) are correct. What I would do is to do a raw copy of the /bin/mount to /bin/mount in your new Gentoo installation. Simply boot The LiveCD for your architecture, mount your main partition and
Code:
cp /bin/mount /mnt/gentoo/bin/

Then exit and boot your OS (not LiveCD). When you login successfully you'll be able to see what has gone wrong.
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