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 Empty
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 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
How to delete hda1 data & File system
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: How to delete hda1 data & File system
the boot loader is only the first 512 bytes, not 512 kbytes. of course, you might have something else in that first 512kbytes of your hard drive -- i don't know.
the command posted up above should work. just change the 400 to 512.
the command posted up above should work. just change the 400 to 512.
-
- Naik
- Posts: 56
- Joined: Wed Apr 06, 2005 12:45 am
- Location: Islamabad
looks like some File system bug /wrong partition table or something
i really dont thing its a boot loader problem but seems like your kernel is having some problem reading your partition table.
if you just wanna try installing a new boot loader then use grub-install or lilo to reload the boot manager.
if that doesn't help then try repartitioning atleast hda1
i really dont thing its a boot loader problem but seems like your kernel is having some problem reading your partition table.
if you just wanna try installing a new boot loader then use grub-install or lilo to reload the boot manager.
if that doesn't help then try repartitioning atleast hda1
To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work on it, writes Scott Granneman.
Digital Thinker
Digital Thinker
-
- Major General
- Posts: 1024
- Joined: Thu Jul 04, 2002 5:31 pm
- Location: Karachi/Pakistan/Earth/Universe