注意:

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

Difference between revisions of "Install/Mounting Filesystems/en"

From Funtoo
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
== Mounting Filesystems ==
== Mounting Filesystems ==
</includeonly><noinclude>
</includeonly><noinclude><languages/>
= Install Guide: Mounting Filesystems =
= Install Guide: Mounting Filesystems =


Line 14: Line 14:
###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.
 
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:


{{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:
<noinclude>{{InstallNavigation|num=6|prev=Creating Filesystems|next=Setting the Date|align=right}}</noinclude>
{{console|body=###i## chmod 1777 /mnt/funtoo/tmp}}

Latest revision as of 18:27, September 9, 2020

Other languages:

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 >