From: Scott Tiret <stiret@oneredshoe.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] low-level formatting a harddrive
Date: Wed, 19 Oct 2005 12:41:10 -0400 [thread overview]
Message-ID: <1129740070.6142.61.camel@alain.oneredshoe.net> (raw)
In-Reply-To: <20051019162836.17995.qmail@web31711.mail.mud.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1584 bytes --]
On Wed, 2005-10-19 at 09:28 -0700, maxim wexler wrote:
>
> I wonder if there isn't a tiny part of the drive that
> comes before the first partition, like those first few
> grooves on a vinyl record ;-)
There is. You can reset it by using fdisk /mbr (from the Microsoft
Windows boot disk). Or you can try using cfdisk as described below.
man cfdisk
DOS 6.x WARNING
The DOS 6.x FORMAT command looks for some information in the
first sector of the data area of the partition, and treats this
information as more reliable than the information in the partition
table. DOS FORMAT expects DOS FDISK to clear the first 512 bytes of the
data area of a partition whenever a size change occurs. DOS FORMAT will
look at this extra information even if the /U flag is given -- we
consider this a bug in DOS FORMAT and DOS FDISK.
The bottom line is that if you use cfdisk or fdisk to change the
size of a DOS partition table entry, then you must also use dd to zero
the first 512 bytes of that par-tition before using DOS FORMAT to
format the partition. For example, if you were using cfdisk to make a
DOS partition table entry for /dev/hda1, then (after exiting fdisk or
cfdisk and rebooting Linux so that the partition table information is
valid) you would use the command "dd if=/dev/zero of=/dev/hda1 bs=512
count=1" to zero the first 512 bytes of the partition. Note:
BE EXTREMELY CAREFUL if you use the dd command, since a small
typo can make all of the data on your disk useless.
--
Scott Tiret <stiret@oneredshoe.net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-10-19 16:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-18 15:42 [gentoo-user] low-level formatting a harddrive maxim wexler
2005-10-18 16:52 ` Alexander Skwar
2005-10-18 17:16 ` krzaq
2005-10-19 16:28 ` maxim wexler
2005-10-19 16:41 ` Scott Tiret [this message]
2005-10-19 23:29 ` maxim wexler
2005-10-18 17:43 ` Douglas James Dunn
2005-10-18 20:40 ` maxim wexler
2005-10-18 22:06 ` Glenn Enright
2005-10-19 16:44 ` maxim wexler
2005-10-21 13:42 ` Matthias Bethke
2005-10-18 18:05 ` [gentoo-user] " Francesco Talamona
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1129740070.6142.61.camel@alain.oneredshoe.net \
--to=stiret@oneredshoe.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox