Bram Dumolin
Group: Members
Posts: 2
Joined: July 2005 |
|
Posted: July 28 2005,20:21 |
|
[quote=Caspar_s,July 28 2005,14:14][/quote] re,
Quote | No, he wants the usb key itself to be bootable - so if the computer boots with the usb key (and the computer is set to boot from usb) in, it will go to linux instead of whatever is on the drive.
|
Exactly.
Quote | I can't remember how I installed mine... My wife has our cd drives, so I didn't boot - have you tried running the embedded version and installing to usb key from the menu?
|
No I didn't boot from the CD image as I think it's a bit too much work to first write a CD, boot from it, and then have a menu item to install something which should be possible with one command line.
Can someone please give me the command line that's used in the script which is run by the menu item I keep hearing about? Or attach the script or something.
Otherwise I have to mount the cloop image and I don't have the cloop module installed yet.
Quote | As to your question with the disk image - the problem with that is the disk size. Unless you force people to have one partition of 50mb and the rest of the key as another, I think you'd need different images for 64, 128, 256 etc.
I know the drive geometry was what I had trouble with - but once I had adjusted it, it was fine.
|
Drive geometry might be an issue but if you do something along the lines of the following, it should work I think.
DSL creates an image on a pendrive, let's say following partitions:
/dev/sda1 50MB /dev/sda2 78MB
dd if=/dev/sda of=blah
cut the other partition from the file or make it empty or whatever, null the partition and compress the resulting image.
Then you would have a bootable image which you can just dd to the stick if I'm not mistaken?
Thanks, Bram
|