Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Partition question
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
wkl_lau
n00b
n00b


Joined: 02 May 2004
Posts: 3

PostPosted: Sun May 02, 2004 9:14 am    Post subject: Partition question Reply with quote

Hi I am new to gentoo, and its installation routine does not seems to include partitoning. I mean, like setting /dev/hda6 as /home, /dev/hda7 as /var..... I came from a redhat/suse background and those distro always has such setting during install. I know somehow I have to play around with fstab, but when? The handbook does say mount /dev/hda6 (my /) /mnt/gentoo, but what does that mean? Does it mean /mnt/gentoo has all the files for / ?

any help is appeciated


"If yo can't fix it, it ain't broken"
Back to top
View user's profile Send private message
SlicerDicer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2003
Posts: 105
Location: Swirling in the Dunny, and please remember close the seat.

PostPosted: Sun May 02, 2004 9:20 am    Post subject: Re: Partition question Reply with quote

wkl_lau wrote:
Hi I am new to gentoo, and its installation routine does not seems to include partitoning. I mean, like setting /dev/hda6 as /home, /dev/hda7 as /var..... I came from a redhat/suse background and those distro always has such setting during install. I know somehow I have to play around with fstab, but when? The handbook does say mount /dev/hda6 (my /) /mnt/gentoo, but what does that mean? Does it mean /mnt/gentoo has all the files for / ?

any help is appeciated


"If yo can't fix it, it ain't broken"


Yes /mnt/gentoo is your /
Back to top
View user's profile Send private message
wkl_lau
n00b
n00b


Joined: 02 May 2004
Posts: 3

PostPosted: Sun May 02, 2004 9:23 am    Post subject: Reply with quote

But when should I set the rest of my partition?

This is my setup:
/dev/hda1 /boot
/dev/hda5 swap
/dev/hda6 /
/dev/hda7 /usr
/dev/hda8 /opt
/dev/hda9 /tmp
/dev/hda10 /var

When should I do this?

Thx V much
Back to top
View user's profile Send private message
SlicerDicer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2003
Posts: 105
Location: Swirling in the Dunny, and please remember close the seat.

PostPosted: Sun May 02, 2004 9:36 am    Post subject: Reply with quote

wkl_lau wrote:
But when should I set the rest of my partition?

This is my setup:
/dev/hda1 /boot
/dev/hda5 swap
/dev/hda6 /
/dev/hda7 /usr
/dev/hda8 /opt
/dev/hda9 /tmp
/dev/hda10 /var

When should I do this?

Thx V much


bro I am not the best person to consult on partitions I am in irc.freenode.net /join #gentoo if you want to ask me I can try my best. Its 230 am as well hehe not in top form :)
_________________
Cheers, SlicerDicer

Life isn't like a box of chocolates. It's more like a jar of jalapenos. What you do today, might burn your ass tomorrow. I mean... just look at them! Walking meat-bags, I tell you!
Back to top
View user's profile Send private message
Derklopfer2k
n00b
n00b


Joined: 17 Apr 2004
Posts: 26

PostPosted: Sun May 02, 2004 9:51 am    Post subject: Reply with quote

After booting from the LiveCD /mnt/gentoo is your location for your / after installation.

In ordert to set your individual layout, the first thing you must do is to mount your / (/dev/hda6) at /mnt/gentoo. If you don't do this, your /dev/hda6 will remain empty after installation.

Also, first step: mount /dev/hda6 /mnt/gentoo

Then you must create the dir layout coresponding to your partitions except for swap:

mkdir /mnt/gentoo/boot
mkdir /mnt/gentoo/tmp
...
...
and so on, till you have for each partition an coresponding directory.

Than chmod 1777 for each dir you created.

After that you mount every partiton to his dir:

mount /dev/hda1 /mnt/gentoo/boot
mount /dev/hda9 /mnt/gentoo/tmp
...
...
and so on till you have mount each partition you need for installation (handbook chapter 4.e. - and don't forget o create the filesystem befor mounting as describt in chapter 4.d.).

At this point the fstab is not relevant. You wil create your own fstab after chrooting to /mnt/gentoo as explaind in Chapter 8 of the handbook.
Back to top
View user's profile Send private message
wkl_lau
n00b
n00b


Joined: 02 May 2004
Posts: 3

PostPosted: Wed May 05, 2004 7:12 am    Post subject: Reply with quote

OK, but why chmod 1777 for each dir??

thx
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