WinCE file system format?

If you are running Windows on your WebDT366 this is for you.
Post Reply
volkswagner
Administrator
Administrator
Posts: 144
Joined: Sat Mar 28, 2009 2:27 am
Location: NewYork's 1st Capitol
Contact:

WinCE file system format?

Post by volkswagner »

What is the format of the internal drive when running WinCE?

It seems Linux does not recognize it.

Gparted lists the drive as 494.19 MB and as unallocated. 

/dev/hda information on the drive is listed as having 1012096 sectors.  When I used the dd command on this drive, it is seen as having 1024000 sectors.  Why the discrepancy?  Is Gparted missing the Boot Partition?
Nothing is ever easy, but if it is difficult you must be doing it wrong.
My Wife's invention Doll Carrier
Fleegman
Developer
Developer
Posts: 58
Joined: Wed Mar 25, 2009 8:32 am

Re: WinCE file system format?

Post by Fleegman »

It's only the older builds of slackware (ie: NimbleX2007 and Slax5) that have a hard time reading the filesystem.  If you connect a USB hub, and plug in an external keyboard, mouse and a Slax6.0.9 usb boot stick, it can read the file system with no problems --- you can actually mount the drives and browse them too.

Off the top of my head, I don't remember what type of filesystem it is, I would have to boot into it using a newer distro --- and currently I don't have my USB hub at the moment to plug and find out, or I would.
volkswagner
Administrator
Administrator
Posts: 144
Joined: Sat Mar 28, 2009 2:27 am
Location: NewYork's 1st Capitol
Contact:

Re: WinCE file system format?

Post by volkswagner »

Thanks Fleegman,

Do you think this is my problem with trying to use dd to create an image with the current NimbleX build?

Perhaps I should try a later distro.  I can try once I get my USB hub.

http://webdt.org/forum/viewtopic.php?p=164#p164
Nothing is ever easy, but if it is difficult you must be doing it wrong.
My Wife's invention Doll Carrier
david_halliday
Developer
Developer
Posts: 84
Joined: Wed Apr 01, 2009 3:13 pm

Re: WinCE file system format?

Post by david_halliday »

did you try

dd -bs=512

Dave.
volkswagner
Administrator
Administrator
Posts: 144
Joined: Sat Mar 28, 2009 2:27 am
Location: NewYork's 1st Capitol
Contact:

Re: WinCE file system format?

Post by volkswagner »

david_halliday wrote: did you try

dd -bs=512

Dave.
I did not try it at 512.  I did it two ways.  On the second try I wrote the dd to an .img file.  I would think writing to an image file would eliminate the block size as a variable, since no block size is used when writing the image.

Is my assumption correct?
Nothing is ever easy, but if it is difficult you must be doing it wrong.
My Wife's invention Doll Carrier
fabio
Newbie
Newbie
Posts: 13
Joined: Wed Apr 01, 2009 5:06 pm

Re: WinCE file system format?

Post by fabio »

hallo, can anyone send to me the wince files to reinstall? i deleted it when i tried to install xp!! thanks a lo, my mail is gugarch@fastwebnet.it
david_halliday
Developer
Developer
Posts: 84
Joined: Wed Apr 01, 2009 3:13 pm

Re: WinCE file system format?

Post by david_halliday »

I don't think so. Now if I remember correctly dd has a default block size of 512bytes, and most disks use a block size of 4K (4096 bytes) using a block size higher than the disk block size is not good. So the optimum dd command would be something like

dd if=/dev/sdc of=/my/backup.dd bs=4096 conv=notrunc,noerror

replace sdc with your dive and /my/backup.dd with were you want to stash the image.

leaving bs off or at 512 would be ok but a little slower.

Dave.
volkswagner
Administrator
Administrator
Posts: 144
Joined: Sat Mar 28, 2009 2:27 am
Location: NewYork's 1st Capitol
Contact:

Re: WinCE file system format?

Post by volkswagner »

Since I did not specify the block size when I stored as an image, is the reasoning for my reply above.  My interpretation of your response is, it should have worked without specifying the BS.

I believe the real issue is the operating system.  I don't think it is recognizing the drive correctly.  I need to use the dd command with an OS that properly reads the drive.  Slax 5 was used, which does not properly read the disk.

I have yet been able to boot an OS that recognizes the drive.  I have heard Slax 6 will see it.  I gave away my Slax 6 disk, I will burn another one.  I am not sure if I still have the .iso, I may have to download it again.



I am not going to have much time this weekend, but Monday my plan is to get to the bottom of this.
Nothing is ever easy, but if it is difficult you must be doing it wrong.
My Wife's invention Doll Carrier
david_halliday
Developer
Developer
Posts: 84
Joined: Wed Apr 01, 2009 3:13 pm

Re: WinCE file system format?

Post by david_halliday »

Ah, sorry, yes if you did not specify a block size you would have got 512bytes which should be just fine. I the problem does lie elsewhere.

Dave.
Post Reply