Author Topic: Phantom Partition On /dev/hda [fixed]  (Read 5983 times)

markpmc

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • http://
Phantom Partition On /dev/hda [fixed]
« on: December 24, 2006, 01:39:33 pm »
First this is my fault. While flashing my updated version of Cacko 1.23 for the C3000. I lost my partition table.

No big thing right? Just boot into D+B mode recreate them and then reflash right?

Well. I can't seem to create a 'good' partition table.

I've tried as both /dev/hda and /dev/hdc (w/ a CF card inserted) and I get the same 'extra' partition. After creating hda2, when I start to create hda3 fdisk autoselects partition 4.

Here's what my partition table ends up looking like.

/dev/hda1   1-204        id 83 (linux)
/dev/hda2  205-1020   id 83 (linux)
/dev/hda3  1-1            no type
/dev/hda4  1021-7936   fat32

I've even tried building the partition table backwards (from hda3 to hda1). I that case I still get the 1 block no type partition. I don't understand enough of the advanced menu in fdisk to know if I can clean this up.

I just don't get it. I will say that a few times fdisk didn't even find my hard drive. I bought my 3K the first week after they were announced, so this unit is a full 3 years old.

Is this fixable?

Thanks,

Mark

Edit to mark as fixed.
« Last Edit: December 29, 2006, 09:31:30 am by markpmc »
SL-C3000 - replaced drive w/ 8GB Seagate PhotoDrive
cacko 1.23b with custom tetsu kernel
----

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Phantom Partition On /dev/hda [fixed]
« Reply #1 on: December 24, 2006, 04:01:11 pm »
Quote
Is this fixable?

Thanks,
Mark

You need to zero the hard drive and try again. Access the service menu and under the bkup rstr menu select hdd 00 clear.
« Last Edit: December 24, 2006, 04:58:34 pm by mathemajikian »

markpmc

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • http://
Phantom Partition On /dev/hda [fixed]
« Reply #2 on: December 24, 2006, 09:28:54 pm »
Quote
Access the service menu and under the bkup rstr menu select hdd 00 clear.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=149010\"][{POST_SNAPBACK}][/a][/div]

No joy. I zeroed the Harddisk. I still have the phantom partition being created. I did print the table along the way. The 1 block partition is created when I create /dev/hda1.

Mark
SL-C3000 - replaced drive w/ 8GB Seagate PhotoDrive
cacko 1.23b with custom tetsu kernel
----

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Phantom Partition On /dev/hda [fixed]
« Reply #3 on: December 26, 2006, 07:23:44 pm »
when you use fdisk and write it, what does it say?

I got some oddities when I reformatted... I had to manually unmount the drive partitions before fdisk would write the partition table. Then I rebooted after doing it just to be sure.

I now have hdd1 - same small ext2 part; hdd2 - big 3.5G ext3 part; hdd3 - 256MB fat16 part; hdd4 - 128MB swap
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Phantom Partition On /dev/hda [fixed]
« Reply #4 on: December 26, 2006, 07:30:09 pm »
if you are using the fdisk from the D+B boot (ie, emergency boot) then the fdisk version that is included there is buggy and does that. You can try running a different version of fdisk from a cf or sd card.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Phantom Partition On /dev/hda [fixed]
« Reply #5 on: December 26, 2006, 07:32:50 pm »
Quote
if you are using the fdisk from the D+B boot (ie, emergency boot) then the fdisk version that is included there is buggy and does that. You can try running a different version of fdisk from a cf or sd card.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Alternatively, you can use pdaXii13 installer to restore your partitions. This does not require you to install pdaXrom. All you need is the installer.sh. There is an option to restore your default partitions.
[a href=\"http://www.tyrannozaurus.com/feed/pdaXii13/tmp/updater.sh]http://www.tyrannozaurus.com/feed/pdaXii13/tmp/updater.sh[/url]
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

markpmc

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • http://
Phantom Partition On /dev/hda [fixed]
« Reply #6 on: December 26, 2006, 09:12:54 pm »
Quote
if you are using the fdisk from the D+B boot (ie, emergency boot) then the fdisk version that is included there is buggy and does that. You can try running a different version of fdisk from a cf or sd card.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=149195\"][{POST_SNAPBACK}][/a][/div]


Thanks Meanie.

Using a different fdisk did the trick, I was able to recreate my partitions. Upon my first try at re-flashing I still got the "Error HDD not found" then the disk was found upon retry.

I still suspect a disk problem.

Mark
SL-C3000 - replaced drive w/ 8GB Seagate PhotoDrive
cacko 1.23b with custom tetsu kernel
----