Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I goofed and now have a problem
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
dechah
n00b
n00b


Joined: 18 Jun 2002
Posts: 37
Location: Melbourne

PostPosted: Thu Jun 20, 2002 9:56 am    Post subject: I goofed and now have a problem Reply with quote

I have installed Gentoo and get a nice install prompt. I have only just realised that I forgot to compile Ext2 filesystem support into my kernel. I recompiled a fresh kernel with the appropriate support, however I am unable to mount my /boot partition because I get an error saying that Ext2 filesystem is not supported.

I now have a chicken and egg style problem in that I need to mount boot to copy across the new kernel image that will give me the support needed to mount /boot.

How do I rectify this embarasing situation :-) :lol:
_________________
Cheers

Dechah
Back to top
View user's profile Send private message
TUX2k
n00b
n00b


Joined: 16 May 2002
Posts: 62
Location: Purmerend, The Netherlands

PostPosted: Thu Jun 20, 2002 10:09 am    Post subject: Reply with quote

use the install cdrom to boot.
Then mout your gentoo system on /mnt/gentoo and your boot on /mnt/gentoo/boot.
and copy your new kernel to /mnt/gentoo/boot

That should solve yout problem.
Back to top
View user's profile Send private message
dechah
n00b
n00b


Joined: 18 Jun 2002
Posts: 37
Location: Melbourne

PostPosted: Thu Jun 20, 2002 10:27 am    Post subject: Reply with quote

Thanks, I shall logout of Windows and give it a go.


TUX2k wrote:
use the install cdrom to boot.
Then mout your gentoo system on /mnt/gentoo and your boot on /mnt/gentoo/boot.
and copy your new kernel to /mnt/gentoo/boot

That should solve yout problem.

_________________
Cheers

Dechah
Back to top
View user's profile Send private message
dechah
n00b
n00b


Joined: 18 Jun 2002
Posts: 37
Location: Melbourne

PostPosted: Thu Jun 20, 2002 11:14 am    Post subject: Reply with quote

I booted from the 1.2 CD rom and got to the # prompt

At the prompt I typed "mount /mnt/gentoo"

and got the error message:

"can't find /mnt/gentoo in /etc/fstab/"

I get the same error message when I try to mount /mnt/gentoo/boot

Any ideas what I am doing wrong?


TUX2k wrote:
use the install cdrom to boot.
Then mout your gentoo system on /mnt/gentoo and your boot on /mnt/gentoo/boot.
and copy your new kernel to /mnt/gentoo/boot

That should solve yout problem.

_________________
Cheers

Dechah
Back to top
View user's profile Send private message
TUX2k
n00b
n00b


Joined: 16 May 2002
Posts: 62
Location: Purmerend, The Netherlands

PostPosted: Thu Jun 20, 2002 11:26 am    Post subject: Reply with quote

try
Code:
mount /dev/hd? /mnt/gentoo

(where hd? is your harddisk where your root / is onfor example hda1)
And then mount your /boot like:
Code:
mount /dev/hd? /mnt/gentoo/boot

(where hd? is your hardedisk where your boot is on )

good luck
Back to top
View user's profile Send private message
dechah
n00b
n00b


Joined: 18 Jun 2002
Posts: 37
Location: Melbourne

PostPosted: Thu Jun 20, 2002 11:37 am    Post subject: Reply with quote

Thanks again for taking the time to help
_________________
Cheers

Dechah
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 20, 2002 12:18 pm    Post subject: Reply with quote

Also, you may have to specify the file type:

Code:
mount -t ext2 /dev/hd? /mnt/gentoo
mount -t ext2 /dev/hd? /mnt/gentoo/boot


--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
dechah
n00b
n00b


Joined: 18 Jun 2002
Posts: 37
Location: Melbourne

PostPosted: Thu Jun 20, 2002 12:42 pm    Post subject: Reply with quote

Thanks Klieber, unfortuantely it didn't work

My HDD is partitioned thusly:

/dev/hda1 ext2 boot 100MB
/dev/hda2 swap swap 512MB
/dev/hda3 ext3 root 12GB

I booted from the Gentoo 1.2 Network Install CD and got to the # prompt

I typed "mount -t ext3 /dev/hda3 /mnt/gentoo" which resulted in the error message"

mount:Mounting /dev/hda3 on /mnt/gentoo failed: no such file or directory

I get the same message when I type"mount -t ext2 /dev/hda1 /mnt/gentoo/boot"

Any other suggestions, or am I looking at a really long re-install?


klieber wrote:
Also, you may have to specify the file type:

Code:
mount -t ext2 /dev/hd? /mnt/gentoo
mount -t ext2 /dev/hd? /mnt/gentoo/boot


--kurt

_________________
Cheers

Dechah
Back to top
View user's profile Send private message
TUX2k
n00b
n00b


Joined: 16 May 2002
Posts: 62
Location: Purmerend, The Netherlands

PostPosted: Thu Jun 20, 2002 1:30 pm    Post subject: Reply with quote

I could also meen that the gentoo dir does not exciste so you may want to try :

Code:
mkdir /mnt/gentoo


and if you get the same problem with the boot than type:

Code:
mkdir /mnt/gentoo/boot
Back to top
View user's profile Send private message
dechah
n00b
n00b


Joined: 18 Jun 2002
Posts: 37
Location: Melbourne

PostPosted: Thu Jun 20, 2002 2:57 pm    Post subject: Reply with quote

That did it, all fixed, thanks everyone for the help


TUX2k wrote:
I could also meen that the gentoo dir does not exciste so you may want to try :

Code:
mkdir /mnt/gentoo


and if you get the same problem with the boot than type:

Code:
mkdir /mnt/gentoo/boot

_________________
Cheers

Dechah
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 20, 2002 3:10 pm    Post subject: Reply with quote

If you're not using this already, I highly recommend the install guide. It will walk you through, step by step, installing gentoo.

BTW, this file is also available on the install CD -- just open up a new console (alt-f2) and type 'less /install.txt'

--kurt
_________________
The problem with political jokes is that they get elected
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