| Version 5 (modified by pierre, 4 years ago) |
|---|
Disks information
CLI Mode
In the CLI (in any mode), the command show disk will display a summary about disks on the system:
hdt> show disk
DISK 0x80:
C/H/S: 19 cylinders, 16 heads, 63 sectors/track
EDD: Version: 30, size: 10 MiB
Host bus: ISA, Interface type: ATA
DISK 0x81:
C/H/S: 782 cylinders, 255 heads, 63 sectors/track
EDD: Version: 30, size: 5 GiB
Host bus: ISA, Interface type: ATA
DISK 0x82:
C/H/S: 1023 cylinders, 255 heads, 63 sectors/track
EDD: Version: 30, size: 10 GiB
Host bus: ISA, Interface type: ATA
To get more information (partitions, ...), enter the DISK mode via the disk command:
hdt> disk disk>
You can now inspect all disks via the show disks command:
disk> show disks
DISK 0x80:
C/H/S: 1023 cylinders, 255 heads, 63 sectors/track
EDD: Version: 30
Size: 10 GiB, 512 bytes/sector, 63 sectors/track
Host bus: ISA, Interface type: ATA
MBR: Grub (id 0xEB489010)
# B Start End Size Id Type
1 x 63 19984859 9 GiB 83 Linux native (usually ext2fs)
2 19984860 20964824 478 MiB 05 DOS 3.3+ Extended Partition
5 19984923 20964824 478 MiB 82 Linux swap
DISK 0x81:
C/H/S: 782 cylinders, 255 heads, 63 sectors/track
EDD: Version: 30
Size: 5 GiB, 512 bytes/sector, 63 sectors/track
Host bus: ISA, Interface type: ATA
MBR: Unknown mbr (id 0xEB58906D)
# B Start End Size Id Type
1 1 12582863 5 GiB 0C WIN95 OSR2 32-bit FAT, LBA-mapped
You can also inspect any particular disk via the show disk <number> command (disk numbering starts at 0x80):
disk> show disk 0x81
DISK 0x81:
C/H/S: 782 cylinders, 255 heads, 63 sectors/track
EDD: Version: 30
Size: 5 GiB, 512 bytes/sector, 63 sectors/track
Host bus: ISA, Interface type: ATA
MBR: Unknown mbr (id 0xEB58906D)
# B Start End Size Id Type
1 1 12582863 5 GiB 0C WIN95 OSR2 32-bit FAT, LBA-mapped
Menu mode
Linux swsusp detection
Detection of Linux swsusp in the swap partition.
Bootloader detection
Detection of MS bootloader in the first partition.
MBR detection
Attachments
-
hdt-disk.png
(14.9 KB) - added by erwan
4 years ago.
hdt disk
-
hdt-disk-details.png
(14.2 KB) - added by erwan
4 years ago.
hdt disk details
-
hdt-disk-bootloader.png
(13.2 KB) - added by pierre
4 years ago.
Detection of MS bootloader
-
hdt-disk-mbr.png
(13.2 KB) - added by pierre
4 years ago.
Detection of Grub
-
hdt-disk-swsusp.png
(13.9 KB) - added by pierre
4 years ago.
Detection of Linux swsusp


