2.b - Installing DSL to the Hard Disk

1) Boot up the DSL livecd. If your computer does not support booting from CDROM drive, then download the boot floppy image from the DSL website and get the RAWRITE32.exe program and create a boot floppy disk. Then use the boot floppy + liveCD to start up DSL.

2) Open up an xterminal window and type:


sudo su
cfdisk /dev/hda


Assuming that you are ready to blow away all of your existing data storage
(you might want to back up any special drivers and other important stuff in
case you want to re-install the original OS), create 2 new partitions:

hda1 Linux Swap Type 82 Size (at least 128mb)
hda2 Linux Type 83 Size (the rest of the disk space, I reccommend at least 2gb)
If your hard disk is really big, try leaving some unpartitioned space for future use.

Your DSL installation will go to partition hda2
Your DSL swap partition will be hda1

Type type:

mkswap /dev/hda1
swapon /dev/hda1

Then follow the hd install script as described in the forums. FAQ is at http://www.damnsmalllinux.org/dsl-hd-install.html .

So you type:


and then:


and follow the instructions EXACTLY. In other words, if it tells you to type (for example) "hda1" then you type in "hda1". But if it tells you to type in "/dev/hda1" then you type in "/dev/hda1"

Good Luck.

(Thanks to cbagger01)