注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Install/Mounting Filesystems"

From Funtoo
Jump to navigation Jump to search
(Marked this version for translation)
 
(8 intermediate revisions by 4 users not shown)
Line 2: Line 2:
<includeonly>
<includeonly>
== Mounting Filesystems == <!--T:1-->
== Mounting Filesystems == <!--T:1-->
</includeonly><noinclude>
</includeonly><noinclude><languages/>
= Install Guide: Mounting Filesystems =
= Install Guide: Mounting Filesystems =


Line 13: Line 13:
<!--T:3-->
<!--T:3-->
{{console|body=
{{console|body=
###i## mkdir /mnt/funtoo
###i## mkdir -p /mnt/funtoo
###i## mount /dev/sda3 /mnt/funtoo
###i## mount /dev/sda3 /mnt/funtoo
###i## mkdir /mnt/funtoo/boot
###i## mkdir /mnt/funtoo/boot
###i## mount /dev/sda1 /mnt/funtoo/boot
###i## mount /dev/sda1 /mnt/funtoo/boot
}}
}}
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-->
<!--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
}}
}}
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:
{{console|body=###i## chmod 1777 /mnt/funtoo/tmp}}
</translate>
</translate>
<noinclude>{{InstallNavigation|num=6|prev=Creating Filesystems|next=Setting the Date|align=right}}</noinclude>

Latest revision as of 19:31, December 4, 2022

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 -p /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 >