Use vfloppy to install CDLinux to the hard disk and modify the default extra path parameters.

Source: Internet
Author: User
Directly use grubto extract bzimageand cdlinux.gz to CDlinux2 from the hard drive, extract extra directory, copy the entire directory to CDlinux3, directly copy the grub directory in iso to the bootgrub directory started by the hard drive, and create a menu under this directory. lst, content: default0 # Allow30secondsbeforebootingt

Direct use of grub to boot from the hard disk

1. Extract bzImage and CDlinux.gz to/CDlinux

2. ExtractionExTrDirectory a. Copy the entire directory to/CDlinux

3. Directly copy the grub directory in iso to the/boot/grub/directory started on the hard disk.

Create a menu in the directory.LsT. The content is as follows:

Default 0

# Allow 30 seconds before booting the default.
TimeOut 30

# Use prettierColOrs.
Color green/black light-green/black

# The first entry is for CDlinux.
Title CDlinux from HDD
Root (hd0, 0)
Kernel/CDlinux/bzImage root =/dev/ram0 vga = 788 CDL_DEV =/dev/hda1
Initrd/CDlinux/CDlinux.gz

Then install grub on the hard disk mbr, enterCommandPay attention to the spaces between commands and parameters.

> Grub
> Root (hd0, 0)
>SetUp (hd0)
> Quit
**************************************** **************************

Download http://www.cdlinux.info/wiki/doku from official homepage.Php/Zh/download/latest

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,ExtractIso file

2. Create a subdirectory of C: \ CDLinux 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 make the kernel to C: \ CDLinux directory to 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

Http://www.google.com/search? Hl = en & lr = & newwindow = 1 & q = vfloppy

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: \ CDLinux directory, and then start CDlinux. Enter the following kernel parameters at the boot: prompt to start the system: (if you press enter to start the system, 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 USB,

Common commands for 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. hdpaRmAllows you to view hardware information.

4. ssh \Ftp

......

Follow these steps to modify the default parameter of the boot menu and add CDlinux CDL_DEV =/dev/hda1

Mount/mnt/win

Mount-o loop/mnt/win/boot/CDlinux. img/mnt/floppy

Cd/Mnt/floppy

Vi SYSlinux. cfg

Edit SYSlinux. cfg to set the default startup parameters:

Lable 2
Kernel bzImage
Append initrd1_cdlinux.gz root =/dev/ram0 vga = 788
Change

Lable 2
Kernel bzImage
Append initrd1_cdlinux.gz root =/dev/ram0 vga = 788 CDL_DEV =/dev/hda1
After modification is complete
Reboot
Now, you can directly press enter to find the extension package under extra and install it.
Official homepage: http://cdlinux.berlios.de/
CDlinux is a small Linux system that starts and runs from a CD and can be used for system repair/maintenance. Supports many hardware (PCMCIA, SCSI, USB, etc.) and multiple network protocols (ftp, ssh, nfs, samba, etc ). You can easily customize and add or delete software packages as needed.

CDlinux supports the eastern language (CJK), especially for simplified Chinese. Kernel andMkisofsAnd so onCp936 patch to correctly process the Chinese file names in the vfat and iso + joliet file systems.

Related Article

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.