| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Readme.txt | 2020-06-22 | 2.6 kB | |
| u2004_gui.zip.001 | 2020-06-16 | 734.0 MB | |
| u2004_gui.zip.002 | 2020-06-16 | 605.0 MB | |
| vmlinuz-u2004.1 | 2020-06-15 | 11.7 MB | |
| vmlinuz-u2004.2 | 2020-06-15 | 11.7 MB | |
| u2004_mini.xz | 2020-06-15 | 335.8 MB | |
| vmlinuz-u2004-mini | 2020-06-15 | 11.7 MB | |
| Totals: 7 Items | 1.7 GB | 0 | |
u2004_mini.xz is a console release without GUI ( username heckle/root password 123456/12345678 or password just a space key )
vmlinuz-u2004-mini console version kernel
vmlinuz-u2004.1 / vmlinuz-u2004.2 GUI version kernel (apt update so that I have 2 kernels)
u2004_gui.zip.001/u2004_gui.zip.002 GUI version file system (pwd: 123456 or 12345678 or just 1 space key for default user), match 2 kernels in 1 xz file.
______________________________________
SOP:
1. Install it to a virtual machine on single sda1 partitioned
1. 只分一个ext4分区的虚拟机用光盘ISO安装
2. disable firewalld / NetworkManager/apparmor
2. 使用systemctl 关闭firewalld NetworkManager apparmor
3. config IP with dhclient by modify /root/.bashrc /etc/rc.d/rc.local
3. 为了省事我使用dhclient来分配IP,可以通过修改自动登录使用.bashrc运行dhclient或者先给rc.local授权,然后在 rc.local里面调用dhclient
4. shutdown VM and attach disk to another VM installed Linux
4. 关闭当前虚拟机,把硬盘文件挂在另一台装好了Linux的虚拟机上准备提取文件
5. mount /dev/sda1 /media. My working pack VM use /dev/vda1. so here should be sda1.
5. 把工作虚拟的硬盘设置为vda,这样sda1就是我们打包的目标,mount 到media
6. mkdir /cpio; cd /cpio; tar -cf rootfs.tar /media/*
7. mkdir fs; cd /cpio/fs; tar -xvf ../rootfs.tar;
8. cd /cpio/fs/media; vim etc/fstab; comment root line, or just rename the file...
9. ln -s lib/systemd/systemd init;
10. rm -rf boot; rm -rf tmp/*;cd var; find . -type f -exec rm {} \;
11. cd /cpio/fs/media; find . | cpio -oHnewc >../initrd;
12. cd /cpio/fs; xz -z9vf --threads=16 --check=crc32 --lzma2 initrd;
13. cp /media/boot/vmlinuz ... ; cp /cpio/fs/initrd.xz ... ; then u got them;
13. 提取/media/boot里面的vmlinz和 /cpio/fs里面的initrd.xz 你要的东西就打包好了
===================================================================
Note: If u want less memory u must set the tftpboot/pxelinuc.cfg/default with below:
KERNEL vmlinuz-u2004.2
APPEND initrd=initrd.xz rootfstype=ramfs
#KERNEL vmlinuz-u2004.1
#APPEND initrd=initrd.xz
#KERNEL vmlinuz-u2004-mini
#APPEND initrd=u2004_mini.xz rootfstype=ramfs
想少点内存跑起来你还是至少得2xsizeof(initrd) + 1GB (内核),注意是cpio而不是xz!内存少自行添加rootfs=ramfs到你的启动选项,可以节省不少内存,但是不推荐这样做,我们要的是力大砖飞!! 使用KERNEL vmlinuz-u2004-mini initrd=u2004_mini.xz rootfstype=ramfs 可以在只有2GB的内存的机器启动,好不好用我没测试