Jump to content

Help! It's all screwed up!


Recommended Posts

Well I finally ran the fix order command, and I'm not sure but I think they are now in order?

Thanks

 

[root@localhost guest]# fdisk /dev/sda

The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb7e61057

  Device Boot	  Start		 End	  Blocks   Id  System
/dev/sda1			   2		2668	21422677+   f  W95 Ext'd (LBA)
/dev/sda2			2158		2159	   10369+   1  FAT12
/dev/sda3   *		5343		9666	34732530	7  HPFS/NTFS
/dev/sda4			   1		   1		8001   83  Linux
/dev/sda5			   2		   2		8001	6  FAT16
/dev/sda6			   3		2157	17310006   83  Linux
/dev/sda7			2160		2668	 4088511   82  Linux swap / Solaris

Partition table entries are not in disk order

Command (m for help): m
Command action
  a   toggle a bootable flag
  b   edit bsd disklabel
  c   toggle the dos compatibility flag
  d   delete a partition
  l   list known partition types
  m   print this menu
  n   add a new partition
  o   create a new empty DOS partition table
  p   print the partition table
  q   quit without saving changes
  s   create a new empty Sun disklabel
  t   change a partition's system id
  u   change display/entry units
  v   verify the partition table
  w   write table to disk and exit
  x   extra functionality (experts only)

Command (m for help): x

Expert command (m for help): x
Command action
  b   move beginning of data in a partition
  c   change number of cylinders
  d   print the raw data in the partition table
  e   list extended partitions
  f   fix partition order
  g   create an IRIX (SGI) partition table
  h   change number of heads
  i   change the disk identifier
  m   print this menu
  p   print the partition table
  q   quit without saving changes
  r   return to main menu
  s   change number of sectors/track
  v   verify the partition table
  w   write table to disk and exit

Expert command (m for help): f
Done.

Expert command (m for help): r

Command (m for help): p

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb7e61057

  Device Boot	  Start		 End	  Blocks   Id  System
/dev/sda1			   1		   1		8001   83  Linux
/dev/sda2			   2		2668	21422677+   f  W95 Ext'd (LBA)
/dev/sda3			2158		2159	   10369+   1  FAT12
/dev/sda4   *		5343		9666	34732530	7  HPFS/NTFS
/dev/sda5			   2		   2		8001	6  FAT16
/dev/sda6			   3		2157	17310006   83  Linux
/dev/sda7			2160		2668	 4088511   82  Linux swap / Solaris

 

It doesn't look in order, it says it will not reorder till I reboot, so I will reboot and post again.

No change after reboot, and when I hit the fix command it says it's already in order, time to bring in the recovery software and move on.

 

Thanks

Link to comment
Share on other sites

  • Replies 46
  • Created
  • Last Reply

Top Posters In This Topic

I think you should change the disk and clean install. It doesn't seem to be anything you can do with this disk - not even recovery software since I have a guess that whatever tool you used before completely screwed it more than it already was.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...