View previous topic :: View next topic |
Author |
Message |
wkl_lau n00b
Joined: 02 May 2004 Posts: 3
|
Posted: Sun May 02, 2004 9:14 am Post subject: Partition question |
|
|
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 |
|
|
SlicerDicer Tux's lil' helper
Joined: 18 Nov 2003 Posts: 105 Location: Swirling in the Dunny, and please remember close the seat.
|
Posted: Sun May 02, 2004 9:20 am Post subject: Re: Partition question |
|
|
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 |
|
|
wkl_lau n00b
Joined: 02 May 2004 Posts: 3
|
Posted: Sun May 02, 2004 9:23 am Post subject: |
|
|
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 |
|
|
SlicerDicer Tux's lil' helper
Joined: 18 Nov 2003 Posts: 105 Location: Swirling in the Dunny, and please remember close the seat.
|
Posted: Sun May 02, 2004 9:36 am Post subject: |
|
|
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 |
|
|
Derklopfer2k n00b
Joined: 17 Apr 2004 Posts: 26
|
Posted: Sun May 02, 2004 9:51 am Post subject: |
|
|
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 |
|
|
wkl_lau n00b
Joined: 02 May 2004 Posts: 3
|
Posted: Wed May 05, 2004 7:12 am Post subject: |
|
|
OK, but why chmod 1777 for each dir??
thx |
|
Back to top |
|
|
|