OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Angstrom Install - Hard Drive Lost 2.8gb ?
Jon_J
post Dec 3 2008, 08:02 PM
Post #1





Group: Members
Posts: 1,849
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I've been installing Angstrom on my C3100 all day today, and finally got Cacko to dual boot with Angstrom, following these instructions:
http://www.linuxtogo.org/gowiki/AngstromAndCacko

The above instructions worked fine, but my problem is with the instructions below, in the part where you repartition the HDD.
When in a console in Cacko, my partitions add up to only 140M, 46M, and 1022M (That's roughly 1.2GB)
I get the same results as above in a console in Angstrom also.
Where did the other 2.8GB go??

http://www.angstrom-distribution.org/angst...tallation-spitz
CODE
As root in a console do the following:

# fdisk /dev/hda

Command (m for help): o (Blow away the partition table)

Command (m for help): n (New partition)
Partition type: p (Primary partition [1-4])
Partition number (1-4): 1 (Root partition)
First cylinder (1-7936, default 1): 1 (Start of disk)
Last cylinder or size: +150M (150 Mbyte, adjust as desired)

Command (m for help): n (New partition)
Partition type: p (Primary partition [1-4])
Partition number (1-4): 2 (Home partition)
First cylinder (293-7936, default 293): [hit enter] (Just after hda1)
Last cylinder or size: +40M (40 Mbyte, adjust as desired)

Command (m for help): n (New partition)
Partition type: p (Primary partition [1-4])
Partition number (1-4): 3 (Root partition)
First cylinder (372-7936, default 372): [hit enter] (Just after hda2)
Last cylinder or size: [hit enter] (Rest of disk)
Command (m for help): w (Write to disk)
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Jon_J
post Dec 6 2008, 02:59 PM
Post #2





Group: Members
Posts: 1,849
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I tried running e2sfck on /dev/hda1 in emergency console and I always got superblock errors;
CODE
The superblock could not be read or does not describe a correct ext2 filesystem.  If the device is valid and it really contains an ext 2 filesystem (and not swap or ufs or something else) then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck - 8193 <device>
I tried this several times, then decided to try it in a console while in Cacko, (thinking there would be a later version of e2fsck)

I got the same results in Cacko.
Then I tried googling.
Now I tried substituting the number for the superblock location with several numbers that I found in articles about this problem.
Still no luck. Angstrom seems to run fine on this partition.
Is my drive hosed?? Is this repairable?
Below is the output of fdisk -l (for /dev/hda1)
Notice the first line that says: Disk /dev/hda1: 1031 MB, 1031127552 bytes (I actually partitioned this as 150M)
CODE
fdisk -l /dev/hda1

Disk /dev/hda1: 1031 MB, 1031127552 bytes
32 heads, 63 sectors/track, 998 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

Device Boot         Start       End      Blocks      Id  System
/dev/hda1p1   ?      952357     1222415   272218546+  20  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(356, 97, 46) logical=(952356, 20, 3)
Partition 1 has different physical/logical endings:
     phys=(357, 116, 40) logical=(1222414, 22, 41)
Partition 1 does not end on cylinder boundary.
/dev/hda1p2   ?      659814      927163   269488144   6b  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(288, 110, 57) logical=(659813, 18, 61)
Partition 2 has different physical/logical endings:
     phys=(269, 101, 57) logical=(927162, 30, 8)
Partition 2 does not end on cylinder boundary.
/dev/hda1p3   ?      267356      960989   699181456   53  OnTrack DM6 Aux3
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(345, 32, 19) logical=(267355, 27, 11)
Partition 3 has different physical/logical endings:
     phys=(324, 77, 19) logical=(960988, 7, 54)
Partition 3 does not end on cylinder boundary.
/dev/hda1p4   *      691780      691791       10668+  49  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(87, 1, 0) logical=(691779, 19, 3)
Partition 4 has different physical/logical endings:
     phys=(335, 78, 2) logical=(691790, 5, 45)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 29th May 2015 - 04:32 PM