LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-17-2009, 04:40 PM   #1
kwikness
Member
 
Registered: Apr 2006
Location: MA
Distribution: Slackware 13
Posts: 67

Rep: Reputation: 15
Deleting the Boot Partition


Hi, I have my hard drive partitioned into 3 partitions with one operating system on each partition, as follows:
  1. Windows XP
  2. Windows 7
  3. Slackware 13.0
I want to delete the Windows XP partition to free up space on my hard drive, but I'm afraid that it will corrupt or delete the LILO bootloader and prevent me from loading either of the other 2 operating systems.

What should I do? Can I save and restore the bootloader and its configuration somehow?
 
Old 10-17-2009, 05:51 PM   #2
buggyazyn
LQ Newbie
 
Registered: Jul 2009
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Hi kwikness,

I belive that you could delete the Windows XP partition without problems unless lilo is install in the Windows XP partition.

To make a lilo backup, just copy the /etc/lilo.conf to another device (maybe a usb drive) from slackware.

If something goes wrong, insert the slackware dvd (or cd) and run
# lilo -C /path_to_file/lilo.conf.

Have any doubts, just ask.

Good day
 
Old 10-17-2009, 06:47 PM   #3
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 218

Rep: Reputation: 46
The problem with deleting a partition is that it can change the partition numbers of those partitions that follow it. This will not happen if the windows partition is a primary partition and slack is on a logical partition on the extended partition. I deleted a partition once and then could not boot because of this number change.

You could delete windows and keep the partition for some other use. Either way, as buggyazyn said, you will not lose what is in the mbr.
 
Old 10-17-2009, 07:02 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
I deleted a partition once and then could not boot because of this number change.
Good point! In the OP's case, it might be best to just reuse it without first deleting it. Just use cfdisk (or your favorite partitioning program) and change the partition type. Then put a filesystem on it and put it to work. Don't forget to remove it from lilo.conf.
 
Old 10-17-2009, 07:35 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
if win 7 is anything line vista IMHO i would rather have XP over 7
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting boot partition chetana Linux - Newbie 3 04-07-2006 12:29 PM
Stuck at Grub2 prompt after deleting Linux partition of dual boot alcorta Linux - Software 3 07-08-2005 11:12 PM
Win2K boot failure after deleting linux partition escape Linux - General 6 08-12-2003 02:21 PM
how to start linux after deleting boot partition phikapjames Linux - Software 1 07-17-2003 02:48 AM
Deleting NTFS Boot partition spaceape Linux - Newbie 3 01-09-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration