Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mount: Mount point /mnt/gentoo/var does not exist
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
Wackie
n00b
n00b


Joined: 07 Oct 2002
Posts: 25

PostPosted: Thu Dec 05, 2002 9:34 am    Post subject: Mount: Mount point /mnt/gentoo/var does not exist Reply with quote

Here's the setup:

/dev/hda: 120gb Maxtor (running WinXP Pro at NTFS)
/dev/hdb: 20gb Maxtor

partition setup of /dev/hdb (according to cfdisk):

between the '( )''s are the future mount points
Code:

hdb1   Boot   Primary  Linux ext3   49.36          (/boot)
hdb2             Primary  Linux swap  1497.01      (swapspace)
hdb5             Logical    Linux ext3   1497.01     (/)
hdb6             Logical    Linux ext3    748.51      (/var)
hdb7             Logical    Linux ext3    246.76      (/tmp)
hdb8             Logical    Linux ext3    748.51      (/home)
hdb9             Logical    Linux ext3    10001.95   (/usr)
FREE SPACE     5700.12


to initialize /dev/hdb1 i used dd:
Code:

dd if=/dev/zero of=/dev/hdb1 bs=1024 count=1024


which goes well

almost forgot, setting ext3 as filesystem:
Code:

mke2fs -j /dev/hdb1
mke2fs -j /dev/hdb5
mke2fs -j /dev/hdb6
mke2fs -j /dev/hdb7
mke2fs -j /dev/hdb8
mke2fs -j /dev/hdb9


no errors so far.

then I set up and initialize the swap space:
Code:

mkswap /dev/hdb2
swapon /dev/hdb2


no problems so far

then creating all the mount point:
Code:

mkdir /mnt/gentoo
mkdir /mnt/gentoo/boot
mkdir /mnt/gentoo/var
mkdir /mnt/gentoo/tmp
mkdir /mnt/gentoo/home
mkdir /mnt/gentoo/usr


nothing hard about that, ey?

and then where the problems start, assigning the dir's to the mount points:
Code:

mount /dev/hdb1 /mnt/gentoo/boot/
mount /dev/hdb5 /mnt/gentoo/


these 2 go well, but then:

Code:

mount /dev/hdb6 /mnt/gentoo/var
mount: mount point /mnt/gentoo/var does not exist


can anybody tell me what I did wrong?

NOTE: I did UTFS, couldn't find the same problem I just posted.
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Thu Dec 05, 2002 1:16 pm    Post subject: Reply with quote

you should first mount /dev/hdb5 into /mnt/gentoo
and THEN create the needed directories.

otherwise they will be created on the current disk and not on hdb5.
so after mounting hdb5 there won't be any directories in /mnt/gentoo

got me? 8O
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Thu Dec 05, 2002 1:40 pm    Post subject: Reply with quote

Code:

mkdir /mnt/gentoo
mount /dev/hdb5 /mnt/gentoo/
cd /mnt/gentoo
mkdir /mnt/gentoo
mkdir /mnt/gentoo/boot
mkdir /mnt/gentoo/var
mkdir /mnt/gentoo/tmp
mkdir /mnt/gentoo/home
mkdir /mnt/gentoo/usr
mount /dev/hdb1 /mnt/gentoo/boot
mount /dev/hdb6 /mnt/gentoo/var
...

That's the correct order of doing things.
Back to top
View user's profile Send private message
nowhcreek
n00b
n00b


Joined: 15 Nov 2002
Posts: 12

PostPosted: Sun Dec 08, 2002 9:02 pm    Post subject: Reply with quote

zhenlin wrote:

Code:

mkdir /mnt/gentoo
mount /dev/hdb5 /mnt/gentoo/
cd /mnt/gentoo
mkdir /mnt/gentoo
mkdir /mnt/gentoo/boot
mkdir /mnt/gentoo/var
mkdir /mnt/gentoo/tmp
mkdir /mnt/gentoo/home
mkdir /mnt/gentoo/usr
mount /dev/hdb1 /mnt/gentoo/boot
mount /dev/hdb6 /mnt/gentoo/var
...


Should this be?
Code:

mkdir /mnt/gentoo
mount /dev/hdb5 /mnt/gentoo
cd /mnt/gentoo
mkdir /mnt/gentoo/
mkdir /mnt/gentoo/boot
mkdir /mnt/gentoo/var
mkdir /mnt/gentoo/tmp
mkdir /mnt/gentoo/home
mkdir /mnt/gentoo/usr
mount /dev/hdb1 /mnt/gentoo/boot
mount /dev/hdb6 /mnt/gentoo/var
...


I am not sure myself as gentoo will be my first linux install. However the situation above is exactly what I want to do so I am just making sure.
Thanks in advance.
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