Multiboot, nothing starts after boot after installing Debian on a Xp disk
Posted on 2010-09-11
I have a problem after installing a Debian etch (net install) on my hard disk which
contains Windows XP.
In my disk (500 GB) Windows XP, I have a 4 partitions:
- first one a boot partition, the C:parititon (190 GB)
- second one a data partition D: (270 GB)
- third a small data partition (24 GB)
- fourth another partiton of 1 GB
- fifth another partition of 12 GB
So I decided to install on my third partition the / of Debian
and on the fourth partition the swap partition.
SO I use GParted to format partition third with ext3 file system
And partition four with swap partition.
After that I insert the Debian net inst CD to launch installation.
I had a problem when installing Grub because I tried first to let first partition with boot flag
and by this way during installation I accepted that Grub modyfi the first partition table . and after that
I had an error of installing grub in first partition so what I tried this time to keep boot flag on
third partition but this time the installation of Grub ask where to install and propose to frist partition by default
so manually I set to /dev/sda7 but it seems that the third partition was this sda when I launched GParted.
So there was not good and error again.
So now when I start my pc I have this error :
"REBOOT AND SELECT PROPER BOOT DEVICE
OR INSERT BOOT MEDIA IN SELECTED BOOT DEVICE AND PRESS A KEY"
So the problem I think is maybe if I erase or write on first partition MBR of Windows, I hope that I can restore My xp OS because I don't format the first partition.
How must I retrieve my existing Windows XP and reinstall correctly Debian with Grub ?
How do that I think there is 2 ways to do that (but I'm not sure!!!) :
1° booting on the Linux partition (third) and grub will propose the XP partition on boot
2° booting on the XP partition (first) by changing the bootloader of Windows so that Grub can manage it
My first need is to restore my existing XP os, how do that ?