Cant partition sdb 200gb existing drive

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help

Cant partition sdb 200gb existing drive

Postby ufoforever on Wed Oct 08, 2008 5:24 pm

I was having trouble formatting my second harddisk to ext3 or anything. I go into gparted and it doesnt read hdb to partition it. The drive already has partitions on it, and you can access the partitions through my computer, but no partitioning can be done because it cant read it to partition..

How do I partition a large drive that already has partitions on it? note it is a Western Digital 200 gig drive. I can partition it inside windows, but i dont want ntfs or fat.

Does anyone know how I can partition my second drive in linux?

Do I need to change the jumper on the secondary drive?

Thanks in advance.

-Scott
ufoforever
Level 1
Level 1
 
Posts: 4
Joined: Tue Oct 07, 2008 2:56 pm

Linux Mint is funded by ads and donations.
 

Re: Cant partition sdb 200gb existing drive

Postby Husse on Thu Oct 09, 2008 5:43 am

Judging from what you write this is a IDE disk on the same ribbon cable as another disk
One of the disks (preferably the one that's booting, but not necessarily so) must be set as master and the other as slave or the computer will fail miserably even with risk of data loss.
I always recommend to have hard disks as master on separate IDE cables and the optical units as slaves
This can actually influence even partitioning under rare circumstances
I think it's more likely that there's a flag on it set by some application (could be a virus as you have Windows - check the size carefully)
If you want all data gone you might make only one partition in Windows + quick format and then try to format to ext3
Experiment - unless you are really careless it can't hurt, but you have of course to protect the other drive
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Cant partition sdb 200gb existing drive

Postby Mr. Blue on Thu Oct 09, 2008 5:00 pm

If you directly point gparted to the drive from the terminal

Code: Select all
sudo gparted /dev/hdb


what kind of error message do you see?
User avatar
Mr. Blue
Level 2
Level 2
 
Posts: 69
Joined: Sun Jul 13, 2008 9:25 pm

Re: Cant partition sdb 200gb existing drive

Postby Husse on Thu Oct 09, 2008 6:49 pm

It's most likely /dev/sdb
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Cant partition sdb 200gb existing drive

Postby ufoforever on Thu Oct 09, 2008 6:53 pm

Warning:
Unable to detect filesystem! Possible reasons are:
-The filesystem is damaged
-The filesystem is unknown to gparted
-There is no filesystem available. (unformatted)


the other partitions existing read just fine windows 2000 and mint elyssa. The issue is finding a program that will be capable to partition them or howto part them.

When i get a little more time i will check the cables and jumpers .
ufoforever
Level 1
Level 1
 
Posts: 4
Joined: Tue Oct 07, 2008 2:56 pm

Re: Cant partition sdb 200gb existing drive

Postby Husse on Fri Oct 10, 2008 6:24 am

Just to rule it out - it's not partitioned in a Mac is it?
You could try to wipe the MBR
I would strongly recommend to disconnect any other drive when you do this - no responsibility what so ever is taken for the result
You can't damage the drive but you could wipe the wrong disk completely clean
If you boot with the live CD and only have one disk connected it is sda
dd if=/dev/zero of=/dev/sda bs=512 count=1
If you have another disk connected that might be sda
This fills MBR with zeros
After that command the disk is cleared of all content - it's still there but you need specialist skills to read it
However it should be possible to use gparted to partition and format now - do that from the live CD while you're at it
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Cant partition sdb 200gb existing drive

Postby Mr. Blue on Fri Oct 10, 2008 4:34 pm

...partition in Windows... and then try to format to ext3


I like that idea. May be a safer first step before hitting the MBR.

That being said, starting from the beginning (with the MBR) may get around a lot of unnecessary hassle.
It'll be easier to move forward from there.

My 2c. :)
User avatar
Mr. Blue
Level 2
Level 2
 
Posts: 69
Joined: Sun Jul 13, 2008 9:25 pm

Re: Cant partition sdb 200gb existing drive

Postby Fred on Fri Oct 10, 2008 5:50 pm

ufoforever,

This one looks a bit suspect. I think Husse has pointed you in the right direction. I would try using the latest stable version of Gparted live cd and connecting only the suspect disk to your system. Boot the live Gparted cd and see if it will read the disk's partition table. If Gparted shows an unreadable disk, I would strongly suspect you have some kind of virus residing in the first 512 byte sector. Especially since Windows doesn't seem to notice it.

If this is the case, the dd command is your friend. Use the command Husse gave you but I would suggest using count=1000. This will ensure that the header area after the boot sector is cleared too.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: Google Adsense [Bot] and 15 guests