Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Readme.txt | 2020-06-19 | 2.4 kB | |
c81_gui.xz | 2020-06-16 | 1.0 GB | |
c81_mini.xz | 2020-06-16 | 293.2 MB | |
vmlinuz-c81.1 | 2020-06-16 | 8.1 MB | |
vmlinuz-c81.2 | 2020-06-16 | 8.1 MB | |
Totals: 5 Items | 1.3 GB | 0 |
c81_mini.xz console version file system. c81_gui.xz GUI release ( password 123456 or 12345678 ) vmlinuz-c81.1 ISO installed kernel vmlinuz-c81.2 yum upgrade kernel on 2020/06/16 So, each kernel can compatible 2 file system. U can have 4 choices. ______________________________________ SOP: 1. Install it to a virtual machine on single sda1 partitioned 1. 只分一个ext4分区的虚拟机用光盘ISO安装 2. disable firewalld / NetworkManager/selinux 2. 使用systemctl 关闭firewalld NetworkManager, vim /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-c81.1 APPEND initrd=c81_gui.xz rootfstype=ramfs #KERNEL vmlinuz-c81.2 #APPEND initrd=c81_gui.xz 想少点内存跑起来你还是至少得2xsizeof(initrd) + 1GB (内核),注意是cpio而不是xz!内存少自行添加rootfs=ramfs到你的启动选项,可以节省不少内存,但是不推荐这样做,我们要的是力大砖飞!! 使用KERNEL vmlinuz-c81.2 initrd=c81_gui.xz rootfstype=ramfs 可以在只有8GB的内存的机器Dell R730启动