getting rid of linux 6.1

How do I get rid of the logical and extended linux partitions off my hard drive with 6.1. I have only just started exploring linux so a step by step explanation would be apprietiated.
I have tried to follow the instructions from the book, and from people over irc, but I have no idea what the hell they are talking about. Thanks
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

run dmesg to know the device name of your hard disk (that is, /dev/hda, /dev/hdb, ...)

   # dmesg

you should see something like:

hda: ST34323A, 4112MB w/128kB Cache, CHS=557/240/63
hdb: WDC AC28400R, 8063MB w/512kB Cache, CHS=1092/240/63

if you created the partition on hdb, to delete them, run the command fdisk

   # fdisk /dev/hdb

when you see something like:

   Command (m for help):

enter 'p' to list the partitions then 'd' to delete the partition you want to delete. repeat the process as you wish. 'w' will write the changes, 'q' to quit.
The easy user friendly way to do this, is boot up with a dos floppy, type fdisk,
and delete all non dos partions.
This is the easy way.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.