Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question on mount and fstab
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
Barracuz
n00b
n00b


Joined: 17 Mar 2015
Posts: 17
Location: R.I., United States

PostPosted: Thu May 14, 2015 4:53 am    Post subject: Question on mount and fstab Reply with quote

Ok so I made my partitions. And I'm ready for the mounting. Here's a link to my screen (can't get the browser to open on the sysrescue CD.)
http://i.imgur.com/IvdKsRd.jpg
http://i.imgur.com/DrQb1in.jpg

In the handbook it says to mount all newly created partitions and it's directories.
Code:

root #mkdir /mnt/gentoo/boot
root #mount /dev/sda2 /mnt/gentoo/boot


For all 5 partitions (grub,boot,swap,root,home) do I use both codes? Or do I only have to mount the root and boot partitions?

Also when I quit the parted tool, I got a info message "You may need to update etc/fstab". I opened the etc/fstab with nano but it was empty. How do I update it or is it automatically updated during install?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Thu May 14, 2015 5:08 am    Post subject: Reply with quote

Welcome to Gentoo!

You need to mount every partition you created, home being the possible exception. If you follow the handbook you won't do anything to home but better safe than sorry.

Your commands 101:

mkdir stands for make directory. Partitions must be mounted with an access point in the filesystem, namely a directory.

mount takes two arguments. The first is the identifier for what you want to mount and and the second is where you want to access it.

You will need to mount root, boot, and probably home. Swap and grub are special partitions that are handled differently, so just follow the handbook.

Write down your partition scheme. You will need it latter when you update /etc/fstab. Right now, you where looking at the CD's fstab which is irrelevant to you.

I recommend you make friends with the man pages and follow the handbook exactly the first time through. It tells you exactly what to do so you shouldn't have to guess. You should probably read it all the way through before proceeding. The ambiguities of "you may need to do X and Y" means that some people might choose to do something different. You don't need to worry about that until you know what you are doing. Guessing with root access can lead to very embarrassing data loss.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Barracuz
n00b
n00b


Joined: 17 Mar 2015
Posts: 17
Location: R.I., United States

PostPosted: Thu May 14, 2015 10:28 am    Post subject: Reply with quote

Thank you doc. That was very helpful. So basically I just follow this for each partition and I should be set.
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