Installation - How do I uninstall without messing up the boot or Windows? SentralOrigin - 27.11.2006, 20:09 Uhr Titel: How do I uninstall without messing up the boot or Windows?
I am dual booting with Windows XP and I need more hard drive space so I need to rid of Kanotix for just a few days. How do I remove Kanotix and add it to my Windows XP? I tried something before by deleting the Kanotix partition but when I turned on my computer I got an error and I could not boot into my Windows XP operating system because it couldn't load the GRUB Loader or something but I don't want it, I just want to boot into Windows XP.
hubi - 27.11.2006, 20:17 Uhr Titel:
Take your Win-CD or the rescue-CD and boot into the rescue console (it's sth like dos).
Code:
fixmbr
should bring you the Win-boot back. If not, do
Code:
fixboot
as well.
Just did that for a friend of mine who kicked his installation.
Just my 2000 $ Win support
hubi
SentralOrigin - 27.11.2006, 20:19 Uhr Titel:
Hmm...take me step by step please. I have my Windows XP CD. I put it in and boot with it. I get some options, now what should I do?
Someone just told me to remove Kanotix from the /etc/grub.mbr or something
devil - 27.11.2006, 20:26 Uhr Titel:
even easier,
from kanotix:
Code:
lilo -M /dev/hda -s /dev/null
change that to sda, if its sata
after that, format the kanotix partition & swap
greetz
devil
SentralOrigin - 27.11.2006, 20:27 Uhr Titel:
Oh thank you very much
hubi - 27.11.2006, 20:36 Uhr Titel:
SentralOrigin,
I am definitely no expert like devil on dealing from Linux, and I just try to recall:
you boot into your XP CD and you get some options. One of those is sth like "rescue ..." Choose that, and after a while you get a DOS-like surface and you are asked for the admin-password. Just enter if you do not have one specified. Then you see
Zitat:
C:\
This is where you enter the commands.
Code:
dir | more
gives you the list of the commands, and you will find the correct spelling there.
That should be it for reinstalling the Windows-boot.
But I think devil gave you a better solution: LILO as bootloader. But I have never used that one, actually I do not have any Windows installation left.
devil, what exactly does this do? I understand that the -M "installs a Master Boot Record on the device specified as master-device. The new MBR is copied by default from "mbr.b", which is built into /sbin/lilo (version 22.3), unless a specific file is named as the second argument. The primary partition table on master-device is undistrubed" and the -s tells it to save the old mbr to /dev/null. But does this restore the Windows boot loader? Thanks.