# This is relevant only for stage 0 and 1.
LFS="/mnt/hvlinux"
#LFS_PARTITION="/dev/sdb7"
+
+# Partition where bootloader resides
#BOOT_PARTITION="/dev/sdb1"
+
#SWAP_PARTITION="/dev/sdb2"
# /tmp is now mounted with tmpfs.
EOF
if [ -n "${BOOT_PARTITION}" ]; then
- echo "${BOOT_PARTITION} /boot auto defaults 0 0" >> ${LFS}/etc/fstab
+ install -v -m755 -d ${LFS}/mnt/boot
+ echo "${BOOT_PARTITION} /mnt/boot auto defaults 0 0" >> ${LFS}/etc/fstab
fi
if [ -n "${SWAP_PARTITION}" ]; then
echo "${SWAP_PARTITION} none swap sw 0 0" >> ${LFS}/etc/fstab