VAR-SOM-MX6 SATA: Difference between revisions

From Variscite Wiki
(Created page with "{{PageHeader|VAR-SOM-MX6 - SATA}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__")
 
No edit summary
Line 1: Line 1:
{{PageHeader|VAR-SOM-MX6 - SATA}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__
{{PageHeader|VAR-SOM-MX6 - SATA}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__
<pre>$ $ fdisk /dev/sda
When you get prompt "Command (m for help):" hit p
</pre>
Test output example:<br>
<pre>root@varsommx6q:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: ST9120823AS      Rev: 3.AD
  Type:  Direct-Access                    ANSI  SCSI revision: 05
root@varsommx6q:~# fdisk /dev/sda
The number of cylinders for this disk is set to 14593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
  Device Boot      Start        End      Blocks  Id System
/dev/sda1  *          1        9123    73280466  7 HPFS/NTFS
/dev/sda2            9124      14593    43937744+  f Win95 Ext'd (LBA)
/dev/sda5            9124      11035    15358108+  7 HPFS/NTFS
/dev/sda6          14319      14593    2208906  82 Linux swap
/dev/sda7          11036      14318    26369024  83 Linux
</pre>

Revision as of 06:21, 14 December 2015

VAR-SOM-MX6 - SATA
$ $ fdisk /dev/sda 
When you get prompt "Command (m for help):" hit p

Test output example:

root@varsommx6q:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: ST9120823AS      Rev: 3.AD
  Type:   Direct-Access                    ANSI  SCSI revision: 05
root@varsommx6q:~# fdisk /dev/sda

The number of cylinders for this disk is set to 14593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1        9123    73280466   7 HPFS/NTFS
/dev/sda2            9124       14593    43937744+  f Win95 Ext'd (LBA)
/dev/sda5            9124       11035    15358108+  7 HPFS/NTFS
/dev/sda6           14319       14593     2208906  82 Linux swap
/dev/sda7           11036       14318    26369024  83 Linux