Difference between revisions of "Linux"

From PC Savants Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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.
  
  
== MFStool ==
+
== MFStool [https://www.tivocommunity.com/threads/mfs-tools-3-2.529148/ link]==
  
sudo mfsinfo -d /dev/sdX
+
[https://github.com/thess/mfstools MFStool github]
 +
 
 +
'''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.

Latest revision as of 00:59, 2 February 2023

Linux Stuff[edit]

Command Line[edit]

lsblk -o name,size,vendor,mountpoint

Show list of mounted devices.


MFStool link[edit]

MFStool github

sudo mfsinfo -d /dev/sdY

Disk Information

Copy Entire Disk to Disk[edit]

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

Extend Partitions[edit]

mfsadd -xcm 2040 /dev/sdY

Adds 2 TB of space to disk

Fix Partitions[edit]

mfsaddfix /dev/sdY

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