OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: Mieszko on May 20, 2006, 12:10:26 pm
-
hi guys (and girls) !
i need some help, i've got a c3k and i want to bring it back to the factory settings (is from scratch the correct definition ?)
so, i launch my Z with the key combo D & B, i've got a minishell and i'm able to launch fdisk.
i've deleted all the partition (fdisk then p, then d followed by the partition number etc etc) and quit with w in order to save modification.
an fdisk -l /dev/hda says :
#fdisk -l /dev/hda
Disk /dev/hda: 4095 MB, 4095737856 bytes
16 heads, 63 sectors/track, 7936 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
then i want to recreate the new partitions as the Trisoft's readme says (in the SLC3000SYSPART.zip archive avaible on the trisoft.de website. The readme explain the partition plan as :
Contents of the system-partitions for the SL-C3000
TRIsoft / Marc Stephan / April 11th, 2006
Use the information in this document at your own risk.
TRIsoft is not liable for any damages that may result from
these informations.
SL-C3000 HDD-Partition table:
/dev/hda1 Start 1 End 204 Blocks 102784+ id 83 System Linux
/dev/hda2 Start 205 End 1020 Blocks 411264 id 83 System Linux
/dev/hda3 Start 1021 End 7936 Blocks 3485664 id c System Win95 FAT32 (LBA)
Note:
While using the fdisk on the Zaurus, double check that you set the
correct parameters for the drive. They have to be:
16 heads / 63 sectors/track / 7936 cylinders
Format the partitions with:
mke2fs -j /dev/hda1
mke2fs -j /dev/hda2
mkfs.vfat -F 32 /dev/hda3
/hda1 is a 97.2 MB partition containing the "Rom".
/hda2 is a 388.9 MB partition containing your "normal" filesystem.
The contents of /hda2 will be restored from the information in /hda1 if you
perform a factory reset (the thingy with the "OK"+PwrOn menu).
but when i want to create my first partition fdsik ask me :
Command action
e extended
p primary partition (1-4)
i don't know which choise i need to apply. E or P ??
Thanks for your help !!
i think that i'm coming back with a lot of another question (if i don't find information in the many threads ...)
ps: excuse me for my poor english (i'm french), if you can make soft answers, it would be appreciate
-
p, your english is just fine, better than most
-
Thx Bam for your funny answer i try to communicate by the best way i can
i'm back, always with the same issue, but a little bit different.
now my fdisk says :
#fdisk -l /dev/hda
Disk /dev/hda: 4095 MB, 4095737856 bytes
16 heads, 63 sectors/track, 7936 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 204 102784+ 83 Linux
/dev/hda2 205 1020 411264 83 Linux
/dev/hda3 1 1 0 0 Empty
Partition 3 does not end on cylinder boundary.
/dev/hda4 7936 7936 504 83 Linux
normally /dev/hda3 will not be this kind of partition, so i type d in fdisk to delete but, i've got a strange error message in fdisk
Warning partition 3 has empty type
so i want to set a type to this partition but, is the type of the partition is the same of the id ? can i assigne a 83 id to the /dev/hda3 and then delete the partition ?
type = id ? edit => ok, type is the id.
when i want to assign id 83 to /dev/hda3, i've got this error message
Partition 3 does not exist yet !
it's strange if the /dev/hda3 doesn't exist but i can see it in the table of partition (with the p option)
anyone has an idea ?
Thx for your help to a Z and fdisk newbie
-
Voila --> RTFM (http://tldp.org/HOWTO/Partition/)
-
Hi Mieszko,
instead of RTFM for the next hours, here's the trick:
Create the partitions backwards. Start with #3, then #2 and #1.
We're still discussing if fdisk is just buggy or trying to be funny
///TRIsoft
Marc Stephan
(Voting for buggy )
-
Hi Mieszko,
instead of RTFM for the next hours, here's the trick:
Create the partitions backwards. Start with #3, then #2 and #1.
We're still discussing if fdisk is just buggy or trying to be funny
///TRIsoft
Marc Stephan
(Voting for buggy )
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128047\"][{POST_SNAPBACK}][/a][/div]
thank you Marc !!
my 3 partitions are okay with your trick !! but, i still have a 4th partition /dev/hda4 and i can't delete it (the same error message : warning : partition 4 has empty type)
when i create my 3 partitions, i've choose the p option (primary partition (1-4))
i'm going to read the manual this night, at home
Thx again for your help guys !!