Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Add your own kernel and ramfs based on an existing Linux LiveCD     - RHEL7 unattended automatic installation DHCP + TFTP + SYSLINUX + TFTP + Kickstart (Linux)

- VMware clone Linux find eth0 (Linux)

- Linux Bash share tips for getting started (Linux)

- CentOS 6 adds disk quota limit (Linux)

- MySQL Tutorial: Building MySQL Cluster under Linux (Database)

- Vim useful plugin: EasyGrep (Linux)

- How to query the role of Linux services (Linux)

- Java, hashcode, equals and == (Programming)

- Vim plugin installation YouCompleteMe (Linux)

- Linux operating system Start Tutorial: Xmanager Remote Access Linux graphical interface (Linux)

- CentOS installation Docker series (Linux)

- JBPM6 Tutorial - taught you how to install JBPM (Linux)

- C ++ Replication Control: Assignment operators and destructors (Programming)

- Ubuntu 14.04 compile RT288x_SDK / toolchain / squashfs3.2-r2 Error (Linux)

- Deployment Kubernetes manage Docker example cluster on Ubuntu (Server)

- Intel Graphics Installer 1.0.3 released, support for Ubuntu (Linux)

- Lua and C ++ (Programming)

- Json Applications of FastJson (Programming)

- RT-11SJ run at ambient PDP-11 MACRO-11 assembly (Programming)

- Supervisor Installation and Configuration (Server)

  Add your own kernel and ramfs based on an existing Linux LiveCD
  Add Date : 2018-11-21      
  Target: add your own kernel and ramfs based on an existing Linux LiveCD

Original LiveCD: install-amd64-minimal-20130711.iso (gentoo)

Working System: CentOS

1. Copy the contents of the original LiveCD:

[Root @ localhost Downloads] # mkdir / mnt / livecd
[Root @ localhost Downloads] # mkdir / mnt / img
[Root @ localhost Downloads] # mount -t iso9660 -o loop install-amd64-minimal-20130711.iso / mnt / livecd /
mount: / dev / loop0 is write-protected, mounting read-only
[Root @ localhost Downloads] # cp -r / mnt / livecd / * / mnt / img

2. Switch to the / mnt / img, look at / mnt / img following.

[Root @ localhost img] # ls
gentoo.efimg image.squashfs livecd README.txt
gentoo.efimg.mountPoint isolinux

3. ramfs own kernel and put into isolinux folder. Here is the kernel bzImage, ramfs is ramfs.tar.gz

[Root @ localhost img] # ls isolinux /
boot.cat elilo.efi F4.msg F7.msg isolinux.bin memtest86
boot.msg F2.msg F5.msg gentoo isolinux.cfg ramfs.tar.gz
bzImage F3.msg F6.msg gentoo.igz kernels.msg System.map-gentoo

4. Modify isolinux.cfg, add a boot (which append that one, may need to be increased or decreased according to their parameters):

label hello-test
  kernel bzImage
  append root = / dev / ram init = / linuxrc initrd = ramfs.tar.gz

5. Go back img, make your own iso file

mkisofs -R -b isolinux / isolinux.bin -c isolinux / boot.cat -o /tmp/test.iso -V "test Linux" -no-emul-boot -boot-load-size 4 -boot-info-table .

6. The test.iso directly with the virtual machine, or burn down, entering the start screen, press the TAB key, you can see the hello-test this one, enter it and start
- Linux `dirname $ 0` (Linux)
- Two minutes thoroughly so that you understand Android Activity Lifecycle (Programming)
- Hardware Firewall Basics (Linux)
- Easy to install CentOS 6.6 desktop environment (Linux)
- Deploy Apache Spark cluster environment in Ubuntu (Server)
- How to use the command line ftp upload and download files (Linux)
- Spring inject a type of object to enumerate (Programming)
- Ubuntu Apache2 setting, problem solving css, pictures, etc. can not be displayed (Server)
- Configuring Eclipse Note Templates (Linux)
- Installation and use the telnet command under CentOS 6.x (Linux)
- Udev: Device Manager for Linux Fundamentals (Linux)
- Basic Tutorial: Linux novice should know 26 commands (Linux)
- MongoDB 3.2 Cluster Setup (Database)
- swap space is insufficient cause OOM kill MySQL Case (Database)
- High-performance JavaScript loops and flow control (Programming)
- MySQL use the integer type (Database)
- CentOS7 installation GAMIT and GMT (Linux)
- mysqldump implement database logical backup (Database)
- Android source code compiled fatal error solutions (Programming)
- Linux dmidecode command detail (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.