OS hallucinates hard drive geometry
Hi, I'm running woody with kernel 2.4.18. (This is a custom kernel - I
downloaded the source, and built it with make-kpkg.) My hard drive is
20 GB with three primary partions:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1459 11719386 83 Linux
/dev/hda2 1460 1945 3903795 83 Linux
/dev/hda3 1946 2495 4417875 83 Linux
This means that hda1 is 11.7GB, hda2 is 3.9GB, and hda3 is 4.4 GB.
(hda1 has existed for a while: hda2 and hda3 are new partitions.)
However, when I mount them, problems ensue:
(hda1 is already mounted on /)
shiznit:~# mount /dev/hda2 /mnt/hda2
shiznit:~# mount /dev/hda3 /mnt/hda3
mount: you must specify the filesystem type
shiznit:~# mount -t ext2 /dev/hda3 /mnt/hda3
mount: wrong fs type, bad option, bad superblock on /dev/hda3,
or too many mounted file systems
shiznit:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 11G 4.5G 6.0G 43% /
/dev/hda2 926M 65M 814M 8% /mnt/hda2
1) /dev/hda2 is smaller than it should be.
2) /dev/hda3 could not be mounted at all.
I tried the partitioning with fdisk, cfdisk, and parted (I decided not
to try sfdisk yet). Same results, except parted produced this warning:
Information: The operating system thinks the geometry on /dev/hda is
2495/255/63. Therefore, cylinder 1024 ends at 8032.499M.
I'm not clear on what to try next. Anyone? Thanks in advance.
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com