Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think the bs=446 will nuke the MBR portion of the boot loader. The rest can be inside the rest of the boot sector which is the track 0. Norton Ghost for example can store the entire cloning program inside the boot sector when exiting Xp, reboots and fires up the cloning program in DrDos.
Mind you syg00 is right in saying hdX will take a long time as you are cleaning up the entire disk.
"Boot viruses" as they are known in the windoze world must exist in the area reserved for executable code in the MBR.
Generally they use "unused" areas within that 446 byte range.
My first foray into intel assembler code was to hand de-code the Michaelangelo virus that had eaten one of our office machines.
What a piece of work that was - code in its most extreme simplicity.
I still have an "infected" floppy for educational purposes.
Thank you for your answers. I was planning to wipe the disk anyway so I'll just let it work for a few hours. I don't think I have caught any virus, just wanted to be sure 'dd' would do the trick.
Another question about the blocksize: the default bs is 512 bytes. Is a 'dd' with decreased blocksize more accurate/slower?
It's obviously needed if one wants to take care about a smaller part of a storage device - but is there more to it than just that?
Nope - was required in that case.
For doing a whole disk think about using a *large* blocksize. I use 4k out of habit, but no reason (other than memory maybe) not to use something significantly larger.
Will speed things up nicely.
Is your post in the wrong thread? Why would you need to shut your mouth in the very first post to thread?
Being human I am not always right and am just learning from others experience here. For example syg00 has taught me something about boot viruses that I am not aware of.
Nobody needs to shut up. If he/she has something to bring to the table the more the merrier.
Thought I would spark interest from the thread starter, not ruffle your feathers, but then again, I was looking for both. You and I are somewhat two of a kind, we should converse through the e-mail link associated with our forum names rather than duke it out in a public place. I'ts 7 am here, time to hit the hay, please talk to me, I'll respond in due time. (When I awake).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.