5 way usb problem


Forum: USB booting
Topic: 5 way usb problem
started by: malice

Posted by malice on Feb. 04 2006,21:09
First off I must say your DSL is pretty damn cool. I bought a 512 usb stick and I want a setup for recovery situations and the virtual machine in windows. Im assuming the 5 way means that the stick is both bootable and can run the windows emulator. Thats where i want to be. If thats not possible just say so and I will give up on this. First off one thing you should know is I have one of those new U3 type sticks. This shows up in windows as 2 drives. A very tiny drive with the U3 launcher and a second drive for storage. Before you say all bets are off and its not possible you should know a couple of things.
1. I have successfully created a bootable stick by running from cd and using the install to usb tool. This works fine.
2. I have successfully created the embeded install and it runs in windows just fine.
What im trying to do is have it bootable and be able to run in windows. I assume this is the 5 way script so I booted from cd and downloaded the 5way script to ramdisk and opened the shell and ran it. here is where I get stuck.


DSL USB pendrive 5-way installation utility.
No responsibility for data loss or hardware damage!
Your pendrive must have a vfat partition visibile to DSL.
This usually means 32 sector/track and not more than 1024 cyclinders.
Use cfdisk to accomplish this task. (See readme.txt)
DO NOT have your pendrive mounted.
Ready to proceed (y/..)? y
Standby fetching the embedded zip file...
Connecting to www.ibiblio.org[152.2.210.80]:21
dsl-embedded.zip     100% |*****************************| 51358 KB    00:00 ETA
Enter the target device to hold image (EXAMPLE: sda1): sda1
Last change to exit before destroying all data on /dev/sda1
Continue (y/..)? y

Formatting /dev/sda1
umount: /mnt/sda1 is not mounted (according to mtab)
mkdosfs 2.9 (15 May 2003)
/dev/sda1: Permission denied
Error creating DOS filesystem.

Posted by cbagger01 on Feb. 05 2006,05:22
Hmm...

maybe you are not running the script as the "root" or superuser?

Try typing:

sudo su

and then run the script again.

Posted by roberts on Feb. 05 2006,06:20
I probably should deprecate this script.
[edit] I have now deprecated this script.[/edit]

5-way is pretty much obsolete as it only tries USB-ZIP install, 32 sectors per track and up to 1024 cyclinders.
Made back in the olden days of 64MB and 128MB pendrives.

If you already have dsl-embedded working on your 512MB pendrive, and if your computer's bios supports USB booting then I would try it as is. Usually it should work.

It it does not boot natively from your computer then I would try to apply syslinux boot loader to the pendrive, or even a thrid party or manufacture's boot utility.

Trying to apply a USB-ZIP style install to a 512MB pendrive is most likely not to be what you want and will most likely fail in trying to change the drives geometry.

With dsl-embedded, I do not recommend doing anything to the pendrive except to unzip the archive onto it.



Posted by malice on Feb. 07 2006,22:58
OK. Thank you. I got it working. Booting from usb as well as running  in windows was as simple as extracting the embeded zip file to the drive.
Posted by roberts on Feb. 07 2006,23:16
Glad to hear this, as that is what we now recommend.
Posted by jakromm on Feb. 08 2006,23:53
Hi, i made another thread about this subject and was pointed here, which is absolutely what i need.  Two things, one im very new to linux, but very good with computers and more importantly learning.  I want this exact setup but the most important thing is, do the bootable and embedded OS's run as teh same? do changes in the one reflect on the other? or are u simply just having both on the drive, cause i want them to be the same OS reflecting on eachother.  And if someone wouldnt mind could you type up some more detailed instructions on how to do this,  I would forever appreciate it :D otherwise wish me luck
Posted by jakromm on Feb. 09 2006,00:13
sorry for double post, but could this be done on a ipod?  or would it screw up the firmware or the functionality of the ipod?  Cause id rather just do that onto my existing ipod then having to go spend more money on a flash drive D: (i know it wouldnt be as fast though since its HD instead of solid state)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.