Re: [opensuse] Trouble reformatting a HDD On Thu, Mar 6, 2008 at 9:52 PM, Adam Jimerson  wrote:
> I have bought a external HDD enclosure, and I have a 60 GB HDD in it.  The
>  problem is the hard drive currently in there is a old one that I used with
>  winblows and SuSE 10.1.  Now I am wanting to use this as a back up drive so I
>  want to get rid of the current partitions and make a new one, I am thinking
>  XFS would be good for this?  Anyways I am trying to use the YaST2
>  partitioner, due to the fact I have no clue how to use fdisk, and when it
>  tries to remove the current partitions (NTFS and reseirFS) YaST2 gives me the
>  following error:
>  "Error
>  Failure occurred during following action:
>  Deleting partition /dev/sdb7
>
>  System error code was: -1014"
>
>  Any clue as to what is going wrong?
>

Adam,

If you want to totally eliminate the current partition setup, then
this will do it:

dd if=/dev/zero of=/dev/sdX  count=1

reboot (to force the partition table to be re-read)

At that point Yast should work fine.

I'm sure there is a way to force the reread of the partition table
without reboot, but I don't know what the command is.

Greg
-- 
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com


