Go Back   Club Myce > Software > General Software



Reply
 
LinkBack Thread Tools
Old 12-05-2007   #26
MyCE Resident
 
Join Date: Jan 2007
Posts: 675
Re: Format In CDFS

Quote:
Originally Posted by ssdmedia
dd if=/dev/hda6 of=/dev/sdb1
That would copy partition #6 of /dev/hda (this is usually the
master drive on the primary IDE controller) to partition #1
on drive /dev/sdb Is that what you are trying to achieve?

Quote:
Originally Posted by ssdmedia
dd if=/dev/hda6/cdimage.iso of=/dev/sdb1
/dev/hda is a device and not a file system.

Are you using the Gparted live CD for this?
If the hard drive that the ISO image is stored
in is mounted, you need to know where the mount
point is. If it is not mounted, you will need to
mount it before you can read the image file
from it.

Run 'mount' to see a list of mounted devices.
Detailed info here:
http://www.die.net/doc/linux/man/man8/mount.8.html
skelton is offline   Reply With Quote
Old 12-05-2007   #27
New on Forum
 
Join Date: May 2007
Posts: 15
Re: Format In CDFS

Thats the post that made me ask. The first time I read this I took it the wrong way and after reading all the post, trying to figure out what I was doing wrong and why you got it to work and I can't, it hit me that I might have been wrong.


Quote:
Originally Posted by skelton
I did that test with a partitioned drive and it worked perfectly. As there seems to be no standard partition ID hex code for ISO9660 or UDF file systems, I just used partition type 'b' (W95 FAT32). I also tried several other partition types selected at random. I was always able to mount and read the drive regardless of the partition type.
After about the 8th or 9th time I read this I snapped to the fact that you don't say you tested it on Windows.


Quote:
Originally Posted by skelton
For the next test, I formated the USB stick with a UDF file system. This worked fine in my Linux box. I tried doing this test both ways, first on an unpartitioned pendrive and then on a partition. It worked fine both ways and unlike the ISO9660 system, I was able to write to it.

Finally, I plugged the memory stick into a Windows-XP PC. The Windows machine was unable to mount the pendrive. It was also unable to reformat it! This is not surprising really since it doesn't expect to find a CD file system on a pendrive
What got me all the other times I read this was that in this section you differentiate between the 2 OS after formationg in UDF. I just assumed the tests you ran in the first section where done on Windows and Linux as well.

Quote:
Originally Posted by skelton
That would copy partition #6 of /dev/hda (this is usually the master drive on the primary IDE controller) to partition #1 on drive /dev/sdb Is that what you are trying to achieve?
My thinking was that since I could not get to the file itself I would try the entire drive so I created a small partiion in windows off the master drive. It has an extened partion with 2 logical partitions in it. I just split one in to a smaller drive and copied the ISO to it. After using dd in this manner and plugging the drive in and saw the ISO file I realized right away. That is what I should have gotten. Remember, it's like 3 AM at this point and half my hair is on my desk or under my nails and No, not what I wanted. lol

Quote:
Originally Posted by skelton
Are you using the Gparted live CD for this? If the hard drive that the ISO image is stored in is mounted, you need to know where the mount point is. If it is not mounted, you will need to mount it before you can read the image file from it.


Run 'mount' to see a list of mounted devices.
Detailed info here:
http://www.die.net/doc/linux/man/man8/mount.8.html
Yes I am. And thank you for the information on Mount. I will go check it out as well. The ISO is on a hard drive but if I tried to point right to it I got the "... is not a directory" information. This is why I belong in the Newbie forum!

One last clarification if you don't mind. Are you able to create a pen drive that Windows sees as a CDFS and mounts on it's own? Sorry for the confusion but I have to ask.

Thanks again Skelton!
ssdmedia is offline   Reply With Quote
Old 13-05-2007   #28
New on Forum
 
Join Date: May 2007
Posts: 15
Re: Format In CDFS

Ok I mounted the hard disk with the iso file on it. Used dd to dump the iso file over in many ways on many file systems and each time I place it in to my Windows box I getthe wrong result. Mount was very helpful though. Now I have a copy of the entire partition on the sample drive I have. It's about 127 mb, if you want to download it make sure this post is at least one hour old. The file is uploading as I type and it should not take an hour.

http://www.iwarecd.com/newimage.iso

You should see the partitions on this thing. I even used dd to copy make this iso from the demo USB and then used dd to put the image on my USB and got nothing. I tried it with IBS and OBS at 2048, I tried it at default, I tried it until I was blue in the face. lol. I just don't get it. I cant even image the drive. In fdisk when I do a p to print the partition info it tell me this is not even a partition table but then it spits one out. Maybe you can sell what they did here by looking at the ISO.

I gotta jet, my wife and I go out on Saterday nights to play cards.

Later
ssdmedia is offline   Reply With Quote
Old 14-05-2007   #29
MyCE Resident
 
Join Date: Jan 2007
Posts: 675
Re: Format In CDFS

Quote:
Originally Posted by ssdmedia
One last clarification if you don't mind. Are you able to create a pen drive that Windows sees as a CDFS and mounts on it's own? Sorry for the confusion but I have to ask.
I only did one set of tests on Windows. I found I could not mount
a UDF formatted memory stick on Windows-XP.
skelton is offline   Reply With Quote
Old 14-05-2007   #30
MyCE Resident
 
Join Date: Jan 2007
Posts: 675
Re: Format In CDFS

Quote:
Originally Posted by ssdmedia
The joys of broadband! I downloaded it tonight.

126615552 bytes

MD5SUM
092991937ad7653e0bff8e1d1c4ef9b4 newimage.iso

Full report tomorrow.....
skelton is offline   Reply With Quote
Old 15-05-2007   #31
MyCE Resident
 
Join Date: Jan 2007
Posts: 675
Re: Format In CDFS

Quote:
Originally Posted by skelton
Full report tomorrow.....
Hello ssdmedia.

I burned your image to a USB stick and plugged it into
this Linux box. It auto-mounted as a DOS/Wndows
FAT32 drive. There is no sign of a partition map.

You can see the first few hundred bytes of the MBR
in this screenshot. I don't have a Windows box
here, but I will try sticking it in a Windows-XP
PC tomorrow.

Looking at your disc image with hexedit shows that
there is a vast area of 0x00s and some data near the
end of the drive.

BTW, you can save a lot of bandwidth by ZIPing
the image file:
newimage.iso 121MB
newimage.zip 15MB
A blank drive where almost every byte has the
same value (0x00 or 0xFF) will compress to
a tiny fraction of it's original size.
Attached Images

View/download attachments and remove advertisements by registering now! (it's easy, free and takes less than a minute)

To view attachments in this forum your post count must be 2 or greater. You currently have 0 posts.
skelton is offline   Reply With Quote
Old 07-02-2008   #32
New on Forum
 
Join Date: Feb 2008
Posts: 1
Re: Format In CDFS

Hi guys I have been reading your tread intensely and I too am trying to do exactly what ssdmedia is trying to do. I am a complete Linux novice, i.e. I have never used it. I would love to know how you (ssdmedia) mounted your hard disk with the ISO on it (post #28). Are you able to explain in more detail how you did this?
ndobier is offline   Reply With Quote
Old 07-02-2008   #33
Senior Moderator & Editor
 
imkidd57's Avatar
 
Join Date: Feb 2005
Location: New Fajara
Posts: 8,792
Re: Format In CDFS

I'll move this to 'General Software', where you might get more specific help
imkidd57 is offline   Reply With Quote
Old 31-07-2008   #34
New on Forum
 
Join Date: Jul 2008
Posts: 1
Re: Format USB drive as CDFS

How can I convert a USB 2.0 in U3 Memory? Is it possible? Help me please.
AustinBraun is offline   Reply With Quote
Old 27-11-2008   #35
New on Forum
 
Join Date: Nov 2008
Posts: 3
Re: Format USB drive as CDFS

Interested in knowing the solution to the problem you are trying to solve..

can you tell us how to make it work? Reading the posts, it seems that the proposed methods don't work in windows..
hanamin is offline   Reply With Quote
Old 30-11-2008   #36
New on Forum
 
Join Date: Nov 2008
Posts: 1
Re: Format USB drive as CDFS

I've been working on doing exactly the same thing. Create a USB drive that mounts itself as a CDFS. I will venture so far as to call it that, because i've seen it. Now you're all asking where i saw this actually call itself cdfs and actually mount as "two drives". IronKey. It's a name brand "secure" thumb drive with hardware encryption. (they just came out with a 8 gig version) www.ironkey.com/. now, i'm a complete linux newb. never messed with it so far i've got the Gparted iso, but haven't burned or used it much. i can actually get my hands back on this iron keey too, if there's some way i can "reverse engineer" it to "borrow" it's setup. note: this is a co-worker's thumbdrive and i can't really hurt it.

the most important thing to note is that it can be done on XP. when you go to manage your hardware, it tells you you have a CD drive and a USB drive connected. when you look at the properties of the "cd drive" it looks like a CD drive should with a "cdfs". The thing i was thinking you were leaving out ssdmedia was some sort of a driver set. (i've read through your entire thread, but i'm not sure if any of the "partitioning software" you're using actually tells the pc to use certain drivers.

Last edited by JasonS; 30-11-2008 at 15:25. Reason: Misspelled
JasonS is offline   Reply With Quote
Old 27-12-2008   #37
CD Freaks Senior Member
 
the_Matrix's Avatar
 
Join Date: Mar 2000
Location: the Dutch Mountains
Posts: 489
Re: Format USB drive as CDFS

Hi guys. Sorry to step in but I'm looking for something similar as well.
I would like to format/write a USB pen drive as if it was a DVD. I guess this is almost the same thing as you're talking about here?
__________________
Ik weet niet wat het is, maar het is me wat.
the_Matrix is offline   Reply With Quote
Old 27-01-2009   #38
New on Forum
 
Join Date: Jan 2009
Posts: 1
Re: Format USB drive as CDFS

Old thread is OLD. But I see some recent activity on it so I am going to post this.

Hi, found this thread looking for a different solution to a problem I have.
I want to be able to have as many ISOs on a USB drive as I can fit and then have a bootmanager list them and then boot from the selected one. Not so easy, no bootmanager I can find will read ISOs , so I thouight if I fooled it into thinking they were CD/DVDs it might do the trick. Which is how I stumbled into this thread.
No such luck yet.
However, as far as ssmedias problem , I may have found a workaround for him.
The flash drive you spoke of as mounting a CDROM from the USB stick is likely a U3 enabled device. It is not a simple fomatting trick they use to get it to autorun, it is hardware as well. If you look at it even under linux it reports as a SCSI DVD/RW.
In order to autorun as a CD device certain criteria have to be met which as far as I can tell can only be done by hardware. See MS link for details.
http://www.microsoft.com/whdc/archive/usbfaq.mspx
HOWEVER... there is a trick to get the U3 software to update a customized ISO (which would have your software on it)
Not sure of the legalities re the DMCA but since you are not decrypting or reverse eng anything, I dont see a problem (IANAL).
Check out this link.>
http://wiki.hak5.org/wiki/Talk:Memorex_U3_ISO_Hack
So , you could buy up some cheap U3 enabled devices(if that file you uploaded if the extent of your software, then real cheap) customize them with your ISO and ship them out to your customers.

On a side note , there is also a darker purpose that a custom ISO can be tasked with. See this thread. >
http://www.raymond.cc/blog/archives/...ate-hack-tool/

Now I know why high security workplaces epoxy their USB slots closed.
AltrusianGrace is offline   Reply With Quote
Old 21-02-2009   #39
New on Forum
 
Join Date: Feb 2009
Posts: 1
Re: Format USB drive as CDFS

I chanced upon this forum as well. I have some old USB keys which I want to 'autorun' automatically.

1. Use USBDeview from http://www.nirsoft.net - this helps determine the PID/VID of the USB key.

2. Check the list at http://www.linux-usb.org/usb.ids - this may help to further identify the USB device

3. Goto http://flashboot.ru/index.php?name=iflash&pagenum=1 (in russian) - from the PID/VID, determine the controller chip and whether there is 'production tool' available to reflash the USB key.

3. Goto http://www.flashboot.ru/index.php?na...id=2&pagenum=1 (in russian) - download the 'production tool' if one is available.

I have a 1GB USB key with PID=0EA0 VID=2168 for which there is a 'OTI_PT_Multi-Device_PTMD2.9.0.11.rar' tool available. However this tool does not allow creation of a CDFS and a 2nd FAT partition on the USB key.

I also have a 2GB USB key with PID=0411 VID=0098 for which there is a 'SMI_UFD_Utility.zip' tool available to create a CDFS and a 2nd FAT partition on the USB key.

To create custom CDFS ISO images - search for 'Universal_Customizer.zip' - this is the first such tool I found and downloaded, it worked for me.

After some experimentation, I now have the 2GB USB key autorun using these 3 files on the CDFS partition, and I run PortableApps from the 2nd partition.

AUTORUN.INF contains
[autorun]
open=shelexec.exe autorun.bat
icon=shelexec.exe,0

SHELEXEC.EXE can be obtained by searching the Internet.

AUTORUN.BAT contains
@FOR %%f IN (C D E F G H I J K) DO @IF EXIST %%f:\StartPortableApps.exe SET usbdrive=%%f:
@start %usbdrive%\StartPortableApps.exe
@set usbdrive=

Hope this helps someone.
usbkid is offline   Reply With Quote
Old 13-03-2009   #40
New on Forum
 
Join Date: Mar 2009
Posts: 3
Re: Format USB drive as CDFS

Alright, this is exactly the opposite of what i am tring to do, i got a real cool looking USB drive, but it loads as a CD drive, and i am trying to format it (i only have windows), but it will not allow me, here is my thread

http://club.cdfreaks.com/f122/usb-dr...format-268518/
TheStealthTarget is offline   Reply With Quote
Old 01-12-2009   #41
New Member
 
Join Date: Dec 2009
Posts: 1
Re: Format USB drive as CDFS

so.... what happend, it is possible??????????
please post the results
pablovsky is offline   Reply With Quote
Old 25-01-2010   #42
New Member
 
Join Date: Jan 2010
Posts: 1
Quote:
Originally Posted by usbkid View Post
I chanced upon this forum as well. I have some old USB keys which I want to 'autorun' automatically.

1. Use USBDeview from http://www.nirsoft.net - this helps determine the PID/VID of the USB key.

2. Check the list at http://www.linux-usb.org/usb.ids - this may help to further identify the USB device

3. Goto http://flashboot.ru/index.php?name=iflash&pagenum=1 (in russian) - from the PID/VID, determine the controller chip and whether there is 'production tool' available to reflash the USB key.

3. Goto http://www.flashboot.ru/index.php?na...id=2&pagenum=1 (in russian) - download the 'production tool' if one is available.

I have a 1GB USB key with PID=0EA0 VID=2168 for which there is a 'OTI_PT_Multi-Device_PTMD2.9.0.11.rar' tool available. However this tool does not allow creation of a CDFS and a 2nd FAT partition on the USB key.

I also have a 2GB USB key with PID=0411 VID=0098 for which there is a 'SMI_UFD_Utility.zip' tool available to create a CDFS and a 2nd FAT partition on the USB key.

To create custom CDFS ISO images - search for 'Universal_Customizer.zip' - this is the first such tool I found and downloaded, it worked for me.

After some experimentation, I now have the 2GB USB key autorun using these 3 files on the CDFS partition, and I run PortableApps from the 2nd partition.

AUTORUN.INF contains
[autorun]
open=shelexec.exe autorun.bat
icon=shelexec.exe,0

SHELEXEC.EXE can be obtained by searching the Internet.

AUTORUN.BAT contains
@FOR %%f IN (C D E F G H I J K) DO @IF EXIST %%f:\StartPortableApps.exe SET usbdrive=%%f:
@start %usbdrive%\StartPortableApps.exe
@set usbdrive=

Hope this helps someone.
Hi

Can you just clarify for me that the BAT file you have written is querying the drive letter that the writable partition has been assigned by Windows?

If so, does the process take long if it's literally going through the host computer's directory structure to check for the drive letter and matching path?

Or have I misunderstood you?

Thanks
crazyhead74 is offline   Reply With Quote
Old 24-01-2011   #43
New Member
 
Join Date: Jan 2011
Posts: 1
Try this: http://www.squidoo.com/usbcd

Works with all the drives i tried.
saculboy is offline   Reply With Quote
Old 10-03-2011   #44
New Member
 
Join Date: Mar 2011
Posts: 1
With this tool, I was able to load my Windows CD Image onto the CDFS drive of my 2gb Memorex TravelDrive, and the other data partition is FAT32. I was then able to install Windows over itself on my Netbook, thus avoiding the system recovery and losing all my data. http://u3-tool.sourceforge.net/ I know this thread is even older now, just posting for you or any others who stumble across this thread. Using this tool, at times I had reduced both partitions to zero, and was easily able to restore them. I'm trying to put Ubuntu on it now, but it's proving to be a task. I'm sure it's user err, but I know it works.
RealisticPC is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need to convert UDF format to CDFS mekios Newbie Forum 3 28-11-2009 22:18
Converting CDFS Format to UDF Format. SkycaptainJosheh Newbie Forum 9 26-01-2007 03:49
Error Usb Mass Storage Devices - Mad Dog Triple Format Dvd/rw indicaz CD, DVD and Blu-ray Writers 2 14-01-2006 17:22
CDFS Format And UDF format Computegeekwanabe LiteOn / PLDS / Sony Writer 21 04-12-2005 14:57
USB 2.0 Flash Drive(Thumb Drive) Recommendations/Opinions Nosmartz General Hardware Forum 0 08-02-2005 01:44


All times are GMT +2. The time now is 18:55.
Top