[opensuse] Trouble reformatting a HDD
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?
On Thu, Mar 6, 2008 at 9:52 PM, Adam Jimerson <vendion@charter.net> 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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Greg Freemyer <greg.freemyer@gmail.com> [03-06-08 22:42]:
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.
It is an external drive, iirc. Wouldn't disconnecting it from the system and reattaching force a re-read? Maybe to a different port... -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 06 March 2008 10:50:02 pm Patrick Shanahan wrote:
* Greg Freemyer <greg.freemyer@gmail.com> [03-06-08 22:42]:
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.
It is an external drive, iirc. Wouldn't disconnecting it from the system and reattaching force a re-read? Maybe to a different port... -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org
I guess so, I took some what of a more forcefull approach and turned off the external via the power switch and turned it back on. After that YaST was able to remove the partitions and created a new one in XFS. For some reason when the partition table was read the first time it listed a /dev/sdb7 which was not there the second time it read it. So I guess I got that error because I tried to remove a partition what never existed.
On Fri, Mar 7, 2008 at 10:52 AM, Adam Jimerson <vendion@charter.net> 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?
please make sure the HDD is not mounted when you reformat it. if your desktop is gnome, you have to disable the auto-mount behavior in control center -> removable drives and media preferences. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Adam Jimerson
-
Eric Shan
-
Greg Freemyer
-
Patrick Shanahan