i have triple boot system with xp win 7 ultimate and ubundu. i installed xp first then win 7 then ubundu .win7 disc is non bootable. i am using it with 2 grubs which first one contain ubundu and win 7 .when win7 is selected it shows other grub with xp and wind 7.
BUT i compress c drive and i lost the grub of xp and win 7.using xp cd i run bootfix and i get xp back but i lost both grub .now it directly gbooting xp.how ican recover my old grubs.
One option available would be replacing the Grub loaders entirely and repairing the 7 mbr. Afterwards the free program called EasyBCD can add a boot entry for ubuntu into the 7 BCD stote(boot configuration) as well as another entry for XP. You would then see the 7 drive made the default boot drive and decide which OS would set as the default.
When installing ubuntu last one tip is seeing the root partition made the "? mount point" avoiding seeing Grub installed into the Windows boot sector. The EasyBCD docs explain how the program will still add a usable boot entry in for the other OS.
W7 Ultimate x64/W10 Pro x64/W11 Pro Triple Boot - Main PC W7 Remote PC Micro ATX W7 Pro x64/W11 Pro
CPU
AMD Phenom II X4 975 Deneb 3.6ghz - 965 2nd remote pc
Motherboard
Gigabyte GA-790XTA-UD4-Gigabyte GA-880GM-D2H remote pc
Memory
Kingston Hyper X DDR3 1600 1.5v 16gb - Hyper X Fury 8gb 2nd
Graphics Card(s)
MSI HD Radeon 5750 1gb - MSI HD Radeon 6450 on mini tower
Sound Card
Creative Labs X-Fi Xtreme Audio P - Realtek onooard 2nd case
Monitor(s) Displays
ASUS VW199T-P 19" HP 2082a Main-HP 2082a 20" remote pc
Screen Resolution
Asus 1440x900 - HP 1600x900
Hard Drives
WD Black 1TB HD per OS W7, W10, and pending W11 presently on 500gb OS Drive - Pending Triple 1TB HDs for Spanned Storage/backup volume
Single 2TB external USB enclosure, single 1TB System 7 Host/Boot drive, Pending 8TB external HD for system image b
PSU
Corsair 750TX - primary / Corsair CX600 - second
Case
Antec 900-2 - SSD compatible / NZXT Vulcan mini tower