LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-30-2004, 02:39 AM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
questions about installing a second drive.


My friend let me borrow a roughly 8 gig harddrive to mess around with installing linux on. I read on here about zero filling to clean the drive up to get it ready to install on. They mentioned doing it from a live cd distro. But i asssume that is if your doing it to the only drive in the box. My question is can i do it from fedora core 2 on the first drive. Also i used dmesg to see if the install went alright.

hdb: 16514064 sectors (8455 MB) w/512KiB Cache, CHS=16383/16/63
hdb: hdb1

with that line i assume it is refering to the second drive. But i want to know if there any commands more gear towards harddrives that would let me inspect it moreso? And one last question is when i install a distro would it ask me where to install or do i have to do something special to make sure it installs on the second harddrive? I don't want to accidently overwrite anything, that is why im borrowing the drive.
 
Old 12-30-2004, 06:25 AM   #2
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
i tried using the zero fill technique to clean my drive that i saw in a tutorial on LQ. the command is:

dd if=/dev/zero of=/dev/hda/ bs=1M

when i tried it said " dd: opening `/dev/zero/': Not a directory"

If i create that directory will the zero fill work? I don't really understand what that command means just that it would supposedly clean my harddrive.

here is where i heard about this from.

http://www.linuxquestions.org/questi...icle&artid=329
 
Old 12-30-2004, 08:36 AM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
You don't have to zero fill the drive to install linux on it. Just be sure to select manual partitioning during the install and be sure that the partitions you create for linux are on the drive which you want to use. That's most likely /dev/hdb in your case.

dd if=/dev/zero of=/dev/hdb bs=512 count=1
That doesn't really zero the drive, just the MBR and partition table of that drive.
If you really really really do need to zero the drive, which you don't then you need to do abit more searching.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
More external hard drive questions -.-' lashnjo Linux - General 1 06-23-2005 02:38 PM
Hard Disk Drive Questions Cyberian Linux - Hardware 3 01-02-2005 12:44 AM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM
Hard Drive Upgrade Questions. rvijay Linux - Hardware 13 12-26-2003 12:54 PM
2 questions(Re: backup to scsi tape drive) ascii2k Linux - General 5 07-16-2001 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration