Custom Distribution
From LinodeWiki
Guide to building a custom Linux image to install on your Linode:
- First, you need to create the /dev/ubd nodes. Run this script after cd'ing into /dev: http://www.theshore.net/~caker/uml/makeUBDdev.sh
- Edit /etc/fstab to point to /dev/ubda for root, and /dev/ubdb for swap.
- Set up tty0 for console login:
- If using a sysvinit Linux (most of them except recent versions of Ubuntu and derivatives) edit /etc/inittab and start a getty on tty0. Comment out the other getty lines.
- If using versions of Ubuntu with upstart init, that is, Ubuntu 6.10 and later, set up /etc/event.d/tty0 to start a getty on tty0. Check Console login on Ubuntu for details.
- Add tty0 to /etc/securetty.
