LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-08-2007, 12:56 PM   #1
spjoal
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
Deleting a paritition having Win XP using fdisk


I have Mandriva 2006 running on my host. I have Win XP also installed.What do I need to do to delete XP from the partition table using fdisk.

This is what fdisk shows me when i "fdisk -l".


Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 764 6136798+ 83 Linux
/dev/hda2 * 765 7295 52460257+ 7 HPFS/NTFS

Thx for the help
Joe
 
Old 07-08-2007, 01:07 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
fdisk has a "help" function of sorts.....

Do this:
fdisk /dev/hda ---you will see a command prompt + a message "m for help"

For example: "d" to delete a partition

Also see "man fdisk"

Note: You don't have a swap partition for Linux--You can make one with fdisk
 
Old 07-10-2007, 01:42 AM   #3
spjoal
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
What is the command that I need to type to get rid of the Win XP partition?? I tried man fdisk..... wasn't rather helpful though. Appreciate you help. Sorry if the question sounds stupid

Last edited by spjoal; 07-10-2007 at 01:45 AM.
 
Old 07-10-2007, 02:50 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Did you not bother reading pixellany's post? Run "fdisk /dev/hda", select the partition you want to delete and press "d".
 
Old 07-10-2007, 06:17 PM   #5
spjoal
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Apologies.... I did read the note. thank you both for your help.
 
  


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
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
WOL lin->win fails, win->win works? c0uchm0nster Linux - Networking 1 01-07-2007 11:33 PM
Paritition Magic and Slackware 10.2 Mercurius Slackware 7 02-20-2006 12:17 PM
Deleting ext3 with rescue disk fdisk onlyhuman9 Linux - General 2 01-27-2005 10:13 PM
after deleting win partition I am getting "kernel panic" c_mitulescu Mandriva 1 02-04-2004 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:40 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