Installation manual: Vfloppy install Linux Through CD

Source: Internet
Author: User

Now many people are learning about linux. During the course, we will encounter many problems. Next we will discuss how to install linux on CD. In an optical disk linux system, you can run the tool without installing it. This prevents installation and installation failures. For example, copying the tool to a hard disk is more convenient, the speed is much faster than running on a CD, and each running system is new. You are not afraid of Trojans, viruses, or getting rid of it. You can delete it like deleting a file, I would like to try these advantages. The following describes how to use vfloppy CD to install the Linux system and run it on the hard disk.

Direct use of grub to boot from the hard disk
1. Extract bzImage and CDlinux.gz to/CDlinux
2. Extract the extra directory and copy the entire directory to/CDlinux
3. Directly copy the grub directory in iso to the/boot/grub/directory started on the hard disk.

And create menu. lst in this directory. The content is as follows:

  1. Default 0
  2. # Allow 30 seconds before booting the default.
  3. Timeout 30
  4. # Use prettier colors.
  5. Color green/black light-green/black
  6. # The first entry is for CDlinux.
  7. Title CDlinux from HDD
  8. Root (hd0, 0)
  9. Kernel/CDlinux/bzImageRoot=/Dev/ram0Vga=788 CDL_DEV=/Dev/hda1
  10. Initrd/CDlinux/CDlinux.gz
Then install grub on the reverse hard disk mbr. when entering the command, pay attention to the space between the command and the parameter.
 
 
 
  1. >grub  
  2. >root (hd0,0)  
  3. >setup (hd0)  
  4. >quit 

Download the latest stable: CDlinux-0.4.9 from the official homepage

The downloaded file is an iso file, which can be directly burned to the CD to start from the CD, or loaded from the VM to start from the CD.

Refer to the official howto document to install it on the hard disk.

Installation to the hard disk in windows: (the ntfs partition cannot be mounted in version 0.4.9, so the extra directory under the ntfs partition cannot be loaded, select a fat32 partition to store files in the extra directory)
1. decompress the iso file
2. Create the C: CDLinux subdirectory in the root directory of the C drive. This is the default path for the kernel to search for extra. You can change the path and name by modifying the kernel parameters.
3. copy the entire extra directory After decompressing iso to the C: CDLinux directory.
4. copy CDlinux. img to the C: CDLinux directory. This is an image file for the boot floppy disk. We need to start the file:
BzImage
CDlinux.gz
I use a virtual machine to open CDLinux. img and copy the two files. Of course, other methods can be used.
Copy the preceding two files to the C: CDLinux directory.
5. Download loadlin.exe and copy it to the C: CDLinux directory.
6. Start dos and enter the c: CDLinux directory. Execute the following command: (CDL_DEV =/dev/hda1 is used to run the kernel to the C: CDLinux directory and find the extra directory to load the extension module)
Loadlin bzImage initrd1_cdlinux.gz CDL_DEV =/dev/hda1
Then you can start CDLinux.

There is also a simpler method: Use vfloppy to install the CDlinux. img floppy disk image file
Download vflopy and install our CDlinux. img environment file, so that you can directly start CDLinux from the hard disk. If you need to install the extension module under the extra directory, follow the above method to copy the extra directory to C: in the CDLinux directory, and then start CDlinux, enter the following kernel parameters at the boot: prompt to start the system: (if you directly press enter to start, you can only start the basic system and cannot load the extension module)
Boot: CDlinux CDL_DEV =/dev/hda1
Use root to log on after startup, without a password.

Download vflopy and install our CDlinux. img environment file, so that you can directly start CDLinux from the hard disk. If you need to install the extension module under the extra directory, follow the above method to copy the extra directory to C: in the CDLinux directory, and then start CDlinux, enter the following kernel parameters at the boot: prompt to start the system: (if you directly press enter to start, you can only start the basic system and cannot load the extension module)

Boot: CDlinux CDL_DEV =/dev/hda1

Use root to log on after startup, without a password.

CDlinux supports DHCP and some common commands of USB and CDlinux:
1. Enter cce to start Chinese Input, ctrl + shift + space to switch between Chinese and English input, and ctrl + shift to switch between Chinese Input Methods
2. grub
3. hdparm allows you to view hardware information.
4. sshftp

Follow these steps to modify the default parameters of the boot menu and add

 
 
  1. CDlinux CDL_DEV=/dev/hda1     
  2. mount /mnt/win     
  3. mount -o loop /mnt/win/boot/CDlinux.img /mnt/floppy     
  4. cd /mnt/floppy     
  5. vi SYSlinux.cfg    
Edit SYSlinux. cfg and set the default startup parameter lable 2.
Kernel bzImage
Append initrd1_cdlinux.gz root =/dev/ram0 vga = 788
Change to lable 2
Kernel bzImage
Append initrd1_cdlinux.gz root =/dev/ram0 vga = 788 CDL_DEV =/dev/hda1
Reboot after modification
Now, you can directly press enter to find the extension package under extra and install it. I hope this article will teach you how to install linux on CD.
 
  1. How to configure an Open Suse Linux Server
  2. Comprehensive Analysis of Suse Linux passed the sun Test
  3. Preschool guidance: SUSE Linux
  4. Follow the summer project of Open Suse and Google Programming
  5. Describe how to install Jdk and mysql in Open SUSE

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.