Install Eee-PC using the SD card to simulate the CDROM disc image file

Source: Internet
Author: User
Article Title: Install Eee-PC using an SD card to simulate a CDROM disc image file. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Install Eee-PC using the SD card to simulate the CDROM disc image file (this method can be used to install UBUNTU on the SD card)

This document provides a simple method to guide LIVECD Based on ISOLINUX using the ASUS easy pc sd card reader. It can guide LINUX LIVECDs or install a system boot CD based on isolinux cdrom. This method does not affect the existing files in the SD card. Next, we will use an iso cd image file to demonstrate it in winXP and Cygwin environments (Note: I just tried it in winXP, but I don't need Cygwin ), of course, this is also possible in the GUN/Linux system, because SYSLINUX is common on both platforms. This method is applicable to other systems with USB memory cards, such as memory stick, CF card, and hard disk.

Here we recommend that you use the Server Load balancer's Chapter 2 installation disc as a USB boot driver ). When using this boot method, we can use the SD card as a conventional storage device, so there is no need to make a special installation package or network installation package, because we put the contents of the package on the SD card. In addition, we do not have to wait for the 23 mb usb boot. s image file to be loaded.

Tested on Eee PC 4G:

● EeeXubuntu LiveCD-desktop boot
● Systemrescumcm LiveCD-Basic Function installation (including nLite pre-installed tool cfdisk)
● Damn Small Linux LiveCD-desktop boot
● Slackware 12 Install CD-Basic Function installation (including mounting the SD card, specifying the package, and setting the Directory)
● Gentoo Minimal Install CD-system initialization fails after kernel Initialization

Needed:

● Adequate SD card for the CD file (Note: Generally, the CD is-MB, so 1 GB card is enough)
● Copy the CD file to the SD card computer
● Install the system's CD image file

● E-PC

Overview:

● Format the SD card (Translator's note: If the card is in use, there is no need to format it)
● Copy the files in the CD image file to the SD card
● Copy boot files for ISOLINUX

● Use SYSLINUX to set the SD card to a bootable

● Boot easy PC with SD card

Step 1: format the SD card

Connect the SD card to your computer. If you want to use a clean SD card to guide the system, you must first format the SD card. In windows, right-click "format" and select "FAT" or "FAT32". You 'd better choose "quick format" to accelerate the speed and prolong the service life of the SD card. Wait for ISOLINUX to make it a bootable SD card. In LINUX, we use mkdosfs and then use cfdisk to make the SD card partition bootable. Note that most SD cards are formatted. If there is enough space available, we do not recommend formatting cards.

Step 2: copy the files in the CD image file to the SD card

All files in the CD image must be copied to the top directory of the SD card. In windows, we can use 7-zip or WINRAR to directly open the CD image file, or use Daemon Tools to simulate opening the cd rom attached image. In linux, we can use the command "mount-t iso9660-o loop/path/file. iso/mnt/dir to mount the image to the specified directory, and then mount the SD card by running the "mount-t auto/dev/sdx1/mnt/dir" command. After copying all the files in the image, the image file is no longer needed. For linux, We Need To unmount the image file.

Step 3: copy the boot file for ISOLINUX

Find the "isolinux" directory on the SD card. Of course, this directory may also be saved under the "/boot" directory. Copy all files under the isolinux directory to the root directory of the SD card, and rename the file "isolinux. cfg" to "syslinux. cfg". Note that you do not need to edit this file. In linux, we need to use cfdisk to set to bootable, and then unmount the SD card.

Step 4: Use SYSLINUX to set the SD card to a bootable one (Note: if you have already set the next step through cfdisk)

Download the SYSLINUX tool. If you use linux, you can directly download and install SYSLINUX. In windows, download the binary compressed file package and decompress it. The following example demonstrates the operations in Cygwin/bash. The methods in linux are similar:

$ Cd/d/software/free/system/syslinux/syslinux-3.60/win32/
$./Syslinux.exe-a g:

(Translator's note: in fact, do not need Cygwin directly download a SYSLINUX and then in the syslinux-3.60/win32/directory to execute the command: syslinux.exe-a g: it can be, g: Is the SD card)

Note that the above command should not use the-s option. It will install SYSLINUX in safe mode, so it may take a long time to boot the system, and it is unnecessary for SD to install easy PC. Note that the "-a" option in linux does not set the SD card as bootable in windows, which is why we use cfdisk to set the SD card as bootable.

Step 5: enable easy PC with SD card boot

Disable Eee-PC and insert the SD drive into the Eee-PC card reader. Press the key to start Eee-PC. On the device selection page, click ESC, select USB: USB2.0 CardReader SD0, and press Enter. In this way, the ISOLINUX System in the SD card can be loaded. Note: Sometimes, after the kernel is successfully booted and initialized, the system may check that the hardware device fails, leading to an error in reading the SD card file. If the system is booting from the framebuffer VGS mode, the kernel will pop up immediately to let you choose your preferred mode. The font resolution is within the range of 80x60 and 80x25. You must specify the hexadecimal Screen mode. We recommend that you use the VGA console font resolution of f02 or 80x43.

Note: Here is a simple step for installing ubuntu on my SD card.

1. format the SD card of 1 GB to fat32
2. Mount and copy all files of Ubuntu 8.04 LTS (long-term support) to the SD card
3. Copy all files in/isolinux to the root directory of the card.
4. Modify "isolinux. cfg" in the root directory to "syslinux. cfg".
5. Download SYSLINUX and run the doscommand syslinux.exe-a g in the SYSLINUX subdirectory/win32:
6. BIOS setup system boot into USB-HDD, USB-ZIP
7. Start the UBUNTU installation page

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.