How To Install A Debian Based Distro On An EasySpeedy Server - Page 2
Install And Configure locales And console-data
aptitude install locales
dpkg-reconfigure locales
aptitude install console-data
dpkg-reconfigure console-data
Installing A Kernel And Grub
First, create /etc/kernel-img.conf file with nano and save it with the contents inside the following box.
nano /etc/kernel-img.conf
# Kernel image management overrides # See kernel-img.conf(5) for details do_symlinks = yes relative_links = yes do_bootloader = no do_bootfloppy = no do_initrd = yes link_in_boot = no
aptitude search linux-image
aptitude install linux-image-2.6.18-4-k7
Now it's time to install Grub. It's easy, don't worry!
cp /proc/mounts /etc/mtab
aptitude install grub
grub-install /dev/sda
update-grub
Now you'll have to add to more lines to /etc/kernel-img.conf.
This will ensure that /boot/grub/menu.lst is updated when you upgrade or delete a Debian kernel. You must do this, or you may have problems in the future.
nano /etc/kernel-img.conf
postinst_hook = update-grub postrm_hook = update-grub
The final /etc/kernel-img.conf should look like this:
# Kernel image management overrides # See kernel-img.conf(5) for details do_symlinks = yes relative_links = yes do_bootloader = no do_bootfloppy = no do_initrd = yes link_in_boot = no postinst_hook = update-grub postrm_hook = update-grub
Making Your Installation More Mature
This is an optional step, but it is recommended that you install standard priority packages. You can do so with tasksel. This occurs in a standard new Etch install, too.
tasksel install standard
Installing An SSH Server For Your New System
Remember that you are in a chroot environment. Although you have an open ssh session, an ssh server does not exist yet on your Debian Etch. You must install the openssh-server package.
aptitude install openssh-server
Create An Unprivileged User And Set The root Password
At this point you don't have users on the system. Root is there, but it has no password set. To resolve this issue, you must add an unprivileged user account and set the root password. Change 'user' with whatever username you like.
adduser user
passwd root
The Installation Has Finished
Exit the chroot environment.
exit
Now reboot the system to your new Debian Etch!
shutdown -r now