LinuxQuestions.org
Visit Jeremy's Blog.
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 03-25-2005, 07:02 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Rep: Reputation: 31
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.

Thanks
 
Old 03-25-2005, 09:00 AM   #2
ksgill
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.
 
  


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


All times are GMT -5. The time now is 04:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration