VAR-SOM-MX6 SATA: Difference between revisions

From Variscite Wiki
No edit summary
(Add category Debian)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{PageHeader|VAR-SOM-MX6 - SATA}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__
{{PageHeader|VAR-SOM-MX6 - SATA}} {{DocImage|category1=Yocto|category2=Debian}} [[VAR-SOM-MX6]] __toc__
<pre>$ $ fdisk /dev/sda  
$ fdisk /dev/sda -l
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.
Test output example:
There is nothing wrong with that, but this is larger than 1024,
<pre>
and could in certain setups cause problems with:
root@var-som-mx6:~# fdisk /dev/sda -l
1) software that runs at boot time (e.g., old versions of LILO)
Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 sectors
2) booting and partitioning software from other OSs
Units: sectors of 1 * 512 = 512 bytes
  (e.g., DOS FDISK, OS/2 FDISK)
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000


Command (m for help): p
Device     Boot   Start       End   Sectors Size Id Type
 
/dev/sda1           63   3212999  3212937  1.5G c W95 FAT32 (LBA)
Disk /dev/sda: 120.0 GB, 120034123776 bytes
/dev/sda2       3213000 117226304 114013305 54.4G 83 Linux
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>
</pre>

Latest revision as of 18:39, 6 June 2023

VAR-SOM-MX6 - SATA

VAR-SOM-MX6

$ fdisk /dev/sda -l

Test output example:

root@var-som-mx6:~# fdisk /dev/sda -l
Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot   Start       End   Sectors  Size Id Type
/dev/sda1            63   3212999   3212937  1.5G  c W95 FAT32 (LBA)
/dev/sda2       3213000 117226304 114013305 54.4G 83 Linux