Difference between revisions of "Install/Mounting Filesystems"

From Funtoo
Jump to navigation Jump to search
(Created page with "==== Mounting filesystems ==== Mount the newly-created filesystems as follows, creating {{c|/mnt/funtoo}} as the installation mount point: {{console|body= ###i## mkdir /mnt...")
 
m (an uneven amount of parenthesis)
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==== Mounting filesystems ====  
<translate>
<includeonly>
== Mounting Filesystems == <!--T:1-->
</includeonly><noinclude><languages/>
= Install Guide: Mounting Filesystems =


<!--T:2-->
{{InstallNavigation|num=6|prev=Creating Filesystems|next=Setting the Date}}</noinclude>
<!--T:5-->
Mount the newly-created filesystems as follows, creating {{c|/mnt/funtoo}} as the installation mount point:
Mount the newly-created filesystems as follows, creating {{c|/mnt/funtoo}} as the installation mount point:


<!--T:3-->
{{console|body=
{{console|body=
###i## mkdir /mnt/funtoo
###i## mkdir /mnt/funtoo
Line 10: Line 19:
}}
}}


Optionally, if you have a separate filesystem for {{f|/home}} or anything else, you can choose to create these filesystems now. Note that if you are wanting to use [[ZFS]] or [[BTRFS]] to create general storage for files that do not hold operating system files, then this is best to do later after Funtoo Linux is installed.
<!--T:6-->
If you have any additional filesystems you created earlier (such as {{c|/home}} or {{c|/var}}), you should mount them now, so that when the stage3 is extracted (which we will do in a later step) these filesystems will get populated with the necessary files. This can be done as follows:


<!--T:4-->
{{console|body=
{{console|body=
###i## mkdir /mnt/funtoo/home
###i## mkdir /mnt/funtoo/var
###i## mount /dev/sda4 /mnt/funtoo/home
###i## mount /dev/sdb1 /mnt/funtoo/var
}}
}}
 
</translate>
If you have {{f|/tmp}} or {{f|/var/tmp}} on a separate filesystem, be sure to change the permissions of the mount point to be globally-writeable after mounting, as follows:
<noinclude>{{InstallNavigation|num=6|prev=Creating Filesystems|next=Setting the Date|align=right}}</noinclude>
{{console|body=###i## chmod 1777 /mnt/funtoo/tmp}}

Revision as of 08:16, July 5, 2020

Other languages:
English • ‎español • ‎polski • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎

Install Guide: Mounting Filesystems

Install Guide, Chapter 6 < Prev Next >

Mount the newly-created filesystems as follows, creating /mnt/funtoo as the installation mount point:

root # mkdir /mnt/funtoo
root # mount /dev/sda3 /mnt/funtoo
root # mkdir /mnt/funtoo/boot
root # mount /dev/sda1 /mnt/funtoo/boot

If you have any additional filesystems you created earlier (such as /home or /var), you should mount them now, so that when the stage3 is extracted (which we will do in a later step) these filesystems will get populated with the necessary files. This can be done as follows:

root # mkdir /mnt/funtoo/var
root # mount /dev/sdb1 /mnt/funtoo/var
Install Guide, Chapter 6 < Prev Next >