2023年7月24日 星期一

2023 VirtualBox DSM 5.2 Xpenology add entire disk



Google
"virtualbox directly use entire disk"
https://superuser.com/questions/495025/use-physical-harddisk-in-virtual-box

Ubuntu Disk

KINGSTON SA2000M8500G (S5Z42105) 50026B76845ED7E4 /dev/nvme0n1p1 EFI System
WDC WD3200AAJS-08L7A0 (03.03E03) WD-WCAV2V960601 /dev/sda1 Linux RAID auto
WDC WD30PURX-78P6ZY0 (80.00A80) WD-WCC4N1RYA6FU /dev/sdb 
WDC WD30PURX-89P6ZY0 (80.00A80) WD-WCC4N0XAR09S /dev/sdc


Existing vmdk

/home/user/VirtualBox VMs/dsm52/wd3200.vmdk
# Disk DescriptorFile
version=1
CID=d9aeed4d
parentCID=ffffffff
createType="fullDevice"
# Extent description
RW 625142448 FLAT "/dev/sda" 0
# The disk Data Base
#DDB
ddb.virtualHWVersion = "4"
ddb.adapterType="ide"
ddb.geometry.cylinders="16383"
ddb.geometry.heads="16"
ddb.geometry.sectors="63"
ddb.uuid.image="815e3d8a-2015-4612-bfbe-2aa887471d19"
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"
ddb.uuid.modification="ee994653-01a3-46d9-ae65-4ea38ee6df89"
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"
ddb.geometry.biosCylinders="1024"
ddb.geometry.biosHeads="255"
ddb.geometry.biosSectors="2"

Command

sudo VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk -rawdisk /dev/sda
mkdir /home/ricky/VirtualBox VMs/vmdks/
cd /home/ricky/VirtualBox VMs/vmdks/
sudo VBoxManage internalcommands createrawvmdk --filename wd3200.vmdk --rawdisk /dev/sda
sudo chown ricky wd3200.vmdk

New Command (correct syntax)
sudo VBoxManage internalcommands createrawvmdk --filename "/home/ricky/VirtualBox VMs/dsm52/wd3t78p.vmdk" --rawdisk /dev/sdb
sudo chown user wd3t78p.vmdk
sudo VBoxManage internalcommands createrawvmdk --filename "/home/ricky/VirtualBox VMs/dsm52/wd3t89p.vmdk" --rawdisk /dev/sdc
sudo chown ricky wd3t89p.vmdk

Virtualbox add amdk

Add SCSI Default LsiLogin controller
(Dont use SCSI BusLogic that cannot be detected)

2023 ASUS VPN AX56U Kwai Hong

2023 AX56U VPN

Kwai Hong 2022 2023
hkmimimall.ddns

AX56U
RT-AX56U V2
固件版本:3.0.0.4.386_51598
虚拟专用网 (VPN) 服务器: PPTP, OpenVPN, IPSec VPN
VPN 客户端: PPTP, L2TP, OpenVPN
Instant Guard

PPTP: Cannot use in China

OpenVPN: Need install OpenVPN app. Seems cannot use in China.
虚拟专用网 (VPN) 详细设置: General
服务器通信端口 55555
RSA 加密 1024 bit
客户端使用 VPN 访问网络 内部网络(LAN)
导出 OpenVPN 设置文件 client.ovpn

IPSec: Can use in China.
Description: ipsec
Server: hkmimimall.ddns.net
Account: leungirc
Password: Sky4dots
Certificate: No
GroupName: empty
Key: 131xxxx6

IPSec accounts (max 8 users):
leungric Sky4dots
ting unknown
ip12 unknown




2023 AC58U

Ching Fu Court 2023
hkwiwimall.asuscomm

RT-AC58U
韌體版本:3.0.0.4.380_8457
VPN 伺服器: PPTP, OpenVPN
VPN 用戶端: PPTP, L2TP, OpenVPN


2023年7月22日 星期六

2023 DSM 5.2 Xpenology on HyperV Enable Docker with synocommunity GateOne

 



HyperV nested virtualization
https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization
Set-VMProcessor -VMName dsm -ExposeVirtualizationExtensions $true

synocommunity
https://xpenology.com/forum/topic/49139-invalid-location/
https://github.com/SynoCommunity/spksrc/issues/4897
# ssh root@192.168.1.41Sky4dots
sudo -i
mv /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt.bak
curl -Lko /etc/ssl/certs/ca-certificates.crt https://curl.se/ca/cacert.pem
https://packages.synocommunity.com/

GateOne


2023 Promox on Morefine N6000 16GB 512GB

2023 Promox on Morefine N6000 16GB 512GB Software Etcher 100MB (not but can be rufus-4.3.exe 1.4MB) Proxmox VE 7.4 ISO Installer (1st ISO re...