LinuxQuestions.org
Help answer threads with 0 replies.
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 12-06-2004, 05:50 PM   #1
mjs2020
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
Restoring working but messed up partition table


I got a Slackware10 and WinXPhome on my fujitsu-siemens amiloD laptop.
I partitioned my 20gb hard drive with partition magic to install Linux. Now I want to change some of the partitions put partition magic says the disk is damaged and won't let me do anything. Both OSes are working perfectly.
I probably just need to fix the partition table but I have no knowledge of how to do this. Google has given me some information but not enough.
Here is some info:

This is the partition table as printed by fdisk in linux:
Code:
Disk /dev/hda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot  Start  End    Blocks           ID   System
/dev/hda1 * 1        1402  11261533+  7     HPFS/NTFS
/dev/hda2    1403  2432  8273160       5    Extended
/dev/hda5    1403  1997  4773856+     83  Linux
/dev/hda6    1997  2061  511528+       82  Linux swap
/dev/hda7    2061  2432  2987680+     83  Linux
Verifying the partition table with fdisk in linux tells me:
Code:
878 unallocated sectors
sfdisk -V /dev/hda gives me:
Code:
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Warning: Partition 0 does not start at a cylynder boundary.
I've heard of tools such as gpart, testdisk... but I don't know if they are what I need. I would really like to avoit having to format the whole drive and repartition...
any help would be greatly appreciated.
mjs2020
 
Old 12-06-2004, 06:19 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Warning: Partition 0 does not start at a cylynder boundary."

I don't think that this is anything serious enough to worry about. I suggest that you just ignore the problem.

"Now I want to change some of the partitions put partition magic says the disk is damaged and won't let me do anything."

Use fdisk or parted.

-------------------------
Steve Stites

Last edited by jailbait; 12-06-2004 at 06:23 PM.
 
  


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
Messed up partition table. randrake Linux - General 3 12-15-2005 01:50 PM
Messed up partition table, DOH javamdk Slackware 2 03-17-2005 07:14 PM
Really messed up my partition table scuzzman Linux - Hardware 7 02-04-2005 12:17 PM
MYSQL DROP TABLE not working after restoring from backup. leongoogs Linux - Software 0 06-17-2004 07:16 PM
HELP machine won't boot (partition table messed up???) nfisk Linux - General 7 02-02-2003 05:12 AM

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

All times are GMT -5. The time now is 08:16 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