LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-14-2005, 12:49 AM   #1
cornleader
LQ Newbie
 
Registered: Feb 2005
Location: East Coast, Canada
Distribution: Ubuntu
Posts: 16

Rep: Reputation: 0
Partition begins after end-of-disk


I think I fried a hard drive. I was about to transfer a file from a Gentoo box to a Slackware box. I opened the shared dir on the slackware box and it hung. Then I tried to access the same shared folder over the network and same thing. Thats when I noticed the Slackware box locked up. It was locked up solid. My keyboard lights were flashing on and off. I had to press the restart button. After 15 minutes of inode checking the machine told me to enter my root password to enter maintenance mode or something. I ran e2fsck -v -y on /dev/hda and restarted a few times and the machine finally booted. When I started X I noticed that some of my settings were wrong like window styles and colors and silly stuff like that and there were a few extra icons in my tray. Thats when I noticed the drive I was trying to access originally was screwed. (hdb)

When I run cfdisk /dev/hdb I get this...
Quote:
FATAL ERROR: Bad primary partition 0: Partition begins after end-of-disk
When I run fdisk i get this...
Quote:
Disk /dev/hdb: 8190 MB, 8190443520 bytes
255 heads, 63 sectors/track, 995 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2089 4521 19535264+ 83 Linux
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(2, 3, 1) logical=(2088, 179, 11)
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(4520, 186, 18)
/dev/hdb2 2433 4867 19551105 83 Linux
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(1023, 254, 63) logical=(2432, 8, 9)
Partition 2 has different physical/logical endings:
phys=(1023, 254, 63) logical=(4866, 8, 8)
/dev/hdb3 2089 4178 16777472 0 Empty
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(2, 2, 0) logical=(2088, 178, 11)
Partition 3 has different physical/logical endings:
phys=(2, 2, 0) logical=(4177, 101, 20)
Partition 3 does not end on cylinder boundary.
/dev/hdb4 2089 4178 16777472 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(2, 2, 0) logical=(2088, 178, 11)
Partition 4 has different physical/logical endings:
phys=(2, 2, 0) logical=(4177, 101, 20)
Partition 4 does not end on cylinder boundary.
I noticed that the drive is showing that it is only 8190MB when its a 40 gig drive and its also wrong in bios. It only shows 8 gigs there as well. I cant run e2fsck on this drive either.

Is this drive totally screwed ar can it be repaired?
 
Old 04-14-2005, 09:18 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
That is pretty wierd. Is there anything on this drive you want to keep?

Have you tried a power off, wait a few minutes, and power back on?

You might need to low level format it. It has been a long time since I low level formatted an IDE drive; I'd have to research it, but in spite of what some people will tell you it is possible.

What brand/model of drive? (It matters considerably since low level formatting is different depending on brand...)

Last edited by jiml8; 04-14-2005 at 09:26 PM.
 
Old 04-14-2005, 09:40 PM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
As I think further about it, I am forced to wonder. How old is this computer? Do you need some kind of disk manager for the HD to compensate for an old BIOS? Perhaps the drive is reporting the wrong size because the disk manager needs to be reinstalled?

Have you done an fdisk/mbr?
 
Old 04-15-2005, 09:45 AM   #4
cornleader
LQ Newbie
 
Registered: Feb 2005
Location: East Coast, Canada
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
How do I do a fdisk/mbr?

I am thinking that the drive is just screwed. I only use it to store data but I would like to recover the data that is on it.
I have had strange things happen to this computer before because of an issue with this drive. One time I tried to mount it and it locked up the machine so bad It screwed up my boot drive and I couldn't restart the machine so I had to reinstall slackware.

I'm not sure of the model of the drive but I am sure it's an older Maxtor.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Partition 1 does not end on cylinder boundary wood_morris Linux - Newbie 6 08-28-2009 04:57 AM
I have quite a few badblocks at the end of the disk. Is it OK? kornerr Linux - General 1 08-12-2005 01:46 PM
Partition ends after end-of-disk. lhto Linux - Hardware 1 06-19-2004 07:20 AM
Partition does not end on cylinder boundary. snisheeth Linux - Hardware 0 01-24-2004 04:49 PM
Ran out of disk space at the end of chapter 6!! DarkDrive Linux From Scratch 4 08-22-2003 04:15 AM

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

All times are GMT -5. The time now is 12:06 PM.

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