Re: How to move an OS install from one primary partition to another?



Dotan Cohen wrote:

A fellow student has Debian and Windows 7 on his laptop. I installed
Windows first so that the Debian installer could configure grub
properly, but after installing and setting up the system (which
required a trip to the faculty technical support to set up printing
and MatLab in Windows, not something that I want to repeat in the near
future) I discovered that I had accidentally installed Windows to the
wrong partition. Can I use the Debian disk to move Windows to a new
partition? Are there any other tools that I could use? I do not care
about what happens to the MBR as once Debian is installed it should
configure grub properly in any case.

Thanks in advance for any ideas.


I've done this (using ghost) and had to run the windows installer (install
cd in repair mode) to repair the installation. After this boot from debian
cd/usb or whatever and rerun grub setup with the new configuration.
I'm not sure if it's possible with vista or win7. I stopped dealing with M$
before vista came out.
Theoretically there is a boot.ini file in the windows root partition. This
is something like the grub menu.lst file. Google about or have a look in to
it. I've never used it but read it would be possible to setup different
boot params in there, like which disk or partition it should boot from,
however the repair process does it all.

regards


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: SATA drive probs: Knoppix OK, but nothing else
    ... (and according to the grub manual that error means grub is halting because ... it is trying to mount an existant partition but the partition is formatted ... issue with Debian and this drive...:-(..was attemtping this all with Debian ... try running the grub installer from ...
    (Debian-User)
  • help getting grub to see Windows 7 on second drive
    ... I think this query is better sent to this list not debian amd64 so I ... drives. ... I tried installing the Windows on the new disk but it wouldn't install ... Then the PC rebooted and Grub fired up and only saw the first drive ...
    (Debian-User)
  • help getting grub to see Windows 7 on second drive
    ... I think this query is better sent to this list not debian amd64 so I ... drives. ... I tried installing the Windows on the new disk but it wouldn't install ... Then the PC rebooted and Grub fired up and only saw the first drive ...
    (Debian-User)
  • Re: windows download
    ... download and burn a CD if they want to convert from Windows to ... because no-one would like to say goodbye to debian;-) ... Windows? ... explain to your friends that the installer doesn't really wipe their OS ...
    (Debian-User)
  • Re: how run linux from CD, porblem is very problematic
    ... not an Debian disk. ... The installer starts ok, but the ... What version of Windows are you running? ... You must understand that the graphical environments of modern Linux ...
    (comp.os.linux.setup)