LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to delete hda1 data & File system (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-delete-hda1-data-and-file-system-305846/)

gardenair 03-25-2005 06:02 AM

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

ksgill 03-25-2005 08:00 AM

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.


All times are GMT -5. The time now is 07:20 PM.