Re: [Cooker] fdisk core dumps when fixing partition-table

2002-04-02 Thread Pixel

Joe Baker [EMAIL PROTECTED] writes:

[...]

  # fdisk -l /dev/hda

[...]

  /dev/hda12 4111  4866   6069073+  a5  FreeBSD
 
 Did anybody hapen to notice that /dev/hda12's end number is beyond
 the total number of cylinders?

fdisk is not able to handle the real size of the device, it is loosing a few
sectors, so don't trust it too much.

If you want a more valid non-diskdrake tool, try parted.




Re: [Cooker] fdisk core dumps when fixing partition-table

2002-03-22 Thread Felix Miata

andre wrote:
 
 This is my partition table, and if you look at hda12 you see that that
 doesn't look right. I made that with diskdrake but now i want to delete it
 and that doesn't seem to work because fdisk core dumped itself before writing
 the partition-table. How do you fix this
 
 # fdisk -l /dev/hda
 
 Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
 Units = cylinders of 16065 * 512 bytes
 
Device BootStart   EndBlocks   Id  System
 /dev/hda1   * 1  1214   9751423+   c  Win95 FAT32 (LBA)
 /dev/hda2  1215  1444   1847475   4f  QNX4.x 3rd part
 /dev/hda3  1445  4110  214146455  Extended
 /dev/hda5  1445  1769   2610531   83  Linux
 /dev/hda6  1770  1819401593+  82  Linux swap
 /dev/hda7  3059  3346   2313328+  83  Linux
 /dev/hda8  3347  3728   3068383+   7  HPFS/NTFS
 /dev/hda9  1820  2390   4586526   83  Linux
 /dev/hda10 2391  3058   5365678+  83  Linux
 /dev/hda11 3729  4110   3068383+  83  Linux
 /dev/hda12 4111  4866   6069073+  a5  FreeBSD
 
 Partition table entries are not in disk order
 
 #fdisk /dev/hda
 Command (m for help): d
 Partition number (1-12): 12
 
 Command (m for help): w
 Maximale bestandsgrootte overschreden (core dumped)

http://www.fsys.demon.nl/dfsee.htm
http://groups.yahoo.com/group/dfsee-support/

Note author is on holiday until 31 March.
-- 
And we know that all things work together for good to them that
love God, to them who are the called according to His purpose.
Romans 8:28 KJV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.members.atlantic.net/





Re: [Cooker] fdisk core dumps when fixing partition-table

2002-03-22 Thread andre

 
 This is my partition table, and if you look at hda12 you see that that 
 doesn't look right. I made that with diskdrake but now i want to delete it 
 and that doesn't seem to work because fdisk core dumped itself before writing 
 the partition-table. How do you fix this
 
 # fdisk -l /dev/hda
 
 Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
 Units = cylinders of 16065 * 512 bytes
 
Device BootStart   EndBlocks   Id  System
 /dev/hda1   * 1  1214   9751423+   c  Win95 FAT32 (LBA)
 /dev/hda2  1215  1444   1847475   4f  QNX4.x 3rd part
 /dev/hda3  1445  4110  214146455  Extended
 /dev/hda5  1445  1769   2610531   83  Linux
 /dev/hda6  1770  1819401593+  82  Linux swap
 /dev/hda7  3059  3346   2313328+  83  Linux
 /dev/hda8  3347  3728   3068383+   7  HPFS/NTFS
 /dev/hda9  1820  2390   4586526   83  Linux
 /dev/hda10 2391  3058   5365678+  83  Linux
 /dev/hda11 3729  4110   3068383+  83  Linux
 /dev/hda12 4111  4866   6069073+  a5  FreeBSD
 
 Partition table entries are not in disk order
 
 
 
 #fdisk /dev/hda
 Command (m for help): d
 Partition number (1-12): 12
 
 Command (m for help): w
 Maximale bestandsgrootte overschreden (core dumped)
 

Tried it with a rescue cd. It works. Seems more something to do with
msec/quota than with fdisk itself.




Re: [Cooker] fdisk core dumps when fixing partition-table

2002-03-22 Thread civileme

andre wrote:

This is my partition table, and if you look at hda12 you see that that 
doesn't look right. I made that with diskdrake but now i want to delete it 
and that doesn't seem to work because fdisk core dumped itself before writing 
the partition-table. How do you fix this

# fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

   Device BootStart   EndBlocks   Id  System
/dev/hda1   * 1  1214   9751423+   c  Win95 FAT32 (LBA)
/dev/hda2  1215  1444   1847475   4f  QNX4.x 3rd part
/dev/hda3  1445  4110  214146455  Extended
/dev/hda5  1445  1769   2610531   83  Linux
/dev/hda6  1770  1819401593+  82  Linux swap
/dev/hda7  3059  3346   2313328+  83  Linux
/dev/hda8  3347  3728   3068383+   7  HPFS/NTFS
/dev/hda9  1820  2390   4586526   83  Linux
/dev/hda10 2391  3058   5365678+  83  Linux
/dev/hda11 3729  4110   3068383+  83  Linux
/dev/hda12 4111  4866   6069073+  a5  FreeBSD

Partition table entries are not in disk order



#fdisk /dev/hda
Command (m for help): d
Partition number (1-12): 12

Command (m for help): w
Maximale bestandsgrootte overschreden (core dumped)


Tried it with a rescue cd. It works. Seems more something to do with
msec/quota than with fdisk itself.

HEY  ---  Partition 12 SHOULD BE 4, not 12.  Your extended partitions 
end at 4110 so the one at 4111 should be primary.

Civileme






Re: [Cooker] fdisk core dumps when fixing partition-table

2002-03-22 Thread andre

Op zaterdag 23 maart 2002 05:02, schreef u:
 andre wrote:
 This is my partition table, and if you look at hda12 you see that that
 doesn't look right. I made that with diskdrake but now i want to delete
  it and that doesn't seem to work because fdisk core dumped itself before
  writing the partition-table. How do you fix this
 
 # fdisk -l /dev/hda
 
 Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
 Units = cylinders of 16065 * 512 bytes
 
Device BootStart   EndBlocks   Id  System
 /dev/hda1   * 1  1214   9751423+   c  Win95 FAT32 (LBA)
 /dev/hda2  1215  1444   1847475   4f  QNX4.x 3rd part
 /dev/hda3  1445  4110  214146455  Extended
 /dev/hda5  1445  1769   2610531   83  Linux
 /dev/hda6  1770  1819401593+  82  Linux swap
 /dev/hda7  3059  3346   2313328+  83  Linux
 /dev/hda8  3347  3728   3068383+   7  HPFS/NTFS
 /dev/hda9  1820  2390   4586526   83  Linux
 /dev/hda10 2391  3058   5365678+  83  Linux
 /dev/hda11 3729  4110   3068383+  83  Linux
 /dev/hda12 4111  4866   6069073+  a5  FreeBSD
 
 Partition table entries are not in disk order
 
 
 
 #fdisk /dev/hda
 Command (m for help): d
 Partition number (1-12): 12
 
 Command (m for help): w
 Maximale bestandsgrootte overschreden (core dumped)
 
 Tried it with a rescue cd. It works. Seems more something to do with
 msec/quota than with fdisk itself.

 HEY  ---  Partition 12 SHOULD BE 4, not 12.  Your extended partitions
 end at 4110 so the one at 4111 should be primary.

 Civileme

DUH. why do you think i wanted to delete it. 
hda12 was not yet used space which i wanted to use. Partition was made with 
diskdrake for your information.

ps Maximale bestandsgrootte overschreden 

means something like 

bigger than maximum filsize reached