HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- howto check and solve disk geometry error under li...
Operating System - Linux
1827859
Members
1900
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 07:16 AM
03-22-2006 07:16 AM
howto check and solve disk geometry error under linux ?
hi
On the second IDE disk I have both OS installed: linux and freeBSD.
fdisk from freeBSD shows the following error:
WARNING: A geometry of 38296/16/255 for ad1 is incorrect.Using a more likely geometry. If this geometry is incorrect or you are unsure as to whether or not it's correct, please consult the Hardware Guide in the Documentation submenu or use the (G)eometry command to change it now.
Remember: you need to enter whatever your BIOS thinks the geometry is!
For IDE, it's what you were told in the BIOS setup.
For SCSI, it's the translation mode your controller is using.
Do NOT use a ``physical geometry''.
Disk name: ad1 FDISK Partition Editor
DISK Geometry: 9726 cyls/255 heads/63 sectors = 156248190 sectors (76293MB)
Offset Size(ST) End Name PType Desc Subtype Flags
0 63 62 - 12 unused 0
63 51199092 51199154 ad1s1 8 freebsd 165
51199155 10490445 61689599 ad1s2 4 ext2fs 131
61689600 52420095 114109694 ad1s3 4 extended DOS, LBA 15
114109695 42138495 156248189 ad1s4 4 ext2fs 131
156248190 1810 156249999 - 12 unused 0
The following commands are supported (in upper or lower case):
A = Use Entire Disk G = set Drive Geometry C = Create Slice F = `DD' mode
D = Delete Slice Z = Toggle Size Units S = Set Bootable | = Wizard m.
T = Change Type U = Undo All Changes W = Write Changes
Use F1 or ? to get more help, arrow keys to select.
# fdisk
******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=38296 heads=16 sectors/track=255 (4080 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=38296 heads=16 sectors/track=255 (4080 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 51199092 (24999 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 131 (0x83),(Linux native)
start 51199155, size 10490445 (5122 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 15 (0x0f),(Extended DOS (LBA))
start 61689600, size 52420095 (25595 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 131 (0x83),(Linux native)
start 114109695, size 42138495 (20575 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
howto solve this problem under linux ?
On the second IDE disk I have both OS installed: linux and freeBSD.
fdisk from freeBSD shows the following error:
WARNING: A geometry of 38296/16/255 for ad1 is incorrect.Using a more likely geometry. If this geometry is incorrect or you are unsure as to whether or not it's correct, please consult the Hardware Guide in the Documentation submenu or use the (G)eometry command to change it now.
Remember: you need to enter whatever your BIOS thinks the geometry is!
For IDE, it's what you were told in the BIOS setup.
For SCSI, it's the translation mode your controller is using.
Do NOT use a ``physical geometry''.
Disk name: ad1 FDISK Partition Editor
DISK Geometry: 9726 cyls/255 heads/63 sectors = 156248190 sectors (76293MB)
Offset Size(ST) End Name PType Desc Subtype Flags
0 63 62 - 12 unused 0
63 51199092 51199154 ad1s1 8 freebsd 165
51199155 10490445 61689599 ad1s2 4 ext2fs 131
61689600 52420095 114109694 ad1s3 4 extended DOS, LBA 15
114109695 42138495 156248189 ad1s4 4 ext2fs 131
156248190 1810 156249999 - 12 unused 0
The following commands are supported (in upper or lower case):
A = Use Entire Disk G = set Drive Geometry C = Create Slice F = `DD' mode
D = Delete Slice Z = Toggle Size Units S = Set Bootable | = Wizard m.
T = Change Type U = Undo All Changes W = Write Changes
Use F1 or ? to get more help, arrow keys to select.
# fdisk
******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=38296 heads=16 sectors/track=255 (4080 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=38296 heads=16 sectors/track=255 (4080 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 51199092 (24999 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 131 (0x83),(Linux native)
start 51199155, size 10490445 (5122 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 15 (0x0f),(Extended DOS (LBA))
start 61689600, size 52420095 (25595 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 131 (0x83),(Linux native)
start 114109695, size 42138495 (20575 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
howto solve this problem under linux ?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 09:27 AM
03-22-2006 09:27 AM
Re: howto check and solve disk geometry error under linux ?
Umm, what's the error under linux?
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 06:05 AM
03-23-2006 06:05 AM
Re: howto check and solve disk geometry error under linux ?
Check the BOIS configuration for this drive.
Some bioses default to 16 heads. On modern
drives it makes more sense to use 255 heads
and 63 sectors. Neither match the real
geometry of the drives any more.
The disk is partitioned based on 255 heads.
If the BIOS is set for 255 heads and you
still have the problem. Use the geometry
configuration in fdisk to change the head
count.
Some bioses default to 16 heads. On modern
drives it makes more sense to use 255 heads
and 63 sectors. Neither match the real
geometry of the drives any more.
The disk is partitioned based on 255 heads.
If the BIOS is set for 255 heads and you
still have the problem. Use the geometry
configuration in fdisk to change the head
count.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP