Digg this topic Add to my del.icio.us Submit to SlashDot  
Reply to this topicStart new topic
> Issue with format, ImDisk inside a PE
psc
post Jun 5 2007, 06:30 PM
Post #1


Guru
***

Group: .script developer
Posts: 3,868
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


As known, I now use ImDisk as RAM disk inside the nativeEx PE.

There is a small issue:

When inside the running PE I use the CPL to create a new virtual disk, I can do so and the Disk is successfully created (not formatted yet, of course).
When checking the new created disk an clicking 'Format...' nothing happens. Just the 'Format...' button is disabled.

On the other hand, the console app of ImDisk with the -p option works ok and gives a formatted disk as result.

Something is missing in my PE, and I do not have any idea, what.

Has anybody else an idea?

Peter
Go to the top of the page
 
+Quote Post
Olof Lagerkvist
post Jun 5 2007, 06:44 PM
Post #2


Advanced Member
***

Group: Developer
Posts: 120
Joined: 27-April 07
From: Borås, Sweden
Member No.: 6,234


Sweden


QUOTE (psc @ Jun 5 2007, 08:30 PM) *
As known, I now use ImDisk as RAM disk inside the nativeEx PE.

There is a small issue:

When inside the running PE I use the CPL to create a new virtual disk, I can do so and the Disk is successfully created (not formatted yet, of course).
When checking the new created disk an clicking 'Format...' nothing happens. Just the 'Format...' button is disabled.

The Format button calls a shell function called SHFormatDrive. Unfortunately that function does not return any useful error codes if it fails so this is very hard to debug.

The same function is called by Windows Explorer if you right-click on a drive icon in My Computer and select Format there so if it works there it should be possible to get it to work in the Control Panel applet too. Otherwise there could be some shell interface missing in your configuration or something like that.
Go to the top of the page
 
+Quote Post
psc
post Jun 5 2007, 06:49 PM
Post #3


Guru
***

Group: .script developer
Posts: 3,868
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (Olof Lagerkvist @ Jun 5 2007, 08:44 PM) *
The Format button calls a shell function called SHFormatDrive. Unfortunately that function does not return any useful error codes if it fails so this is very hard to debug.

The same function is called by Windows Explorer if you right-click on a drive icon in My Computer and select Format there so if it works there it should be possible to get it to work in the Control Panel applet too. Otherwise there could be some shell interface missing in your configuration or something like that.

Can I or you do anything?

If the format would not work at all, I could accept.
But it works in the cmd line version...

Peter

BTW: To have the CPL in the PE is just random, because I added in the script, If I wouldn't add, the issue would not appear.
The question is whether it is really necessary to create a VD when you do an 'Emegency Repair'

EDIT: Sorry, I did not read your reply carefully enough (IMG:http://www.boot-land.net/forums/style_emoticons/default/frusty.gif)
I do some tests and then come back.
No reason for you to do anything right now!

This post has been edited by psc: Jun 5 2007, 06:53 PM
Go to the top of the page
 
+Quote Post
psc
post Jun 5 2007, 07:01 PM
Post #4


Guru
***

Group: .script developer
Posts: 3,868
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


The rather short result of my tests:

I remove the CPL fom delivering to the PE.

The 'right click' format does not work, too.
And I think that in an emergency it is not necessary to have a VD.

Therefore: Good bye, umbrella (in the control panel!)!

Peter
Go to the top of the page
 
+Quote Post
« Next Oldest · ImDisk · Next Newest »
 

Fast ReplyReply to this topicStart new topic

Members Who Viewed Topic Today ()

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 27th February 2008 - 05:08 PM

MKPortal ©2003-2006 mkportal.it