LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Deleting Windows partition without damaging Linux (https://www.linuxquestions.org/questions/linux-general-1/deleting-windows-partition-without-damaging-linux-271703/)

GT_Onizuka 12-29-2004 07:24 PM

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:

Code:

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.

Thanks :D

SlackerLX 12-29-2004 07:44 PM

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


All times are GMT -5. The time now is 12:40 AM.