change drive letter assigments for system partitions



alain
07-10-2005, 12:33 AM
Hi
Is it possible to change the letters of the partitions on which windows is
installed?
I've cloned a windows xp installation from one disk to the other, it works
more or less but some programs are lost because now Windows pretends to be
in D: instead of C:

I'd also need to edit the boot.ini file of one system from another system,
is this possible? Windows doesn't even list the file.
Thanks

James
07-10-2005, 12:33 AM
To put it bluntly, no. Any drive letter can be changed except for the one
you want to change.
"alain" <alain@nospam.com> wrote in message
news:428a77e0$0$13326$ba620e4c@news.skynet.be...
Hi
Is it possible to change the letters of the partitions on which windows is
installed?
I've cloned a windows xp installation from one disk to the other, it works
more or less but some programs are lost because now Windows pretends to be
in D: instead of C:

I'd also need to edit the boot.ini file of one system from another system,
is this possible? Windows doesn't even list the file.
Thanks

Pegasus \(MVP\)
07-10-2005, 12:33 AM
"alain" <alain@nospam.com> wrote in message
news:428a77e0$0$13326$ba620e4c@news.skynet.be...
> Hi
> Is it possible to change the letters of the partitions on which windows
is
> installed?
> I've cloned a windows xp installation from one disk to the other, it works
> more or less but some programs are lost because now Windows pretends to be
> in D: instead of C:
>
> I'd also need to edit the boot.ini file of one system from another system,
> is this possible? Windows doesn't even list the file.
> Thanks

You must re-arrange your drive letters so that Windows will
run off drive C:. Here is how you do it:

- Run regedit.exe
- Navigate to HKLM\SYSTEM\MountedDevices
- Locate \DosDevices\D:
- Rename it to \DosDevices\C:
- If there is another device claiming drive C:, rename it first to
free up drive C:.
- Reboot the machine.

The file c:\boot.ini is normally hidden. Unhide it, then edit it.

alain
07-10-2005, 12:34 AM
Pegasus (MVP) wrote:

>
> "alain" <alain@nospam.com> wrote in message
> news:428a77e0$0$13326$ba620e4c@news.skynet.be...
>> Hi
>> Is it possible to change the letters of the partitions on which windows
> is
>> installed?
>> I've cloned a windows xp installation from one disk to the other, it
>> works more or less but some programs are lost because now Windows
>> pretends to be in D: instead of C:
>>
>> I'd also need to edit the boot.ini file of one system from another
>> system, is this possible? Windows doesn't even list the file.
>> Thanks
>
> You must re-arrange your drive letters so that Windows will
> run off drive C:. Here is how you do it:
>
> - Run regedit.exe
> - Navigate to HKLM\SYSTEM\MountedDevices
> - Locate \DosDevices\D:
> - Rename it to \DosDevices\C:
> - If there is another device claiming drive C:, rename it first to
> free up drive C:.
> - Reboot the machine.

Thanks it works.

>
> The file c:\boot.ini is normally hidden. Unhide it, then edit it.

I can't: even if I display the content of the system folders I still don't
see boot.ini. The file is present, but I see it only when I mount the
partition in Linux.

Pegasus \(MVP\)
07-10-2005, 12:34 AM
"alain" <alain@nospam.com> wrote in message
news:428b5d28$0$12684$ba620e4c@news.skynet.be...
> Pegasus (MVP) wrote:
>
> >
> > "alain" <alain@nospam.com> wrote in message
> > news:428a77e0$0$13326$ba620e4c@news.skynet.be...
> >> Hi
> >> Is it possible to change the letters of the partitions on which
windows
> > is
> >> installed?
> >> I've cloned a windows xp installation from one disk to the other, it
> >> works more or less but some programs are lost because now Windows
> >> pretends to be in D: instead of C:
> >>
> >> I'd also need to edit the boot.ini file of one system from another
> >> system, is this possible? Windows doesn't even list the file.
> >> Thanks
> >
> > You must re-arrange your drive letters so that Windows will
> > run off drive C:. Here is how you do it:
> >
> > - Run regedit.exe
> > - Navigate to HKLM\SYSTEM\MountedDevices
> > - Locate \DosDevices\D:
> > - Rename it to \DosDevices\C:
> > - If there is another device claiming drive C:, rename it first to
> > free up drive C:.
> > - Reboot the machine.
>
> Thanks it works.
>
> >
> > The file c:\boot.ini is normally hidden. Unhide it, then edit it.
>
> I can't: even if I display the content of the system folders I still don't
> see boot.ini. The file is present, but I see it only when I mount the
> partition in Linux.
>

- Click Start / Run
- Type this:
attrib -r -s -h c:\boot.ini

If this does not work then you may have to seize ownership
of the file. Click Start / Help, then type Ownership to see
how to deal with NTFS permissions.

Did you manage to change your boot drive letter to C:?

alain
07-10-2005, 12:35 AM
Pegasus (MVP) wrote:

>
> - Click Start / Run
> - Type this:
> attrib -r -s -h c:\boot.ini
>
> If this does not work then you may have to seize ownership
> of the file. Click Start / Help, then type Ownership to see
> how to deal with NTFS permissions.
>
> Did you manage to change your boot drive letter to C:?

Everything worked thank you Pegasus!

Pegasus \(MVP\)
07-10-2005, 12:35 AM
"alain" <alain@nospam.com> wrote in message
news:428ca6ca$0$13311$ba620e4c@news.skynet.be...
> Pegasus (MVP) wrote:
>
> >
> > - Click Start / Run
> > - Type this:
> > attrib -r -s -h c:\boot.ini
> >
> > If this does not work then you may have to seize ownership
> > of the file. Click Start / Help, then type Ownership to see
> > how to deal with NTFS permissions.
> >
> > Did you manage to change your boot drive letter to C:?
>
> Everything worked thank you Pegasus!

Thanks for the feedback.
Note for James: The Storage Manager won't let you change
the drive letter for the System Drive, because this could
cripple Windows. However, if you know what you're doing
then there is nothing preventing you from doing it directly
in the registry. The effect is exactly the same, except that
you have to reboot the machine.


change drive letter assigments for system partitions