Jump to content











Photo
- - - - -

DiskPart Unable To Assign Drive Letters


  • Please log in to reply
4 replies to this topic

#1 ACMartin55

ACMartin55
  • Members
  • 2 posts
  •  
    United States

Posted 15 November 2010 - 03:53 PM

Hello Everyone,

I finally figured out which script to select for my diskpart utility, Components-Core-System-MMC.script.

I'm now running in to an issue where diskpart won't assign my partitions drive letters. When I bring up the device manager and show hidden devices, I have a driver issue with the Partition Manager. What would be causing this issue? I have the DP Mass Storage driver script set to install as well.

Thanks,
Adam

#2 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 17 November 2010 - 01:34 AM

Hi ACMartin55,

There is "Mount StorPE" (LiveXP\Apps\Sys) which makes the automount of devices for you IF windows can not make. (unless a harddrive connected after boot, so far I experienced, windows can always mount hd--devices)

Well, your post is not much detailed,
noone can guess which scripts you select during build, It is better to build LiveXP Recommended along with default settings first and see how things goes, before making further adjustments.

See you around.

#3 skyide

skyide

    Frequent Member

  • Advanced user
  • 218 posts
  •  
    Australia

Posted 17 November 2010 - 02:17 AM

Are you able to assign a drive letter via Disk Management? Right click the partition and select "Assign Drive Letter". I am not sure if this option is available in PE environment but you can check.

#4 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 17 November 2010 - 02:19 AM

I am not sure if this option is available in PE environment but you can check.

Available on LiveXP and highly probably on other PE projects too. :hi: ;)

#5 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 17 November 2010 - 06:35 PM

I'm now running in to an issue where diskpart won't assign my partitions drive letters. When I bring up the device manager and show hidden devices, I have a driver issue with the Partition Manager.

Hi
see this thread
so i think it is not possible to 'create the partition+assign the drive letter+format this newish partition'
in one step using MMC in a home made XP based PE - i mean in a 'PE 1.x' which was created with winbuilder or BartPE,
the only exception what i have ever seen is the MSDart 5 - but that PE is not 'home made' (and not XP based),
or if Paragon software is integrated in the build and i try to define the new partition via Paragon, so seems the Paragon HDM has a secret trick

this works for me:
in 'diskmgmt.msc'
as the first step i create the partition only (i select the disk > Right click > 'New Partition...') - no drive letter assignment, no format
then as the second step 'Action' > 'Refresh'
then as third step i select the disk > Right Click > 'Change Drive Letter and Paths...'
then as fourth step i restart the shell - so i use the option 'PELoader' and tick the 'restart shell' check box in the 'Winlogon / Shell' script in '\Basic\Shells\FineTune' - i kill the 'explorer.exe' process via 'Task Manager',
then as fifth step reopen the 'Disk Management', then format the partition

sometimes no need to restart the shell before formatting the newish partition - i think it depends mainly on the source CD which i use to build my LiveXP, i mean XP SP2 English vs. XP SP3 Hungarian,
but in this case (without restarting the shell) still the windows explorer started via the "My Computer" Desktop shortcut cannot see this new partition,
only the windows explorer started via the shortcut "Explorer" - (with the yellow Folder Icon) and which uses the command: "%SystemRoot%\explorer.exe /e," - can see this newish partition




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users