--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Greetings,

I am running a mix of testing and unstable. I am using the unstable version
of fdisk that comes with the util-linux package.

I recently installed a new Samsung 60 MB HD into a 1998 "vintage" Celeron
machine as /dev/hdb. The BIOS reports the drive as 30 MB.

I thought that Debian would see the whole drive, but here is what dmesg
reports:

ide0: BM-DMA at 0x1420-0x1427, BIOS settings: hda:pio, hdb:DMA
hdb: SAMSUNG SP6003H, ATA DISK drive
hdb: setmax LBA 117304992, native  66055248
hdb: 66055248 sectors (33820 MB) w/2048KiB Cache, CHS=3D4111/255/63, UDMA(3=
3)
hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 >

Here is what Debian's fdisk reports:

Disk /dev/hdb: 33.8 GB, 33820286976 bytes
255 heads, 63 sectors/track, 4111 cylinders
Units =3D cylinders of 16065 * 512 =3D 8225280 bytes

I then booted Knoppix, and it sees the whole 60 MB. Here is what fdisk on
Knoppix reports:

Disk /dev/hdb: 60.0 GB, 60060155904 bytes
255 heads, 63 sectors/track, 7301 cylinders
Units =3D cylinders of 16065 * 512 =3D 8225280 bytes

I then used Knoppix fdisk to create partitions, like this:

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1       609   4891761    b  Win95 FAT32
/dev/hdb2           610      1339   5863725   83  Linux
/dev/hdb3          1340      5000  29406982+   5  Extended
/dev/hdb5          1340      1358    152586   82  Linux swap
/dev/hdb6          1359      1541   1469916   83  Linux

Of course, now when I boot into Debian I get an error message that that the
filesystem size of /dev/hdb2 (according to superblock) is 1588426 and the
physical size of device is 1465931.

What have I done wrong?

--=20
David Raeker-Jordan
mailto:[EMAIL PROTECTED]
GnuPG key: 1024D/CD956608
--gBBFr7Ir9EOA20Yy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+jMYwoGYsDs2VZggRAndPAJ4zrAz0v1MNoPt0ponQQXbJ4+4zZQCfXH1z
jFtV8Zpe3AyPw5bZnuysH4w=
=EU6O
-----END PGP SIGNATURE-----

--gBBFr7Ir9EOA20Yy--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to