There is actually a easier way to do this. Pass this parameter while in your boot loader<p><pre><code> init=/usr/bin/emacs-nox
</code></pre>
This will fire up emacs instead of init once the kernel is done booting up. You also need mount, but you can run that within emacs.