Subject: Re: Boot isues with SATA drives on P4C800-E Deluxe
To: None <david@l8s.co.uk, port-i386@netbsd.org>
From: Sebastien Erard <sebastien_erard@hotmail.com>
List: port-i386
Date: 12/04/2003 11:27:00
>I was more interested in some of the other number,
>run 'fdisk -v wd0' and show all the values output
>for the netbsd partition. (Do the CHS values match
>the start sector?)
Here you are, for both disk.

# fdisk -v -v wd0
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 238216, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 240121728

BIOS disk geometry:
cylinders: 1024, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 240121728

Partition table:
0: Primary DOS with 32 bit FAT (sysid 11)
    start 63, size 10490445 (5122 MB, Cyls 0/1/1-10407/4/1)
        beg: cylinder    0, head   1, sector  1
        end: cylinder  653, head   0, sector 63
1: OS/2 HPFS or NTFS or QNX2 or Advanced UNIX (sysid 7)
    start 10490508, size 73882872 (36076 MB, Cyls 10407/4/1-83703/12/1), 
Active
        beg: cylinder  653, head   1, sector  1
        end: cylinder 1023, head 254, sector 63
2: <UNUSED> (sysid 0)
    start 0, size 0
        beg: cylinder    0, head   0, sector  0
        end: cylinder    0, head   0, sector  0
3: NetBSD (sysid 169)
    start 84373380, size 155748348 (76049 MB, Cyls 83703/12/1-238216)
        beg: cylinder 1023, head   0, sector  1
        end: cylinder 1023, head 225, sector 63

# fdisk -v -v wd1
Disk: /dev/rwd1d
NetBSD disklabel disk geometry:
cylinders: 238216, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 240121728

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 240121728

Partition table:
0: OS/2 HPFS or NTFS or QNX2 or Advanced UNIX (sysid 7)
    start 63, size 84373317 (41198 MB, Cyls 0/1/1-5252)
        beg: cylinder    0, head   1, sector  1
        end: cylinder 1023, head 254, sector 63
1: <UNUSED> (sysid 0)
    start 0, size 0
        beg: cylinder    0, head   0, sector  0
        end: cylinder    0, head   0, sector  0
2: <UNUSED> (sysid 0)
    start 0, size 0
        beg: cylinder    0, head   0, sector  0
        end: cylinder    0, head   0, sector  0
3: NetBSD (sysid 169)
    start 84373380, size 155748348 (76049 MB, Cyls 5252-14946/226/1)
        beg: cylinder 1023, head   0, sector  1
        end: cylinder 1023, head 225, sector 63

>If you interrupt the down-count, can you 'boot wd0a' ?
No, the system locks, and I have to reset it with the front panel button.

By the way, how can I use fdisk to change the BIOS geometry written in the 
MBR? I'v tried fdisk -u -b c/h/s without success.

Sebastien

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail