Version 3 (modified by pierre, 8 years ago)

--

Disks

CLI Mode

Entering Disk mode

From the CLI, you can enter the PCI mode by the following command

hdt> disks
Error 0x1h while reading disk 0xE0:
	invalid function in AH or invalid parameter
disk>

When entering the first time in the disk mode, HDT will try to detect hard disks. It might display errors if the ATA devices is a cdrom.

Listing disks

The show command display a summary of all detected disks.

disk> show
DISK 0x80:
  C/H/S: 1023 cylinders, 255 heads, 63 sectors/track
  EDD:   Version: 30, size: 149 GiB
         Host bus: ISA, Interface type: ATA

Note: from the main menu, this listing is available by using the show disk command.

hdt> show disk
DISK 0x80:
  C/H/S: 1023 cylinders, 255 heads, 63 sectors/track
  EDD:   Version: 30, size: 149 GiB
         Host bus: ISA, Interface type: ATA

hdt>

Displaying more details

For every detected disk, the show disk <x> will display more details like the partitions.

disk> show disk 0x80
DISK 0x80:
  C/H/S: 1023 cylinders, 255 heads, 63 sectors/track
  EDD:   Version: 30
         Size: 149 GiB, 512 bytes/sector, 63 sectors/track
         Host bus: ISA, Interface type: ATA

   #  B       Start         End    Size Id Type
   1           4096    20975616  10 GiB 27 Unknown
   2  x    20975616    90284032  33 GiB 07 OS/2 IFS (e.g., HPFS)
   3       90284576   312583856 106 GiB 05 DOS 3.3+ Extended Partition
   5       90282591    96778080   3 GiB 82 Linux swap
   6       96778080   138116160  19 GiB 05 DOS 3.3+ Extended Partition
  13       96778143   138116160  19 GiB 83 Linux native (usually ext2fs)
  14      144611712   176332464  15 GiB 05 DOS 3.3+ Extended Partition
disk>

hdt disk


Detection of Linux swsusp Detection of Linux swsusp in the swap partition.


Detection of MS bootloader Detection of MS bootloader in the first partition.


Detection of Grub Detection of Grub in the MBR of the 3rd disk.

Attachments