Sunday, June 27, 2021

NTFS external drive some folders not showing on Mac OSX; but okay on Linux

Not all files/folders, but only a few ones not showing.  

Since NFTS is read-only (by default) in Mac, as long as not reformatting the drive/ partition, those files should be safe, in theory.


This seems to be a real problem encountered by many people.

https://discussions.apple.com/thread/252158724 


Reason unknown yet.  Some said chipset not fully compatible. 

Some other people said the file system might be corrupted somehow.  Because NTFS is Microsoft's proprietary file system.  


In case one wants to repair the drive, it must be done in windows, using the following command.

        chkdsk /f /r 

WARN: backup your drive before making changes.  

Labels: , , , ,

Sunday, June 20, 2021

ubuntu soft RAID drives transferred to a new computer

My old linux server died.  It has 1 pair of hard disks used as RAID 1 (i.e. mirror) storing my many years' photos.

I have another desktop computer handy, before opening the case:

1) Install ubuntu 20.04 LTS (minimal) on the new desktop

2) sudo apt install mdadm

3) power off and mount the two RAID hard drives in, wired.

// need number of cables, watch out for power supply ?W if sufficient (usually okay)

4) power up ubuntu 

5) verify stat


     cat /proc/mdstat


    if drives are shown active, raid drive, eg. md0, is ready

6) test mounting the raid drive


    sudo mkdir -p /mnt/md0

    sudo mount /dev/md0 /mnt/md0


7) if step 6 works, persistently adding raid drive mounting to /etc/fstab


Labels: , , , ,

Saturday, June 12, 2021

mx linux to change window manager

install in 'mx package installer',  then choose from login screen menu on top.


default is XFCE session


other options:    Fluxbox,  IceWM



Labels:

virtualbox ubuntu window resolution stuck small

 by default, VM settings > display > graphic controller is VMSVGA, especially if 3D is checked-box.

changed it to VBOXVGA

then from menu bar > display, click bottom virtual machine ...  change resolution 

Labels: , , , ,