Download Latest Version enable-uefi.tar.xz (1.7 MB)
Email in envelope

Get an email when there's a new version of Rack OS

Home / Cent7.8-Release
Name Modified Size InfoDownloads / Week
Parent folder
ReadMe.txt 2020-06-19 2.1 kB
c78.xz.lzma 2020-06-15 972.4 MB
vmlinuz-c78 2020-06-13 6.8 MB
Totals: 3 Items   979.2 MB 0
vmlinuz-c78 内核 (kernel)
c78.xz.lzma 实际上是xz (actually a xz format) 
______________________________________
SOP:
1. Install it to a virtual machine on single sda1 partitioned
1. 只分一个ext4分区的虚拟机用光盘ISO安装
2. disable firewalld / NetworkManager/Selinux
2. 使用systemctl 关闭firewalld NetworkManager,修改/etc/selinux/config关闭selinux
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-c78
APPEND initrd=c78.xz.lzma  rootfstype=ramfs

想少点内存跑起来你还是至少得2xsizeof(initrd)  + 1GB (内核),注意是cpio而不是xz!内存少自行添加rootfs=ramfs到你的启动选项,可以节省不少内存,但是不推荐这样做,我们要的是力大砖飞!!

Test pass with kvm virtual machine and DELL server R340 / Intel SC2400 with 32GB ram
Source: ReadMe.txt, updated 2020-06-19