unix:freebsd:system_builds:basic_freebsd_installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
unix:freebsd:system_builds:basic_freebsd_installation [2019/11/08 17:15] – [Post Installation File System Modifications] rodolico | unix:freebsd:system_builds:basic_freebsd_installation [2019/11/08 17:19] – rodolico | ||
---|---|---|---|
Line 47: | Line 47: | ||
Additionally, | Additionally, | ||
+ | |||
+ | - Make a backup copy of /etc/fstab | ||
+ | - create a 4G file to be used for swap space. modify size as necessary | ||
+ | - Create the entry in fstab for the swap space | ||
+ | - turn on swap | ||
+ | - create a tmpfs entry in fstab for /tmp | ||
+ | - move /var/tmp to point to /tmp | ||
+ | - activate /tmp. This could cause instability if something is being used, so reboot very soon | ||
<code bash> | <code bash> | ||
cp /etc/fstab / | cp /etc/fstab / | ||
- | # create a 4G file to be used for swap space. modify size as necessary | ||
dd if=/ | dd if=/ | ||
- | # Create the entry in fstab | ||
echo ' | echo ' | ||
- | # create | + | swapon -a |
echo ' | echo ' | ||
- | # move /var/tmp to point to /tmp | ||
rm -fR /var/tmp | rm -fR /var/tmp | ||
ln -s /tmp /var/tmp | ln -s /tmp /var/tmp | ||
- | # activate /tmp. This could cause instability if something is | ||
- | # being used, so reboot very soon | ||
rm -fR /tmp/* | rm -fR /tmp/* | ||
mount /tmp | mount /tmp | ||
mount | mount | ||
- | # Just to be on the safe side, reboot | ||
- | # might as well plug the rest of the drives in | ||
- | # if you removed them as we normally do, then | ||
reboot | reboot | ||
</ | </ |
unix/freebsd/system_builds/basic_freebsd_installation.txt · Last modified: 2019/12/03 15:35 by rodolico