OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 Hardware => Topic started by: markpmc on December 24, 2006, 01:39:33 pm

Title: Phantom Partition On /dev/hda [fixed]
Post by: markpmc 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.
Title: Phantom Partition On /dev/hda [fixed]
Post by: mathemajikian 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.
Title: Phantom Partition On /dev/hda [fixed]
Post by: markpmc 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
Title: Phantom Partition On /dev/hda [fixed]
Post by: speculatrix 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
Title: Phantom Partition On /dev/hda [fixed]
Post by: Meanie 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.
Title: Phantom Partition On /dev/hda [fixed]
Post by: Meanie 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] (http://index.php?act=findpost&pid=149195\")

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]
Title: Phantom Partition On /dev/hda [fixed]
Post by: markpmc 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