How to Change Windows without affecting GRUB or Ubuntu??
I have been using a Dual boot Ubuntu/Win 2000 for a long time, & now want to change my Win 2000 to XP.
But i wanna do this without affecting my Ubuntu or the GRUB..
Can i do this??
I have a single Hard Disk(40 GB)
The bad news: Windows is the proverbial 600 pound gorilla who neither knows nor cares if there's anybody else in the room.
The good news:
a) When you install Windows, just don't lose and don't overwrite your Linux partition(s)
<= JUST PAY ATTENTION DURING THE "HARD DISK SETUP" EARLY IN THE WINDOWS INSTALL, AND YOU'LL BE FINE
b) After Windows is installed, you will only be able to boot to Windows (the grub boot will probably have been lost)
c) It's easy to fix, however. To restore dual-boot, just do something like this (my notes were for SuSE):
1. Boot from CD
2. Selected "Install" boot option.
Selected "Repair installed system" sub-option.
3. Logged on as "root" (no password)
4. Mounted my hard disk:
mount /dev/hda4 /oldroot
5. Ran the *hard disk's* version of grub-install, specifying the
hard-disk as "root dir":
./grub-install --root-directory=/oldroot --force-lba /dev/hda4
<= GRUB-INSTALL SUCCESSFUL
'Hope that helps .. PSM
Well it is a lil different on Ubuntu!!
thanks for the help, but the procedure is somewhat different in Ubuntu.
I used the Ubuntu install cd, to go in Rescue Mode....
There i got a shell, into my ( / ), then i tried installing Grub back.... by...
where /dev/hda where hda is i donno what.
When i did this, all i was left with was the GRUB loader with no choices on it, neither Windows nor linux.......????
Well, where exactly is the GRUB boot loader installed. It shows in the /boot, but i think it is installed in the MBR of my Hard Disk.
How do i specify my MBR???
Is it done using /dev/hda0????
hda1 must be ur c:
The following command installs GRUB to the MBR of the master IDE device on the primary IDE bus:
It should be, /sbin/grub-install /dev/hda.
/dev/hda is the primary drive. It would install onto the MBR of your hard drive.
will this recover my GRUB Menu completely, or i'll have to again add Windows to it manually......?
|All times are GMT -5. The time now is 03:15 AM.|