DSL 4.11.rc2 installation

DSL screen shot

Linux kernel 2.4.31

Damn Small Linux installation

Method II: Current ISO + Syslinux

The iso file I used.

-rw-r--r-- 1 penguin penguin 51M Sep 15 05:58 dsl-4.11.rc2.iso

Remove the MBR on the usb stick (/dev/sdb).

$ sudo dd if=/dev/zero of=/dev/sdb bs=446 count=1
1+0 records in
1+0 records out
446 bytes (446 B) copied, 0.00500277 s, 89.2 kB/s

Copy mbr.bin to the usb drive.

$ locate mbr.bin

/usr/lib/SYSLINUX/altmbr.bin
/usr/lib/SYSLINUX/gptmbr.bin
/usr/lib/SYSLINUX/mbr.bin
/usr/lib/syslinux/mbr/altmbr.bin
/usr/lib/syslinux/mbr/gptmbr.bin
/usr/lib/syslinux/mbr/mbr.bin
/utils/mbr/mbr.bin

penguin@theblue:~/Maintain/DSL$ ls -lh /utils/mbr/mbr.bin
-rw-r--r-- 1 root root 440 Oct 7 2014 /utils/mbr/mbr.bin
penguin@theblue:~/Maintain/DSL$ ls -lh /usr/lib/SYSLINUX/m*.bin
-rw-r--r-- 1 root root 440 Jan 7 2015 /usr/lib/SYSLINUX/mbr.bin

/home/penguin/Maintain/DSL# cat /usr/lib/SYSLINUX/mbr.bin > /dev/sdb

Mount iso image.

$ sudo mount dsl-4.11.rc2.iso ./iso/ -o loop
mount: block device /home/penguin/Maintain/DSL/dsl-4.11.rc2.iso is write-protected, mounting read-only

Copy all contents from ISO to USB drive.


root@theblue:/home/penguin/Maintain/DSL# cp -vr ./iso/* /media/usb
‘./iso/boot’ -> ‘/media/usb/boot’
‘./iso/boot/isolinux’ -> ‘/media/usb/boot/isolinux’
‘./iso/boot/isolinux/boot.cat’ -> ‘/media/usb/boot/isolinux/boot.cat’
‘./iso/boot/isolinux/boot.msg’ -> ‘/media/usb/boot/isolinux/boot.msg’
‘./iso/boot/isolinux/f2’ -> ‘/media/usb/boot/isolinux/f2’
‘./iso/boot/isolinux/f3’ -> ‘/media/usb/boot/isolinux/f3’
‘./iso/boot/isolinux/german.kbd’ -> ‘/media/usb/boot/isolinux/german.kbd’
‘./iso/boot/isolinux/isolinux.bin’ -> ‘/media/usb/boot/isolinux/isolinux.bin’
‘./iso/boot/isolinux/isolinux.cfg’ -> ‘/media/usb/boot/isolinux/isolinux.cfg’
‘./iso/boot/isolinux/linux24’ -> ‘/media/usb/boot/isolinux/linux24’
‘./iso/boot/isolinux/logo.16’ -> ‘/media/usb/boot/isolinux/logo.16’
‘./iso/boot/isolinux/minirt24.gz’ -> ‘/media/usb/boot/isolinux/minirt24.gz’
‘./iso/index.html’ -> ‘/media/usb/index.html’
‘./iso/KNOPPIX’ -> ‘/media/usb/KNOPPIX’
‘./iso/KNOPPIX/KNOPPIX’ -> ‘/media/usb/KNOPPIX/KNOPPIX’
root@theblue:/home/penguin/Maintain/DSL#

Syslinux configuration

# mv /media/usb/boot/isolinux/* /media/usb/
# mv /media/usb/isolinux.cfg /media/usb/syslinux.cfg
root@theblue:/home/penguin/Maintain/DSL# umount /media/usb
root@theblue:/home/penguin/Maintain/DSL# syslinux /dev/sd
sda sda1 sda2 sda3 sda4 sda5 sda6 sdb sdb1
root@theblue:/home/penguin/Maintain/DSL# syslinux /dev/sdb1

Set the MBR boot flag of the partition in the USB drive.


# fdisk /dev/sdb

Disk /dev/sdb: 4012 MB, 4012900352 bytes
156 heads, 28 sectors/track, 1794 cylinders, total 7837696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 2050047 1024000 6 FAT16

Command (m for help): a
Partition number (1-4): 1

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

About janpenguin

Email: janpenguin [at] riseup [dot] net Every content on the blog is made by Free and Open Source Software in GNU/Linux.
This entry was posted in GNU/Linux and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s