Installation Guide/Mount the partitions

From ParabolaWiki
Jump to: navigation, search
Note: In the commands below, replace each /dev/<DEV_PART_N> with the device+partition paths of the corresponding partitions (eg: /dev/mmcblk0p2 for the second partition of a 'native' SD reader, /dev/sdb2 for the second partition of a 'usb mass storage' device). As with the previous partitioning/formatting steps, you will want to be extremely mindful of correctness.

Next, you must mount the target partitions. This guide uses /mnt as the mount-point of the root ('/') filesystem.

# mount /dev/<DEV_PART_2> /mnt         # root ('/') filesystem (eg: /dev/mmcblk0p2)

You should also create directories as mount-points for, and mount onto them, any optional partitions which you created in the "Partition disks" and "Format the partitions" sections (eg: /mnt/boot, /mnt/home, ...). The /home and swap partitions are not essential in this step; but if you created them, and you want them to be auto-mounted when the new system boots, you should mount them now also. eg:

# mkdir /mnt/boot
# mount /dev/<DEV_PART_1> /mnt/boot    # boot ('/boot') filesystem (eg: /dev/mmcblk0p1)
# mkdir /mnt/home
# mount /dev/<DEV_PART_3> /mnt/home    # boot ('/home') filesystem (eg: /dev/mmcblk0p3)
# swapon /dev/<DEV_PART_4>             # swap filesystem (eg: /dev/mmcblk0p4)