Pin Loon's Wiki
  • Welcome to my technical notes
  • About Me
  • Linux
    • Basic commands
    • Controller Area Network (CAN)
    • Disk
    • Ethernet
    • Systemd Service
    • SSH
  • Microcontroller / Single Board Computer
    • Debugger / Compiler
    • Raspberry Pi 4
  • Application Platform
    • Docker
    • Docker Compose
  • Application Notes
    • Dataype Overflow
    • Macros
    • Wrong Casting
    • Variadic Function
  • Git
    • Create SSH Keys
    • Git submodule
  • VPN
    • Wireguard Setup on Azure
Powered by GitBook
On this page
  • Fstab
  • Clone disk using dd
  • Off Nvidia driver during boot up
  • Mount Shared Drive
  1. Linux

Disk

  • The commands below are related to disk or boot up

Fstab

  • reference to mount other disk

<file system> <mount point>   <type>  <options>       <dump>  <pass>
UUID=467031ef-c93b-4fb2-a825-0157f3606d45 /mnt/nvme0n1p7 ext4 auto,user,rw 0 0
/mnt/nvme0n1p7/pinloon/dev_ws /home/pinloon/dev_ws ext4 auto,user,rw 0 0

Clone disk using dd

$ sudo dd if=/dev/old of=/dev/new status=progress bs=64K conv=noerror,sync

Off Nvidia driver during boot up

  • Sometimes during boot up, you may see the error of "ima: error communicating to tpm chip" followed by hanging of screen and the screen would not be able to display properly

  • Press "E" while before entering Ubuntu and press "F10" after edit

  • find "quite splash" then add "nomodeset" after it

Mount Shared Drive

  • Using default rclone may face issues such as

sudo apt install rclone
Failed to copy: failed to open source object: unauthenticated: Unauthenticated
sudo nano /etc/fuse.conf
Uncomment this line (remove #):
user_allow_other
rclone mount OneDrive:SharedDocuments /media/user/OneDrive/SharedDocuments/ --vfs-cache-mode full --allow-non-empty  --allow-other --daemon --config /home/user/.config/rclone/rclone.conf
PreviousController Area Network (CAN)NextEthernet

Last updated 13 days ago

https//www.reddit.com/r/rclone/comments/15s4sis/onedrive_unauthenticated/?rdt=42577