注意:

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
Line 18: Line 18:
###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:


<!--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>
<noinclude>{{InstallNavigation|num=6|prev=Creating Filesystems|next=Setting the Date|align=right}}</noinclude>

Revision as of 22:42, October 1, 2019

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 >