Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't Make /mnt/gentoo/boot
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
Greven
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 138

PostPosted: Sat Sep 21, 2002 2:39 am    Post subject: Can't Make /mnt/gentoo/boot Reply with quote

I'm using Gentoo 1.4 rc1 and I can't make the boot dir. Help?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16712

PostPosted: Sat Sep 21, 2002 2:54 am    Post subject: Reply with quote

What is the error message?
_________________
Ladies and gentlemen, allow me to present, Man Not Caring. -- Perry Cox
Back to top
View user's profile Send private message
Greven
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 138

PostPosted: Sat Sep 21, 2002 3:36 am    Post subject: Reply with quote

May sound dumb, but here goes...

Code:

mkdir: Cannot creat directory '/mnt/gentoo/boot': No such file or Directory



????
Back to top
View user's profile Send private message
rajendra82
n00b
n00b


Joined: 04 Aug 2002
Posts: 46

PostPosted: Sat Sep 21, 2002 3:42 am    Post subject: Here is a thought Reply with quote

do the directories /mnt or /mnt/gentoo exist. You need them present in order to make directory /mnt/gentoo/boot.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 21, 2002 4:03 am    Post subject: Reply with quote

...
You probably did not have /mnt/gentoo before issuing this command. Create it and mount the root partition before mkdir'ing boot (and mounting the boot partition, if necessary).

[EDIT]Fixed up incorrect suggestion[/EDIT]


Last edited by Naan Yaar on Sat Sep 21, 2002 4:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 2:46 pm    Post subject: Reply with quote

Naan Yaar wrote:
You can also try doing:
Code:

mkdir -p /mnt/gentoo/boot

BAD IDEA unless he doesnt use a boot partition at all. he sould do:
Code:
mkdir /mnt/gentoo
mount /dev/hdXn /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/hdXn /mnt/gentoo/boot

(where /dev/hdXn is to be replaced with the correct drive/partition) just as stated in the installation manual. rtfm - Codelisting 17.
_________________
A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970)
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 21, 2002 4:00 pm    Post subject: Reply with quote

Actually, it would be a bad idea even if boot is on the same partition as root. Since /mnt/gentoo does not seem to exist, doing mkdir /mnt/gentoo/boot won't do any good until after he mounts something to /mnt/gentoo, since it will be "masked" by the mount if done prior to it.

Thanks for pointing this out. I'll fix up the original post.
rojaro wrote:
...
BAD IDEA unless he doesnt use a boot partition at all. he sould do:...
Back to top
View user's profile Send private message
Greven
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 138

PostPosted: Sat Sep 21, 2002 5:55 pm    Post subject: Reply with quote

After I make and mnt /mnt/gentoo.... I then get
Code:

mkdir: Cannot make directory '/mnt/gentoo/boot': Read only file system


?????
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 21, 2002 6:43 pm    Post subject: Reply with quote

What are you mounting at /mnt/gentoo and how? Can you list your steps here and the output of "fdisk -l /dev/hdx" where "x" is the partition you are going to put gentoo on (a,b,c,d,...)
Greven wrote:
After I make and mnt /mnt/gentoo.... I then get
Code:

mkdir: Cannot make directory '/mnt/gentoo/boot': Read only file system


?????
Back to top
View user's profile Send private message
Greven
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 138

PostPosted: Sat Sep 21, 2002 7:04 pm    Post subject: Reply with quote

I'm doing this....

Code:

mkdir /mnt/gentoo
mount /dev/hdc3 /mnt/gentoo
mkdir /mnt/getnoo/boot [error message]


brb I will boot into gentoo...
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 21, 2002 8:18 pm    Post subject: Reply with quote

What does "cat /etc/mtab" say after you do the mount step? Did you format /dev/hdc3 correctly?
Greven wrote:
I'm doing this....
Code:

...
mount /dev/hdc3 /mnt/gentoo
...

brb I will boot into gentoo...
Back to top
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 8:47 pm    Post subject: Reply with quote

does /dev/hdc3 have a filesystem???
_________________
A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970)
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 21, 2002 8:55 pm    Post subject: Reply with quote

Also, try mounting explicitly with an fs type option, like so:
Code:

mount -t ext3 /dev/hdc3 /mnt/gentoo

assuming that you have formatted a filesystem using mkfs.*/mke2fs, etc. in /dev/hdc3 correctly.
Naan Yaar wrote:
What does "cat /etc/mtab" say after you do the mount step? Did you format /dev/hdc3 correctly?
Greven wrote:
I'm doing this....
Code:

...
mount /dev/hdc3 /mnt/gentoo
...

brb I will boot into gentoo...
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