Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Add your own kernel and ramfs based on an existing Linux LiveCD     - Caffe + Ubuntu 14.04 64bit + CUDA 6.5 configuration instructions (Linux)

- Lazarus for Raspbian installation (Linux)

- Ubuntu 14.04.1 LTS compile and install the new kernel (Linux)

- How to add a new resolution VirtualBox (Linux)

- Android Service service applications and the phone SMS Listener Listener (Programming)

- Tmux Getting Start (Linux)

- Configure the Linux kernel and use iptables to do port mapping (Linux)

- Java exception handling mechanism (Programming)

- Install GAMIT / GLOBK 10.50 software under Ubuntu 14.04 (Linux)

- Achieve camera preview by ffplay (Linux)

- Impact test noatime Linux file access time (Linux)

- J2EE Example of Filter (Programming)

- Teach you how to choose to install CentOS 6.5 installation package (Linux)

- Vmstat command Linux Performance Monitoring (Linux)

- Practical Handbook: 130+ improve the efficiency of commonly used commands Vim (Linux)

- Spring-depth understanding of the various annotations (Programming)

- Subquery Oracle study notes (Database)

- C # and JavaScript arrays to re-summary (Programming)

- After the first remote installation GlassFish Web to remotely access their back office management system error solution appears (Server)

- How to use the TF / SD card making Exynos 4412 u-boot boot disk in Ubuntu (Linux)

  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
- UNIX how to restrict users by IP Telnet (Linux)
- Jetty JNDI Development combat (Linux)
- CentOS 7 Add yum source (Linux)
- php security study (Linux)
- Configuring ftp server and nfs server under Linux (Server)
- Nginx + ownCloud + PHP + MySQL to build personal private cloud under CentOS7 (Server)
- Slice MyCAT common fragmentation rules of enumeration (Database)
- Why use Docker (Programming)
- Vi (Vim) keyboard map and its basic commands (Linux)
- Debian 8.1 (amd64) deployed Memcached (Server)
- Use Hexo quickly build and deploy a blog to Github (Server)
- Java reflection summary (Programming)
- CentOS6 MongoDB connection solution can not break 1000 (Database)
- CentOS 6.5 opens the Xmanager Remote Desktop login (Linux)
- Linux CPU Monitoring Index (Linux)
- Deploy Apache Spark cluster environment in Ubuntu (Server)
- Linux vi command list (Linux)
- Linux operating system security can not be ignored (Linux)
- Linux system commands to view hardware information (Linux)
- Linux environment to configure Apache + Django + wsgi (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.