Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-25-2005, 06:02 AM   #1
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
How to delete hda1 data & File system

I want to delete all data in the first (start) area of the Hard Disk may be fist 512 kb which the operating
keeps its booting information.In Red Hat 8 i choose option F5 (Linux rescue) & write at prompt the command

#sfdisk -l

Drive Boot Start End #Cyls #Blocks ID System

/dev/hda1 * 0+ 228 229- 461632+ 6 FAT16

/dev/hda2 0 - 0 0 0 0 Empty

/dev/hda3 0 - 0 0 0 0 Empty

/dev/hda4 0 - 0 0 0 0 Empty

when the computer boot after loading it stop i.e Kernel panic .

I want to delete the hda1 so that all variables should be delete which are booting the
system. Aslo guide me that what is ID which is showing 6 here.

Old 03-25-2005, 08:00 AM   #2
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
cfdisk from commandline should show you a list of drive locations and then you should be able to delete the partition hda1. Do this as root.


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
file system problem? data lost Tinku Linux - General 3 11-26-2005 06:21 PM
how to amount hda1 (win xp pro-ntfs) hda5 (data) and cdrom (cd-rw) yohanes Linux - Hardware 2 08-30-2005 03:45 AM
Help needed to recover data from ext3 file system where mkfs was issued accidentally kapilsampath Linux - General 4 04-26-2005 07:52 AM
how to recover data ? my file system is currupt! skvasistha Linux - Software 3 11-22-2004 09:16 PM
Sharing internet & file system between Windows98 & Redhat9 cjs_pro Linux - Networking 2 07-15-2004 07:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration