\clearpage\section{Labs}\begin{Lab}

   \ifINSTRUCTORLED
      \begin{videobox}
         \begin{alltt}
    \reslink{using_fdisk_demo.mp4} \end{alltt}
      \end{videobox}
   \fi

   \setcounter{labno}{-1}
   \begin{exe} {Using Loop Back Devices to Emulate Partitions}

      \begin{lfbox}
         The exercises in this section will make simple use of
         \textbf{mkfs} for formatting filesystems, and
         \textbf{mount} for mounting them at places in the root
         filesystem tree.  These commands will be explained in
         detail in the next session.

         In the first three exercises in this section, we will use
         the \textbf{loop device} mechanism with or without the
         \textbf{parted} program.
      \end{lfbox}


      \begin{important}

         For the purposes of later exercises in this course you will
         need unpartitioned disk space.  It need not be large,
         certainly one or two GB will suffice.

         If you are using your own native machine, you either have
         it or you do not.  If you do not, you will have shrink a
         partition and the filesystem on it (first!) and then make
         it available, using \textbf{gparted} and/or the steps we
         have outlined or will outline.
      \end{important}

      \begin{info}
         If you have real physical unpartitioned disk space you do
         not \textbf{need} to do the following procedures, but it is
         still a very useful learning exercise.
      \end{info}

   \end{exe}

   \input{partitions1}
   \input{partitions2}
   \input{partitions3}
   \input{partitions4}
\end{Lab}

