Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11815 - Dangerous instructions while installing.
Summary: Dangerous instructions while installing.
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stoyan Zhekov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-08 21:25 UTC by Steven Wagner
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Wagner 2002-12-08 21:25:44 UTC
Shouldn't there be some sort of notice explaining to the user that rather then
this just being a "very good idea", that it also might result in a loss of data?

"
Before creating your partitions, it is a very good idea to initialize the
beginning of your HD using dd. Doing this will ensure that you have no issues
with mounting previously fat32 partitions, like /boot  for example. To do this
you would do: 

Code listing 6.1: Initializing first 1024 Sectors of HD
# dd if=/dev/zero of=/dev/hdaBOOT bs=1024 count=1024 
BOOT is the partition that holds your /boot.
"
Comment 1 Jungmin Seo (RETIRED) gentoo-dev 2002-12-11 19:21:03 UTC
some people do not have '/boot' 

please take it into count.

J.
Comment 2 Stoyan Zhekov (RETIRED) gentoo-dev 2003-01-15 21:49:22 UTC
fixed in the CVS:

# dd if=/dev/zero of=/dev/hdxy bs=1K count=1
Replace /dev/hdxy with the device you wish to "clean."

Warning: The command above will destroy all data from /dev/hdxy. Be careful and
check twice which partition you specify for zeroing. If you make a mistake it
might result in a loss of data.