Jump to content











Photo
- - - - -

Change drive letter


  • Please log in to reply
7 replies to this topic

#1 ccl

ccl

    Member

  • Members
  • 47 posts
  •  
    Malaysia

Posted 16 May 2012 - 11:24 PM

Hi guys and Amalux,

I using LiveXP-Rec (LX.041412) which able to from USB_Boot. But i would like to know, can i change the drive letter for the USB_Boot before it loading into windows.

Here is the example:

I'm having 2 partition on my HDD : C and D Drive, when i boot from USB_Boot

inside my computer it showing

C: HDD primary partition
D: USB_Boot
E: HDD extended partition


Here is the Question:
Can I change it to below setting before it finish loading into windows?

C: HDD primary partition
D: HDD extended partition
E: USB_Boot

#2 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2,813 posts
  •  
    United States

Posted 17 May 2012 - 03:21 AM

Hi ccl :)

This isn't specific to LiveXP or any PE you're booting from USB/UFD (AFAIK). It's a Windows thing, what drive letters get assigned to what drives. There's a cool utility here: http://www.uwe-sieber.de/usbdlm_e.html that might do what you need but it's on a machine by machine basis. I'm not sure if there's a way to do this specific to the UFD e.g. add something to grub4dos code etc. I seem to remember reading about this issue many times but information is lost for now, let me see what I can find ;)
  • ccl likes this

#3 ccl

ccl

    Member

  • Members
  • 47 posts
  •  
    Malaysia

Posted 17 May 2012 - 03:31 AM

Hope you can find the information, depends on you now ! Thanks Amalux, your the best :1st:

Extra info:

If I plug in 2 USB flash, boot it from USB_Boot when finish loading windows

inside my computer it showing

C: HDD primary partition
D: USB_Boot
E: XPS USB flash drive
F: HDD extended partition

It seem to be kicking my HDD extended partition to the end.

#4 VV2006

VV2006

    Member

  • Members
  • 43 posts
  • Location:Russia
  •  
    Russian Federation

Posted 17 May 2012 - 03:40 AM

ccl

To change system drive letter You can edit offline reg hiev WINDOWSsystem32configsystem, where replace in HKEY_LOCAL_MACHINESYSTEMMountedDevices
value DosDevicesC: to DosDevicesX:

#5 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 10,131 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 17 May 2012 - 02:15 PM

Use migrate.inf.
See here:
http://www.911cd.net...showtopic=19663

:cheers:
Wonko

#6 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2,813 posts
  •  
    United States

Posted 17 May 2012 - 05:45 PM

Use migrate.inf.

Works great, thanks :)

@ccl

The above tip from WTS worked fine, I used UltraISO and GimageX to copy migrate.inf to PE image (full explanation in tutorial). The migrate.inf must be created on the machine you're booting and it only works for the modified PE; only tested LiveXP_WIM type build.
  • ccl likes this

#7 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,754 posts

Posted 17 May 2012 - 07:07 PM

Migrate.inf and the named registry entries, further above, do the exact same thing.
No advantage of the one over the other, just a matter of taste.

:cheers:

#8 ccl

ccl

    Member

  • Members
  • 47 posts
  •  
    Malaysia

Posted 17 May 2012 - 11:46 PM

Thanks a lot guys. Will try it on Saturday or Sunday




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users