Author Topic: Fdisk Woes  (Read 2653 times)

wormwood

  • Newbie
  • *
  • Posts: 24
    • View Profile
Fdisk Woes
« on: December 22, 2004, 01:54:54 pm »
I have a bit of a newbie question. How do I go back to the 3gb fat parition(once modified)? I've tried to delete the partition with fdisk then create a new one but have some how managed to create a parition that shows up as "Partition 3 does not end on cylinder boundary". It does not allow me to delete this partion or change it's type which is Emtpy. How can I get rid of this misbehaving parition?

/dev/hda3 Start=1 End=1 Blocks=0 id=0 System=Empty

When I try to delete hda3 I get
Warning: partition3 has an empty type

If I try to give it a type with 't' I get
Partition does not exist yet!

Sorry for repost.

Thanks.
« Last Edit: December 22, 2004, 03:52:57 pm by wormwood »
OpenBSD
SL-C3000
Symbol Wifi CF

slackwaresupport

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
Fdisk Woes
« Reply #1 on: May 06, 2005, 12:25:30 pm »
im having the same problem now.. anyone know how to fix this??

please

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Fdisk Woes
« Reply #2 on: May 06, 2005, 12:36:18 pm »
It's a known bug with various versions of fdisk... actually no it's a known bug with the ARM GCC compiler and not packing structures correctly.

Do a search for fdisk on the 3000 forum, there are some posts pointing to a version that doesn't display this mythical final partition with the 0 length.
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

slackwaresupport

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
Fdisk Woes
« Reply #3 on: May 06, 2005, 06:22:27 pm »
i got it.. finally. i used sfdisk
sfdisk -uC /dev/hdc <<EOF
0,203,83
,816,83
,6916,c
 EOF