Good script - too bad it only uses FAT. Thankfully, I didn't need it to install a bootloader, so I just looked at what it did to figure out how to make Knoppix the OS that booted instead of what I had before.
(Short history: installed trustix, decided it was too "young" to use, started using knoppix instead, and well, I had the right bootloader and all, but it was still trustix' boot files in /dev/hda1...)
Afterwards, I felt kinda stupid for not having figured it out before.