Boot from harddisk

With the procedure described above, we saw that simply moving a directory in the root of a partition we can boot from CD and run from harddisk. Ok, what about getting rid of the CD? Well in fact i hope you give it to somebody else, please don't waste all that silicium! ;)

Anyway, here we go with some instructions - but you gotta be hacking a bit eh! also browse the dyne:bolic mailinglist archives and eventually ask there or your closest UNIX Guru for help in understanding.

What you have to do is to install a bootloader (Lilo or Grub) on in a NON-windoz partition on your computer. If you allready have a GNU/Linux system installed then you have that. To have a list of your partitions, type as root >fdisk -l in a XTERM.

In case you have installed lilo, you can add the following runes to the end of your /etc/lilo.conf file:


image = /dyne/linux
  root = /dev/ram0
  initrd = /dyne/initrd.gz
  label = dyne:bolic
  append = "hdd=ide-scsi"
  read-write
  vga = 788
Being sure that the /dyne directory is inside the partition you boot, which in lilo is configured by the boot = /dev/hd* usually at the beginning of the lilo.conf file.

In case you have grub you should use the following runes in your /boot/grub/grub.conf file (replacing partition numbers with your actual ones, see man grub)


title dyne:bolic GNU/Linux - RASTASOFT
root (hd0,1) # it is hda2, hda1 is (hd0,0)
kernel /dyne/linux root=/dev/ram0 rw load_ramdisk=1 \
       prompt_ramdisk=0 ramdisk_start=0 vga=788
initrd /dyne/initrd.gz

If you are online and yoy need to install a couple of computers, like in a media center, you can do it quickly so:


# lynx -dump dynebolic.org/lilo.conf >> /etc/lilo.conf

 or

# lynx -dump dynebolic.org/grub.conf >> /boot/grub/grub.conf
don't forget to customize the configuration files to fit your needs!

Happy hacking ;)