Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 12-29-2004, 07:24 PM   #1
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
Deleting Windows partition without damaging Linux

Okay, so here's the deal. Up until this point I was dual-booting my main computer. I mostly did it for games and whatnot, but I've finally gotten around to building another computer, and this one is solely for gaming (yes it's Windows, but I've come to the conclusion that Linux isn't as hardcore with gaming as I'd like to be :P). The benefit to this is I no longer need Windows on this computer, but I'm lost as to how I should go about it. I have two HDD, but the first one is the one that has Windows on it, so that's the one I'm looking at. Here's the output from fdisk:

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        2088    16771828+   7  HPFS/NTFS
/dev/hda2            2089        9729    61376332+   f  W95 Ext'd (LBA)
/dev/hda5            2089        2120      257008+  82  Linux swap
/dev/hda6            2121        3366    10008463+  83  Linux
/dev/hda7            3367        9729    51110766   83  Linux
I figured I would just delete /dev/hda1. I had a feeling this (since that's where my computer boots from) would make my machine unbootable, but if I booted up Knoppix (or Slackware rescue) and re-ran LILO and did all that stuff again, should I be in good shape? Or am I missing something?

It doesn't seem like it'd be too tough, but I thought since I'm not in a hurry, I'd ask first.

Old 12-29-2004, 07:44 PM   #2
Senior Member
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
use CFDISK to make your root Linux partition bootable then edit lilo. Then remove Windoze


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
How to bypass 'Grub' after deleting the Linux partition, so that Windows XP can load? Marion D Poff Linux - Software 11 03-15-2011 03:52 PM
Deleting Linux Partition Elader Linux - General 1 04-20-2005 06:01 PM
deleting windows partition rksprst Mandriva 1 01-04-2005 04:33 AM
Deleting Windows Partition LinuxSeeker Mandriva 17 10-18-2004 04:34 AM
how to start linux after deleting boot partition phikapjames Linux - Software 1 07-17-2003 02:48 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:52 AM.

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