LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2003, 11:28 PM   #1
Bodyshop40
LQ Newbie
 
Registered: Dec 2002
Location: TEXAS
Posts: 2

Rep: Reputation: 0
How do I Fdisk my Linux Hard drive


Hello everyone I have tried to fdisk my Linux machine and now I still have a extended partition.
That I can't get to. How do I completely clean the disk without low level formatting it.
When I try to delete the extended partition It tells me that it can be done.
when I try to boot to it I get the Linux start screen and It ask to reinstall Linux. But I cant do that either
CAN ANYONE HELP
 
Old 05-19-2003, 12:12 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I suggest booting into Linux somehow and use fdisk.

Find out the partitioning, delete from highest to lowest, then repartition as you like, then write the partition table.

Use mkfs commands to format
mke2fs /dev/hd<XX> to make ext2 fs, mke2fs -j for ext3, mkswap, mkreiserfs, etc.

# How is the hard drive partitioned?
fdisk /dev/hd<X> -l

# Freeware partitioning software
Look for fips20 on your install CD
Ranish Partition Manager
Tom's Root and Boot Floppy has Linux fdisk
Proper Filesystem Layout

# I hosed my box
LILO mini HOWTO
Multiboot with LILO HOWTO
LILO, Linux Crash Rescue HOW-TO
Installing a bootloader
Multiboot with GRUB Mini-HOWTO
Linux+Win9x+Grub HOWTO
KNOPPIX Linux Live CD
Linux Bootable Business Card
Tom's Root and Boot floppy
Windows 2000 Recovery Console
Windows XP Recovery Console
 
  


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
Hard Drive Upgrade Oddities (fstab/fdisk) blainehilton Linux - General 2 06-04-2005 10:28 AM
did I kill my hard drive using FDISK? jodansmif Linux - Hardware 1 02-24-2004 05:27 PM
Slackware 9.1 fdisk doesnt find hard drive lazyday Linux - Laptop and Netbook 5 02-04-2004 08:57 PM
fdisk unable to read hard drive scottie Linux - Hardware 1 01-10-2004 01:11 PM
fdisk and cfdisk won't detect hard drive Akcel Slackware 9 07-12-2003 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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