LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Deleting windows on dual boot (https://www.linuxquestions.org/questions/linux-general-1/deleting-windows-on-dual-boot-130860/)

i286 01-02-2004 11:09 AM

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.

michaelk 01-02-2004 11:49 AM

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.

i286 01-02-2004 12:48 PM

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.

michaelk 01-02-2004 04:33 PM

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.

Nukem 01-02-2004 04:40 PM

and just a quick question. What's the difference between "grub" and "lilo"?

Poprocks 01-02-2004 08:33 PM

Quote:

Originally posted by Nukem
and just a quick question. What's the difference between "grub" and "lilo"?
LILO stands for LInux LOader, and is the older, more tried-and-true bootloader. GNU GRUB (GRand Unified Bootloader) is newer, and can be made more eye-pleasing and more customizable than LILO.

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.