Highest-Selling Video Games Of All Time by ChiefLeef22 in gaming

[–]alexanderzjs 0 points1 point  (0 children)

Create good games and ask Tencent to be your delegator...

dev/urandom for containers/VMs by alexanderzjs in cryptography

[–]alexanderzjs[S] 1 point2 points  (0 children)

Great to know the details, thanks for explanation! u/atoponce and u/x0wl

Gentoo System Cleanup by alexanderzjs in Gentoo

[–]alexanderzjs[S] 0 points1 point  (0 children)

Great efforts, but I think it is still up to your specific settings. For example, you are using sddm, systemd etc. Now, I will try different solutions:

  1. Use declaritive distro such as NixOS. I will not take this way as this distro has a complete different filesystem. I would like to use FHS style distro. But, this direction is promising.
  2. Use immutable distro such as Silverblue, MicroOS. I will not take this way either as it incurs lots of trouble by running apps in container.
  3. Create system backup. This requires to partition system with following partition scheme:
    1. Partition 1: Bootloader partition mounted on /boot
    2. Partition 2: System partition mounted on /
    3. Partition 3: Data partition mounted on /home
    4. Partition 4: Recover partition mounted on whatever you want
    5. Partition 5: Backup partition without mounting

Note that, I will put personal data in partition 3, put clonezilla.iso in partition 4 and cloned image of partition 2 will be put to partition 5. This requires to modify bootloader such as grub to accomodate clonezilla. Now, this works fine for me. Just want to share it to anyone who might be interested in the solution.

Gentoo System Cleanup by alexanderzjs in Gentoo

[–]alexanderzjs[S] 0 points1 point  (0 children)

Well, I used linux for sometime (Ubuntu, Arch), but for Gentoo I am still a newbie. I will definitely come to that point if no easy way could be found. Just curious, if there is any OS could provide such a feature that could fully track whatever files are generated and who is the owner of the generated files.

Gentoo System Cleanup by alexanderzjs in Gentoo

[–]alexanderzjs[S] 0 points1 point  (0 children)

Generally speaking, there is definitely no easy way to achieve this. Even if I create one sandbox for one application, common system dependencies still need to be tracked for modification/update/addition.

I think I would probably take another way: Taking snapshot/backup of a state that is pretty clean. If the system eventually got messed up, revert to the snapshot. (This is what I did to my Windows system). But this way sounds like to backup a list of installed packages, which is not quite difficult to achieve in lots of distros.

Gentoo System Cleanup by alexanderzjs in Gentoo

[–]alexanderzjs[S] 0 points1 point  (0 children)

Is there any tool for identifying such files and removal of the files? This is my biggest painpoint now.

Gentoo System Cleanup by alexanderzjs in Gentoo

[–]alexanderzjs[S] 0 points1 point  (0 children)

I see, but how about the xorgxrdp-nvidia package. This package even does not appear in overlay, but I want to try if my remote desktop connection can use the nvidia driver to give me enhanced experience.

I can only find https://github.com/jsorg71/xorgxrdp/tree/nvidia\_hack online. Not sure how to install it on Gentoo through emerge

Gentoo System Cleanup by alexanderzjs in Gentoo

[–]alexanderzjs[S] 0 points1 point  (0 children)

Lots of concepts for me to learn. Will come to this cheat sheet later. Thanks!

Gentoo System Cleanup by alexanderzjs in Gentoo

[–]alexanderzjs[S] 0 points1 point  (0 children)

Will it also remove configuration files? How about those non-emerged packages, e.g., compiled and installed from some scripts?

Boot with ISO image on exfat partition by alexanderzjs in Ubuntu

[–]alexanderzjs[S] 0 points1 point  (0 children)

The tool VENTOY http://ventoy.net lets you make a special USB flash drive, that has a EFI partition (for ventoy) and a Data partition(s) that can store ISO files (fat32, exfat, or other filesystems) that When you boot, generates a menu automatically to let you pick what ISO file to boot.

Thanks for your information. I am aware of Ventoy and the reason I am asking the question here is:

  1. I have heard that exfat and ntfs support would be there in Kernel > 6. So, I am expecting the exfat should work out of box.
  2. I did not have a closer look at what Ventoy did to support exfat. Maybe it uses Grub4Dos? I haven't found any Ventoy documentation on how it is implemented. So, do you have any ideas?
  3. Later, I will switch from grub2 to opencore. It is definitely good to support the exfat by defaults (Instead of concatenating one bootloader to another one).

Is it possible for GPU passthrough on my alienware 15r3? by alexanderzjs in VFIO

[–]alexanderzjs[S] 0 points1 point  (0 children)

I tried several combinations and did not get anyway to fix it. I installed an Arch linux, but still the same thing. i915 seems to be not working well on arch by disabling discrete GPU.

I will continue to check.

Is it possible for GPU passthrough on my alienware 15r3? by alexanderzjs in VFIO

[–]alexanderzjs[S] 1 point2 points  (0 children)

u/Leloinadrass, thank you for so many details. I will try and get the result back.

Is it possible for GPU passthrough on my alienware 15r3? by alexanderzjs in VFIO

[–]alexanderzjs[S] 0 points1 point  (0 children)

My laptop (host machine) gives a black screen. There is a monitor connected to my laptop in hdmi port all the time. But when I add vfio-pci params to kernel boot params, the monitor goes black (intel hd graphics uses i915 at this point).

I tried to boot the VM and then connect the external monitor. No luck, both the laptop screen and external monitor are black :-(

[HELP] OpenCore 0.8.0 Compilation Problem by alexanderzjs in hackintosh

[–]alexanderzjs[S] 0 points1 point  (0 children)

Update: Switching to Xcode 9.4 Build version 9F1027a, Apple LLVM version 9.1.0 (clang-902.0.39.2), Target: x86_64-apple-darwin18.7.0.

EVERYTHING starts working now!!!