Re: Clearing hard disk's MBS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-08-09 at 14:17 +0300, Markku Kolkka wrote:
> Irvine Short kirjoitti viestissään (lähetysaika keskiviikko, 9. 
> elokuuta 2006 11:18):
> > On Wed, 2006-08-09 at 08:47 +0200, Przemyslaw Gawronski wrote:
> > > Hi, how can I clean hdd's Master Boot Sector? For example
> > > after I've put there GRUB.
> >
> > dd if=/dev/zero of=/dev/hda bs=1024 count=8192
> >
> > Make sure you get the device right in the line above! Not sure
> > if the count above is enough though.
> 
> It's much too large if you only want to clear the MBR. Use bs=512 
> and count=1 to leave the rest of the disk intact. MBR is just 
> the first 512-byte sector of the boot disk.
> 

Actually the boot record is only the first 446 bytes of sector 0.
The rest of the sector is the partition table.
-- 
Aaron Konstam <akonstam@xxxxxxxxxxxxx>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux