[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installation of hard drive



On Fri, Jan 25, 2008 at 12:34:56PM +0000, Pantor wrote:
> would you be able to advice please, how to install a second hard drive 
> which have preinstalled Windows. PC booting Windows after hard drive has 
> been plugged in. Windows should be cleared, but how thee partition works?
> 

So, you have a spare drive with windows on it.  You have a computer that
boots linux.  When you put the spare drive in it, it boots windows.

Can you select which drive to boot from a bios menu?

What interface (IDE, SATA, SCSI, etc)?
	if IDE, is the Debian disk the master on first controller (hda)?

Do you have any debian install media?  Can you boot it and get to a
command line?  Check dmesg to determine the device name for the new
drive.  Then:

# dd if=/dev/zero of=/dev/[new_drive] bs=512 count=1024

Should clear enough of the beginning of the drive that the BIOS should
find nothing to boot.

You should then be able to boot the computer normally.

Then use cfdisk and partition the drive as you like.

See the debian-reference for some details.  Also, the Installation
Manual.

Doug.


Reply to: