![]() ![]() |
May 20 2006, 08:10 AM
Post
#1
|
|
|
Group: Members Posts: 4 Joined: 20-May 06 From: Paris, FRANCE Member No.: 9,923 |
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 : CODE #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 : QUOTE 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 : CODE 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 |
|
|
|
May 20 2006, 08:26 AM
Post
#2
|
|
|
Group: Members Posts: 1,213 Joined: 9-June 05 From: Gobi Desert, Mongolia Member No.: 7,306 |
p, your english is just fine, better than most
|
|
|
|
May 22 2006, 03:04 AM
Post
#3
|
|
|
Group: Members Posts: 4 Joined: 20-May 06 From: Paris, FRANCE Member No.: 9,923 |
Thx Bam for your funny answer
i'm back, always with the same issue, but a little bit different. now my fdisk says : CODE #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 CODE 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 |
|
|
|
May 22 2006, 03:34 AM
Post
#4
|
|
|
Group: Members Posts: 225 Joined: 9-December 03 Member No.: 1,104 |
Voila --> RTFM
|
|
|
|
May 22 2006, 03:52 AM
Post
#5
|
|
![]() Group: Members Posts: 332 Joined: 6-June 04 From: Hannover, Germany Member No.: 3,587 |
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 |
|
|
|
May 22 2006, 04:35 AM
Post
#6
|
|
|
Group: Members Posts: 4 Joined: 20-May 06 From: Paris, FRANCE Member No.: 9,923 |
QUOTE(TRIsoft @ May 22 2006, 01:52 PM) 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 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 !! |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 04:13 PM |