Difference between revisions of "Linux"

From PC Savants Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
=== Command Line ===
 
=== Command Line ===
  
lsblk -o name,size,vendor,mountpoint
+
'''lsblk -o name,size,vendor,mountpoint'''
  
 
Show list of mounted devices.
 
Show list of mounted devices.
Line 10: Line 10:
 
== MFStool ==
 
== MFStool ==
  
sudo mfsinfo -d /dev/sdX
+
'''sudo mfsinfo -d /dev/sdY'''
 +
 
 +
Disk Information
 +
 
 +
=== Copy Entire Disk to Disk ===
 +
 
 +
'''mfscopy -am 2040 /dev/sdX /dev/sdY'''
 +
 
 +
=== Extend Partitions ===
 +
 
 +
'''mfsadd -xcm 2040 /dev/sdY'''
 +
 
 +
Adds 2 TB of space to disk
 +
 
 +
=== Fix Partitions ===
 +
 
 +
'''mfsaddfix /dev/sdY'''
 +
 
 +
Reorders partitions so the Tivo doesnt refuse the disk and reformat it.

Revision as of 00:58, 2 February 2023

Linux Stuff

Command Line

lsblk -o name,size,vendor,mountpoint

Show list of mounted devices.


MFStool

sudo mfsinfo -d /dev/sdY

Disk Information

Copy Entire Disk to Disk

mfscopy -am 2040 /dev/sdX /dev/sdY

Extend Partitions

mfsadd -xcm 2040 /dev/sdY

Adds 2 TB of space to disk

Fix Partitions

mfsaddfix /dev/sdY

Reorders partitions so the Tivo doesnt refuse the disk and reformat it.