Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Multiple Partition Mounting

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Shiner_Man
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Tue Mar 09, 2004 10:57 pm
Contact:
Contact Shiner_Man
Website

Multiple Partition Mounting

  • Quote

Post by Shiner_Man » Wed Jul 27, 2005 8:26 pm

I've done this a bunch of times but I don't know what went wrong here. I'm setting up a test server at my house and I created multiple partitions as follows:

Code: Select all

/dev/hda1 /boot
/dev/hda2 /swap
/dev/hda3 /
/dev/hda5 /tmp
/dev/hda6 /var
/dev/hda7 /opt
/dev/hda8 /home
They all have the approprate filesystems on them as well. Then I did:

Code: Select all

# swapon /dev/hda2
# mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot
Now if I remember correctly I need to create the directories for the other partitions and mount them as follows:

Code: Select all

# mkdir /mnt/gentoo/tmp
# mount /dev/hda5 /mnt/gentoo/tmp
# mkdir /mnt/gentoo/var
# mount /dev/hda6 /mnt/gentoo/var
# mkdir /mnt/gentoo/opt
# mount /dev/hda7 /mnt/gentoo/opt
# mkdir /mnt/gentoo/home
# mount /dev/hda8 /mnt/gentoo/home
and also do the following for /tmp:

Code: Select all

chmod 1777 /mnt/gentoo/tmp
Is this the right way to do it? From here I should just be able to extract the tarball, chroot in and go shouldn't I?

Also, what is a reasonable size for the /tmp partition? This has been asked before but I've never seen anybody make a definitive answer.
My Site
Top
keyson
l33t
l33t
Posts: 830
Joined: Tue Jun 10, 2003 12:36 pm
Location: Sweden

  • Quote

Post by keyson » Wed Jul 27, 2005 9:12 pm

Hi.

Looks ok to me. FYI my /tmp contains 45M on a system that i used for about 3 years.
Maybe you can get some more to do

Code: Select all

du -sh /tmp
To get an good estimation for the tmp.
Top
Shiner_Man
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Tue Mar 09, 2004 10:57 pm
Contact:
Contact Shiner_Man
Website

  • Quote

Post by Shiner_Man » Thu Jul 28, 2005 1:07 am

Yeah I thought I did it right. It turns out the problem was devfs but thats another story.

Anyway, I can see that my /tmp directory on this server that I've had running for a long time is only up to 38M. I still wonder though what a recommended size is and I've yet to find any "official" stance on this from the devs or any other linux distribution.
My Site
Top
Post Reply

3 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic