Jump to content











Photo

How to assign USB Flash stick a different drive Letter


  • Please log in to reply
5 replies to this topic

#1 whairs01

whairs01

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 14 March 2011 - 08:24 PM

Hello shamurshamur,

The map solution that you gave me worked great, Thank you very much. Now, I need to give the drive a different drive letter. Is there a way that I can give it any drive letter. I need to be able to change the drive letter that is automation assigned.

Reason:
I am install XP on a new drive that consist of 3 partitions (Drive C: FAT32 and Extended Partition broken up into 2 Logical NTFS drives letter D: and E:. As I stated earlier I need the USB to be anydrive letter after F: Could you please tell and show me if possible what file I need to modify and where will it I need to make this modification or change.

Thank YOU

#2 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 15 March 2011 - 04:33 PM

Hello shamurshamur,

The map solution that you gave me worked great, Thank you very much. Now, I need to give the drive a different drive letter. Is there a way that I can give it any drive letter. I need to be able to change the drive letter that is automation assigned.

Reason:
I am install XP on a new drive that consist of 3 partitions (Drive C: FAT32 and Extended Partition broken up into 2 Logical NTFS drives letter D: and E:. As I stated earlier I need the USB to be anydrive letter after F: Could you please tell and show me if possible what file I need to modify and where will it I need to make this modification or change.

Thank YOU

Just like this:
http://reboot.pro/14028/
this has nothing to do with XBOOT specifically.
What you are asking is how to assign a given drive letter to the USB stick during XP setup (and/or a PE and/or an installed XP).
You need to learn about migrate.inf and/or Dosdevices registry key.
Start here:
http://www.911cd.net...showtopic=19663
Check the place where the topic is actually expanded and talked/commented, the "Install Windows from USB" on MSFN, particularly:
http://www.msfn.org/...-8-vs-normal-7/

:devil:
Wonko

#3 whairs01

whairs01

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 15 March 2011 - 08:00 PM

Hello Wonka,

I am not trying to do migration and it has nothing to do with migration. I need to know is there a way that I can assign the USB Flash Stick that is built by the Xboot processing a different drive letter. I want to assign the USB my own drive letter that it will take at boot up time, for example X:. Is there a way to do this, also the bootloader is "syslinux" NOT "grub4Dos". The .cfg file look like this:

LABEL -
MENU LABEL Windows 98 Boot
LINUX /boot/syslinux/grub.exe
APPEND --config-file="map (hd1) (hd0);map (hd0) (hd1);map --hook;ls /images/Win.iso || find --set-root /images/Win.iso;map --heads=0 --sectors-per-track=0 /images/Win.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/Win.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELPWIN98.ISO (3 MB)
ENDTEXT


I need this so that my hard drive letter will state in sequence as follow. ( new drive is broken up into 3 partitions)


Partition 1: Drive C: FAT32 (Primary, Active, Boot drive)
Extended Partition
Partition 2: Drive D: NTFS (Logical) - install OS
Partition 3: Drive E: NTFS (Logical) - install appls

Now, the USB Flash take the letter D: which the HD take C:, E:, F: but when USB is remove and boot for the HD, the HD drive letters are. C:, D:, E:.... Now can you see the problem.

Again, is there a way I can assign the USB what drive letter to take at boot up.

#4 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 15 March 2011 - 08:13 PM

Again, is there a way I can assign the USB what drive letter to take at boot up.

Again, then this is with a windows 98 based bootdisk? (you mentioned XP install, and NOT a DOS 7.x/8.x or Win 9x/Me based bootdisk)
Then you need ANOTHER approach.


Meet Letter Assigner:
http://reboot.pro/7572/

Though it would be MUCH easier if you used a "super-floppy" device that would get letter A: and thus NOT "be in the way"

And the bootloader IS grub4dos since you use Syslinux/Isolinux to load grub.exe. :whistling:

:cheers:
Wonko

#5 whairs01

whairs01

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 15 March 2011 - 09:54 PM

Hello Wonko,

Here is my USB flash stick Xboot .cfg. I need to be able to be able to assign my on drive letter. When I install xp from the USB us the xp .iso, I need the USB drive letter to be for example X: so when I boot my laptop up the USB Flash stick will be X:, my hard drive will be C:(FAT32 - boot), D:(NTFS-OS/XP) and E:(NTFS - Application).

MENU TITLE Windows Installation & Setup
INCLUDE /boot/syslinux/theme.cfg
INCLUDE /boot/syslinux/mainmenu.cfg


### MENU START
LABEL -
MENU LABEL FreeDos Base
LINUX /boot/syslinux/grub.exe
APPEND --config-file="map (hd1) (hd0);map (hd0) (hd1);map --hook;ls /images/fdbasecd.iso || find --set-root /images/fdbasecd.iso;map --heads=0 --sectors-per-track=0 /images/fdbasecd.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/fdbasecd.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
FDBASECD.ISO (8 MB)
ENDTEXT
### MENU END


### MENU START
LABEL -
MENU LABEL FreeDos Full installation
LINUX /boot/syslinux/grub.exe
APPEND --config-file="map (hd1) (hd0);map (hd0) (hd1);map --hook;ls /images/fdfullcd.iso || find --set-root /images/fdfullcd.iso;map --heads=0 --sectors-per-track=0 /images/fdfullcd.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/fdfullcd.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
FDFULLCD.ISO (153 MB)
ENDTEXT
### MENU END


### MENU START
LABEL -
MENU LABEL Windows 98 Boot
LINUX /boot/syslinux/grub.exeAPPEND --config-file="map (hd1) (hd0);map (hd0) (hd1);map --hook;ls /images/Win.iso || find --set-root /images/Win.iso;map --heads=0 --sectors-per-track=0 /images/Win.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/Win.iso(0xff);map --hook;chainloader (0xff)"
TEXT HELP
WIN98.ISO (3 MB)
ENDTEXT
### MENU END


### MENU START
LABEL -
MENU LABEL Windows 98 Full
LINUX /boot/syslinux/grub.exe
APPEND --config-file="ls /images/WinF.iso || find --set-root /images/WinF.iso;map --heads=0 --sectors-per-track=0 /images/WinF.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/WinF.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
WIN98F.ISO (194 MB)
ENDTEXT
### MENU END


### MENU START
LABEL -
MENU LABEL Setup Windows XP Pro-SP3-CV8RT
LINUX /boot/syslinux/grub.exe
APPEND --config-file="map (hd1) (hd0);map (hd0) (hd1);map --hook;ls /images/XPPSPAHCICVRT.iso || find --set-root /images/XPPSPAHCICVRT.iso;map --heads=0 --sectors-per-track=0 /images/XPPSPAHCICVRT.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/XPPSPAHCICVRT.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
XPP_SP3AHCI_CV8RT.ISO (596 MB)
ENDTEXT
### MENU END


### MENU START
LABEL -
MENU LABEL Windows 7 FULL-P3PFR
LINUX /boot/syslinux/grub.exe
APPEND --config-file="map (hd1) (hd0);map (hd0) (hd1);map --hook;ls /images/InstallWINinstPPFR.iso || find --set-root /images/InstallWINinstPPFR.iso;map --heads=0 --sectors-per-track=0 /images/InstallWINinstPPFR.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/InstallWINinstPPFR.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
INSTALLWIN7INST-P3PFR.ISO (2 GB)
ENDTEXT
### MENU END


### MENU START
LABEL -
MENU LABEL Windows 7 UPD-82J3R
LINUX /boot/syslinux/grub.exe
APPEND --config-file="map (hd1) (hd0);map (hd0) (hd1);map --hook;ls /images/InstallWINUPDJR.iso || find --set-root /images/InstallWINUPDJR.iso;map --heads=0 --sectors-per-track=0 /images/InstallWINUPDJR.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/InstallWINUPDJR.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
INSTALLWIN7UPD-82J3R.ISO (2 GB)
ENDTEXT
### MENU END


Now, is there a way that I can give the boot/install USB Stick my owe drive letter and if so can you tell me how and what file I will need to modify. It will be very muck appreciated. Thank Youl

#6 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 16 March 2011 - 08:49 AM

Look, it is NOT that difficult. :whistling:

  • If you need to assign a given letter in a PE 1.x or XP install you need the migrate.inf or a modified setupreg.hiv, as initially suggested.
  • If you need to assign a given drive letter in a DOS, you need Letter Assigner, also already suggested.

If you prefer, the settings in Syslinux/Isolinux or grub4dos CANNOT by themselves "pre-assign" a drive letter.

The Operating System when booting assigns drive letters dinamically and lettering rules are different (slightly) in DOS and in XP/PE 1.x, compare with:
http://www.msfn.org/...hy/page__st__20
DOS:
http://support.micro.../kb/51978/en-us
NT/2K/XP/PE 1.x:
http://www.dewassoc....riveletters.htm

Different operating systems need different workarounds.

BTW, seemingly the entry you bolded has 0 (zero) chances of working to install an XP as it seemingly misses the provision for a filedisk or ramdisk driver (unless of course you already integrated it in the XPPSPAHCICVRT.iso :cheers: ).

:cheers:
Wonko




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users