Qnap 453Dmini install archlinux 威联通 安装archlinux

Since 453Dmini is sold in only China. So I will write it in Chinese. 之前手上的星际大陆矿机感觉太笨重了,正好双11,便入了威联通453Dmini, 因为我本来 用的是archlinux,而又由于该型号是中国区特供,所以我担心是否 能够从U盘启动等问题。 很多人会问为什么要装linux而不用自带的威联通系统,原因是因为:我喜欢你管得着? archlinux有最新的软件,不比封闭的方便?因此此文章提供给不满意封闭系统的人,谢谢。 启动问题 到手之后发现默认进入的是qnap系统,此时注意不要插任何HDD/SSD,否则会抹掉磁盘 上的数据!直接插上archlinux的U盘,然后开机时看到图标,按f2进入bios,修改 第一启动项目为U盘。点Save and exit之后进入archlinux。 mount 上qnap的mmcblk0一看,内核是基于4.14 ubuntu的: 为了防止qnap的启动启动之后抹掉盘上的数据,我们需要抹掉mmblk0上的数据。 注意首先用 dd if=/dev/mmcblk0 备份qnap的系统。 这边列下我用只有3G的mmcblk0左为archlinux的boot和EFI分区,之后按照archlinux官方 的书册安装就可以了。如果是已经有linux的系统,注意手动更新下rootfs里面的grub /etc/fstab。重启拔掉U盘,应该就可以从原来的磁盘启动了。 mmcblk0 179:0 0 3.7G 0 disk ├─mmcblk0p1 179:1 0 256M 0 part /boot/EFI └─mmcblk0p2 179:2 0 3.4G 0 part /boot 453Dmini sata控制器写入问题(可能) 我比较懒,直接贴上我提的ticket的描述好了,至今为止官方未回复我: 主题:ata2.00: exception Emask 0x10 SAct 0x7ff8000f SErr 0x400101 action 0x6 frozen …

Posted on

Wb2twitter

#Sync sina weibo to twitter (multi images supported) #同步微博到twitter (2021) First of all, things needed: One twitter account with developer approved One linux machine One weibo account (of course) get your weibo account url. e.g. https://weibo.com/u/2810373291 and get rss address from https://rssfeed.today/weibo/ ssh your linux machine and follow instructions on https://github.com/Damenly/wb2twitter That’s all. :)

Posted on

APFS

APFS NOTES This blog just records something when I port apfs(Apple file system) to Linux. Please forgive my english ;) APFS maximum subvolume number limit A complete APFS consists of one container super block (nx_superblcok) and multi subvolumes. Each subvolume has its own superblock, fs tree, backref tree. And Thanks to Apple’s good design, the maximum subvolume numer of one APFS is 100. It’s defined in struct apfs_nx_superblock: #define APFS_MAX_FILE_SYSTEMS 100 struct apfs_nx_superblock { . …

Posted on

About Me

Email: l@damenly.su / l@damenly.org

Posted on