HOW TO...


Forum: Other Help Topics
Topic: HOW TO...
started by: nd4spdbh

Posted by nd4spdbh on May 24 2005,03:32
OK i would like to kno how to do a couple of things. First off i thing DSL OWNS....Ok so i would like to take my 128mb pen drive and partition it in to 2 FAT partitions WITH 2 SEPERATE DRIVE LETTERS IN WINDOWS... Then install DSL to one of them using the other for the backup file and other do dads. How would i go about doing this. (The partitions have to be FAT because i go back and forth between windows and linux.) So what i would really like to do is do a usb-zip install ...how it creats the 2 partitions but have the bigger one readable in windows!. Please help thnx
Posted by nd4spdbh on May 24 2005,18:58
~BUMP~ Please help
Posted by SaidinUnleashed on May 24 2005,20:47
Windows can only see the first partition on USB devices, afaik.
Posted by nd4spdbh on May 24 2005,21:49
OK well can i do a USB ZIP install with the first partition being FAT holding backupfiles ... and the second holding the boot partition? Or something of the sort
Posted by meo on May 25 2005,17:02
Hi nd4spdbh!

Well I use DSL on a usb-drive (SandisK Cruzer Titanium 512 MB) and I have a lot of documentation that I need readily accessible from any computer. I just format my drive in fat32 (as a preparation) and unzip dsl-embedded to a directory on my harddrive. In the directory containing dsl I make some changes I want to have (like remastering the Knoppix-file and making the virtual hd in qemu bigger to be able to contain the things I want to have on it) and then I just copy all the files to my newly formatted usb-drive. So I only have one partition on the usb-drive. After that I just copy whatever I want to have onto my usb-drive and it will all be visible to windows. I have seen in this forum that it might be impossible to boot directly from the usb-drive with this setup on certain computers (depending on the bios). I can't do it for example. I use a creditcard-size cd to boot my usb drive with the following bootline-commands:  dsl fromhd=/dev/sda1 qemu frugal xsetup  and everything works like a charm. I hope this can help you!

Have fun Y'all,
Best wishes meo

Posted by nd4spdbh on May 25 2005,21:25
Thanks man i just have a few questions... What is Dsl-embedded and what is qemu?
Posted by meo on May 26 2005,07:02
Hi again!

Dsl-embedded is a version of DSL that can run inside windows and linux (embedded) and also direcly from the usb-drive. Qemu is the emulator that makes this possible. Inside the qemu folder there is a virtual hd that is used when this version of DSL is running inside another OS. This virtual drive is by default 60 MB and can also be mounted running "just" DSL and not embedded. The size of this virtual hd can be changed according to your special needs.

Have fun,
meo

Posted by meo on May 26 2005,07:46
Hello again!

It came to my mind that you might want to change the size of the virtual hd in qemu which is quite easy. I have made a HOWTO from posts of others in this forum for my personal reference and just in case you would like to do the above here it comes:

HOWTO make a new virtual HD in DSL-embedded


Boot from DSL-embedded on a usb-drive

Make the new virtual hd in “Xshells -> Root Access”

#mount -rw /dev/hda1 /mnt/hda1

#dd if=/dev/zero of=/mnt/hda1/harddisk bs=1024 count=160000
(This will create a 160 MB virtual drive; that's what I use)

#mke2fs /mnt/hda1/harddisk
(Just ignore any warning and proceed)


Copying over files to the new hd

#mount /mnt/hdb

#mount /mnt/hda1/harddisk /mnt/test -o loop

#cp /mnt/hdb/backup.tar.gz /mnt/test

#umount /mnt/hdb

#umount /mnt/test

This is the way I do now. There are several other variants but this works for me.

Have fun,
meo

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.