I need to begin this guide with one
notice and two warnings.
First and foremost, Fatdog64 runs best in frugal install mode, because that is what it is designed for.
Second, Fatdog64 officially does not support full install. If you have problem you are most likely on your own.
Third, Fatdog64 is not designed to
support full install. Certain advertised features of
Fatdog64 depends on its layered filesystem and will not work
when you are running Fatdog64 in full-install mode. They will
simply do nothing.
If this does not convince you not to run
in full install, then nothing will; and in that case may this
guide be of help to you in your quest to make Fatdog64 run in
full install mode.
But before you do anything, please read
this guide until its completion and ensure
yourself that you understand what it means and
understand what every
step does. Don't just follow blindly. These steps contain
dangerous data-destroying commands that can easily wipe out
your data - even in unrelated places.
YOU HAVE BEEN
WARNED. CONTINUE AT YOUR OWN RISK.
There are two full-install possibilities: Layered
Full Install and True Full Install.
1. In Layered Full Install, the
stackable filesystem is still active and working.
You still get many of its benefits (with caveats).
2. In True Full Install, the
stackable filesystem is not used at all.
In this mode Fatdog runs like any standard Linux distributions
(with its associated headaches).
To simplify matters, in this guide I will first show to get
Layered Full Install working, and then used that as a
base to go with True Full Install.
One last comment before we go: The guide assumes you already
have a working bootloader (grub, grub4dos, extlinux, rEFInd,
etc) and you know how to configure them to add new OS
installs.
1. This guide will not provide details of the bootloader installation or configuration steps; there are plenty of other guides and tutorials for those. If you don't know how to do this then STOP AND DO NOT READ ANY FURTHER. For the rest of this guide, I will use grub4dos as an example but the principle is the same and the instructions should be adaptable to other boot loaders.
2. The guide assumes you are currently running Fatdog in LiveCD mode.
3. You will perform standard
installation. That means, one kernel file (vmlinuz) and
one initrd file. No small initrd, or other variations.
1. Create and format the partition where
you want to install Fatdog to.
For the sake of illustration, I will
assume we're going to install to /dev/sda2.
You should replace this with your own where you want to
install. You should replace
reference to /dev/sda2 and its mountpoint (/mnt/sda2) to the
partition and mountpoint of your choosing.
If you don't know understand what this
means or you don't know how to create a new partition - STOP
AND DO NOT READ ANY FURTHER.
I will also assume that this partition /dev/sda2
is empty. If yours is not empty, please delete all the other
files and directories there. Also, for obvious reasons, this
partition must be a Linux-compatible partition (ext2, ext3,
ext4, or xfs, etc). We recommend to use a self-healing
filesystem (filesystem with a journal, such as ext3 or ext4).
2. Use the Fatdog Installer to install
Fatdog to the target partition /dev/sda2.
3. Once installed, from with Fatdog desktop, click the sda2
drive icon. Rox will launch and shows a lone boot folder, which contains the vmlinuz and initrd
that has just been installed. In addition /dev/sda2 is
now also mounted at /mnt/sda2.
4. Click that boot folder to go
inside, and then click initrd. It will
open and extract the contents of initrd to a temporary
location. Please notice among the many files, there will be a
file called fd64.sfs.
5. Switching to the Rox folder that contains the initrd's contents, open a terminal with
the current directory set to the folder shown by Rox (step:
right-click, then choose "Window", then choose "Terminal
here").
6. In the terminal, type the following:
unsquashfs -f -d /mnt/sda2 fd64.sfs
Remember to replace /mnt/sda2 with the actual partition mountpoint that you use.
7. When the process is done, close the
terminal. Then go back to the folder that contains expanded initrd's content.
8. Delete that fd64.sfs. Then click repack-initrd.
9. The installation is now practically done. Next, you just
need to instruct your bootloader to boot Fatdog. The following
is an example for grub4dos menu.lst:
title fatdog layered full install root (hd0,1) kernel /boot/vmlinuz savefile=direct:device:sda2:/ basesfs=none initrd /boot/initrd
direct:device:sda2:/
to ram:device:sda2:/
, you will be running
full-install with the RAM layer and you will get the ability to
choose whether or not to save changes made during the session.
The details on how to configure this is discussed elsewhere.unsquashfs -f -d / kernel-modules.sfs
cp -a kernel /
# proc /proc proc defaults 0 0 # mounted by /init # sysfs /sys sysfs defaults 0 0 # mounted by /init
proc /proc proc defaults 0 0 # mounted by /init sysfs /sys sysfs defaults 0 0 # mounted by /init
NOT_USING_AUFS=true AUFS_ROOT=/aufs SAVEFILE_MOUNT=/
title fatdog true full install root (hd0,1) kernel /boot/vmlinuz root=/dev/sda2 rw rootwait