Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-04-2004, 01:13 AM
|
#1
|
LQ Newbie
Registered: Sep 2004
Distribution: Knoppix, Fedora?
Posts: 2
Rep:
|
Linux/windows frustrations/ how do I write zeros
This is my first post here, so I hope to get a good answer to my question .
It seems like every time I try to install linux on my computer as a dual boot it turns out more like a duel boot. In this time around, I decied to try fedora core2 and while I was at it, I downloaded the new knoppix 3.6 (in which I am typing this now). I wanted to dual boot windows and fedora. So I started the installation process and when I got to the partioning sceen, I tried to make sure that Linux wouldn't even touch the the hd where windows lived (notice past tense). When I finally tried to reboot back into windows it gave me the dreaded "Operating System boot error" or something to that effect. I attempted to repair the installation (rewriteboot loader, ect.) but still came up with the same thing. I fianlly decided to just reinstall windows. Same problem. Which leads me to my question: I figure that there must be somting corrupted on the first part of the drive, so I want to totally zero the drive. How can I do this using knoppix 3.6? I tried using fdisk /dev/hda, but it said that the drive could not be accesed. Can anyone help me? Any sugestions for how to avoid this in the future would be appreciated, too.
|
|
|
09-04-2004, 01:30 AM
|
#2
|
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513
Rep:
|
With knoppix you can use qtparted, or just parted in the console.
Without knoppix, you can use dban software. dban.sourceforge.net.
|
|
|
09-04-2004, 01:59 AM
|
#3
|
Member
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365
Rep:
|
Hmmmm zeroes across the hard drive? There's an entire endless bucket of them on the system. Try
cat /dev/zero > /dev/hda
|
|
|
09-04-2004, 03:08 AM
|
#4
|
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Rep:
|
amfoster's right, use cat ... but might i suggest a more entertaining device, oh say, the sound device? (while your playing music)... or maybe use "dd" and see if you can take you favorite picture and have it all over your hd
|
|
|
09-04-2004, 03:51 AM
|
#5
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
What type of Windows OS are you using?
What type of filesystem (vfat or ntfs) is windows on?
How is the drive partitioned?
Please note that if you are using XP on an NTFS filesystem you need to use parted or qtparted to resize the partition before you install.
|
|
|
09-04-2004, 10:08 PM
|
#6
|
LQ Newbie
Registered: Sep 2004
Distribution: Knoppix, Fedora?
Posts: 2
Original Poster
Rep:
|
Ok, I got windows back up and running. I am running xp w/ntfs on c:, but I was was installing linux to a totally different hd. I don't know why the other was affected. Oh well. At least I was able to save all of my information with that hd and start from scratch on the original one.
|
|
|
All times are GMT -5. The time now is 11:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|