[Lvlug] FC4 partitioning?
Yoav Sassoun
Yoav_Sassoun at liz.com
Tue Oct 18 13:04:04 EDT 2005
'error informing the kernel about modifications to partition /dev/hda2-
Device or resource busy. This means Linux won't know about any changes
you made to /dev/hda2 until you reboot- So you shouldn't mount it or use
it in any way before rebooting'
_ _
|Ignore| |Cancel|
When I power cycled (as opposed to Ctrl Alt Delete) the box and
re-installed with disk druid the box booted and no complaints..?.
Next time I will:
dd if=/dev/zero bs=512 count=4 of=/dev/had
Thanks!
-Yoav
*DISCLAIMER: The information contained in this e-mail may be
confidential and is intended solely for the use of the named addressee.
Access, copying or re-use of the e-mail or any information contained
therein by any other person is not authorized. If you are not the
intended recipient please notify us immediately by returning the e-mail
to the originator.
-----Original Message-----
From: lvlug-bounces at thelinuxlink.net
[mailto:lvlug-bounces at thelinuxlink.net] On Behalf Of Caleb Shay
Sent: Monday, October 17, 2005 9:57 PM
To: lvlug
Subject: Re: [Lvlug] FC4 partitioning?
Darryl Gibson wrote:
> <snip>
> Ok, I'll give it a try soon. Would you mind going into some detail as
> to what that does? I could probably decipher it after spending an hour
> or two RTFMing, but I suspect you could explain it in 30 seconds?
dd takes data from 'if' (in-file) and writes it to 'of' (out-file) in bs
(block-size) chunks, repeating forever or until 'count' is reached or
'of' fills up
so:
dd if=/dev/zero bs=512 count=4 of=/dev/hda
would read 512 byte blocks from /dev/zero (which just spits out nulls)
and write them into /dev/hda (the first ide drive) 4 times, for a total
of 2048 bytes, effectively zeroing out your partition table, mbr, and a
little bit afterwards just to be sure :)
This guarantees that your partition table and mbr are entirely clean
with no remnants of previous operating systems/boot loaders hanging
around.
Caleb
--
Best Practices
Making sure your blunders are popular ones. Rationally, this term
should mean "methods that meet professional standards of competence and
due care", but tends instead to be a managerial code phrase meaning "If
anything goes wrong, I want to escape being a specific target of blame
by pointing out that our hapless cock-up was the same one countless
others made, too."
_______________________________________________
Lvlug mailing list
Lvlug at thelinuxlink.net
https://www.thelinuxlink.net/mailman/listinfo/lvlug
More information about the Lvlug
mailing list