LinuxQuestions.org
Visit Jeremy's Blog.
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 07-20-2007, 06:56 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
how to delete a partition


/sbin/fdisk -l /dev/sdd

Disk /dev/sdd: 18.2 GB, 18210036736 bytes
255 heads, 63 sectors/track, 2213 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 298 2393653+ fd Linux raid autodetect
/dev/sdd2 299 935 5116702+ fd Linux raid autodetect
/dev/sdd3 936 1572 5116702+ fd Linux raid autodetect
/dev/sdd4 1573 2213 5148832+ f Win95 Ext'd (LBA)
/dev/sdd5 1573 2082 4096543+ fd Linux raid autodetect
/dev/sdd6 2083 2213 1052226 fd Linux raid autodetect


I would like to remove all all partition and group them into one partition , i tried fdisk
/dev/sdd then press "d" , it ask which partition , i then try from 1 to 6 , but it still not work , can advise what is wrong ? thx


a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)

Command (m for help): d
Partition number (1-6):

Last edited by ust; 07-20-2007 at 07:04 AM.
 
Old 07-20-2007, 06:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well that's correct, yes. you need to hit w to write at the end too though, if you missed that.
 
Old 07-20-2007, 07:11 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by acid_kewpie
well that's correct, yes. you need to hit w to write at the end too though, if you missed that.
I got it , thx much.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How would I delete a partition? TroyR Linux - Newbie 3 03-13-2005 10:15 AM
Delete Linux partition oldi Linux - Newbie 7 12-07-2004 10:47 AM
delete third partition (what happens?) invasian Linux - General 1 09-24-2004 04:33 PM
Cannot Delete Partition Tweaker Linux - Newbie 7 02-25-2003 06:55 PM
how to delete an partition qanopus Linux - General 3 12-03-2002 08:16 AM

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

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