LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-02-2004, 12:09 PM   #1
i286
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora
Posts: 24

Rep: Reputation: 15
Question 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.

Last edited by i286; 01-02-2004 at 12:10 PM.
 
Old 01-02-2004, 12:49 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,061

Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
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.
 
Old 01-02-2004, 01:48 PM   #3
i286
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
Old 01-02-2004, 05:33 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,061

Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
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.
 
Old 01-02-2004, 05:40 PM   #5
Nukem
Member
 
Registered: May 2003
Location: Canada, TO.
Distribution: Slackware: in progress, Mandrake 9.2, Libranet, Vector
Posts: 373

Rep: Reputation: 30
and just a quick question. What's the difference between "grub" and "lilo"?
 
Old 01-02-2004, 09:33 PM   #6
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 199

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
recovering from grub-install /dev/hda1 deleting windows XP boot loader Steve Mading Linux - Software 7 02-22-2010 08:53 PM
Deleting LILO & Dual Boot IceBlink Linux - Newbie 1 08-22-2005 05:35 AM
Stuck at Grub2 prompt after deleting Linux partition of dual boot alcorta Linux - Software 3 07-09-2005 12:12 AM
How do I dual boot Linux and Windows XP from Windows boot file andyri Linux - Newbie 4 08-04-2004 11:09 PM
deleting os selection on dual boot In2Fords Linux - Newbie 4 12-22-2003 07:38 AM


All times are GMT -5. The time now is 05:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration