Deleting windows on dual boot
Hi,
I have a dual boot with windows XP and Fedora Core 1. When I installed the system I first made a 30 GB partition for windows and installed it there. Then made a linux installation for remaining 25 GB on the same hd. If I now wanted to destroy my windows would it be possible to destroy windows and get that hd space for the partition that Linux is installed. AFAIT grub loader has it's boot loading stuff on that windows partition as it is the first partition of hd. So is it possible to destroy windows and get that space on linux partition without reinstalling Linux. And what about grub. Or am I totally lost here? Thanks in advance. |
Is grub installed on the MBR?
If you delete the windows partiton and resize an existing partition then you will need to modify the grub.conf file. You can also reformat the windows parition to a linux partition and then mount as an example /usr or /home to increase space without resizing. |
Yes grup is installed on the MBR, I think. The thing what I'm not sure about is that the windows partition is the first partition on disc. Maby I should add the Linux partition to the windows partition and not vice versa (umm does it make any difference). Does linux have any commands for this? And what about grub, if the partition that grub has its boot sector is formatted should it be removed or is there a format command that doesn't destroy boot sector?
Maby I'll just google for more information about this. |
The MBR is seperate from the 1st partition. If you do not delete the windows partition then linux should still boot correctly. You need to edit grub.conf to remove the option to boot windows.
Use fdisk, cfdisk or parted to change the partition's filesystem type Use mkfs to format the partition. |
and just a quick question. What's the difference between "grub" and "lilo"?
|
Quote:
With GRUB after changing the grub.conf file, you don't have to do anything else. With LILO you have to run "/sbin/lilo" as superuser after making any changes to the lilo.conf file as the MBR is not updated automagically as it is with GRUB. |
All times are GMT -5. The time now is 03:37 PM. |