Hard to install LiveCD

What is a LiveCD?

On the LiveCD

[Edit] Hardware Requirements

Memory not less than 328M hard drive is not less than 5G

[Edit] Download CD-ROM file

Use axel or wget to download the LiveCD file ubuntu9.10

wget -c http://ubuntu.srt.cn/ubuntu-releases/9.10/ubuntu-9.10-desktop-i386.iso


md5sum ubuntu-9.10-desktop-i386.iso
8790491bfa9d00f283ed9dd2d77b3906 *ubuntu-9.10-desktop-i386.iso

Recommended to download the ISO certification after the completion of the backup file to the U disk or mount disk.

[Edit] Setting iso file

Note: the following are the assumptions, in practice, if we need flexibility to mount iso files on the disk under the installation location to mount the disk / media / disk /, where / media / disk / partition format is vfat, that is FAT32. where / media / disk / specific circumstances as their specific circumstances. An important prerequisite is to ensure the effective fstab to mount the disk was mounted the iso and then we want them . disk and under the vmlinuz casper and initrd.lz released, save to / media / disk / in the transfer to / media / disk / under before you check under / media / disk / the remaining space, the remaining space at least 750M. If not much that could be considered surplus to delete unwanted files. First of all the iso files to / media / disk / under iso file into the store directory

sudo mv *.iso /media/disk/

Then mount the iso, and copy. Disk, vmlinuz and initrd.lz three files to / media / disk /

sudo mkdir /mnt/live ; cd /media/disk ; sudo mount -t iso9660 -o loop,utf8 *.iso /mnt/live/ ; sudo cp -r /mnt/live/.disk  /media/disk/ ; sudo cp /mnt/live/casper/vmlinuz  /media/disk/ ; sudo cp /mnt/live/casper/initrd.lz  /media/disk/

If any important documents before reboot your system back up in time.

[Edit] Setting Startup Items

[Edit] grub

Modify grub file to start the entry point to the iso file

sudo gedit /boot/grub/menu.lst

Copy the following section to the menu.lst file

title Ubuntu 9.10 LiveCD
root (hd0,3)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-9.10-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd /initrd.lz

Description: The second line of the root (hd0, 3) partly based on your specific circumstances, if your / media / disk / location is (hd0, 1), then you should be set to (hd0, 1) set up after save out of more than say, in theory, the iso file anywhere on the disk (including the U disk) can all be installed, but the hd number you have to figure out, try to start the installation of a one-time success.

[Edit] grub2



This time there could have chosen 10 seconds.

Switch to the "/ etc / grub.d"

grub menu settings item. Add the ISO image it, from 50 onwards, has been a 40 before. Names such as 50_ubuntu_lucid

echo "Adding $ (egrep menu [e] ntry $ 0 | cut-d '"'-f2) "> & 2

cat << EOF

menuentry "Ubuntu 10.04 Daily Build" (

      loopback loop (hd0,3)/ansi/software_and_config/ISOs/ubuntu/lucid-desktop-i386.iso
      linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ansi/software_and_config/ISOs/ubuntu/lucid-desktop-i386.iso file=(loop)/preseed/ubuntu.seed quiet splash bootkbd=sg --
      initrd (loop)/casper/initrd.lz

) Means sda3 under / ansi / software_and_config / ISOs / ubuntu /. In order to change it for your needs there are 3 elements to change. The loopback line contains your hard disk in grub style (hdx, yx = 0 -> sda x = 1 -> sdb aso) and the path. The third element to change is in the linux line. Store this file as "50_ubuntu" in "/ etc / grub.d", make it executable with "chmod a + x 50_ubuntu" and activate the changes with "ubdate-grub". A

[Edit] How to determine the ISO position

grub and hd0, x is the drive to install the key issues to address these two issues, the hard disk installed Ubuntu operating system on half the battle! Query using fdisk partition of the machine state, such as my:

sudo fdisk -l

The results are as follows

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00019d35
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          12       96358+  82  Linux swap / Solaris
/dev/sda2              13         302     2329425   83  Linux
/dev/sda3   *         303         995     5566522+  83  Linux
/dev/sda4             996        9729    70155855    c  W95 FAT32 (LBA)

The first line shows the hard disk size is 80G, Line 4 shows the hard disk after the partition state, with a * is the grub kernel specified location, then the / dev/sda3 in grub is how to represent it? Expressed in the grub as (hd0, 2), that is the partition number by one, we are the ubuntu's iso and boot files on / dev/sda4 root directory, / dev/sda4 partition formatted as fat32, then, if to guide the grub boot / dev/sda4 iso file then they would have under the grub boot to / dev/sda4 disk, it is also that (hd0, 3) correspondence

/dev/sda1                hd0,0
/dev/sda2                hd0,1
/dev/sda3   *            hd0,2
/dev/sda4                hd0,3

If we use the USB to install ubuntu how to do? First of all, to the system used to mount usb usb disk partition fdisk view state, for example:

Disk /dev/sdb: 2118 MB, 2118123520 bytes
127 heads, 32 sectors/track, 1017 cylinders
Units = cylinders of 4064 * 512 = 2080768 bytes
Disk identifier: 0x00000000
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1018     2068448    b  W95 FAT32
Partition 1 has different physical/logical endings:
     phys=(1023, 126, 32) logical=(1017, 119, 32)

Then copy the iso ubuntu and boot files on / dev/sdb1 root directory, in / media folder under the new usb and then let the system automatically mount usb, modify fstab, the following is only for reference:

sudo nano /etc/fstab


/dev/sdb1   /media/usb vfat defaults    0      0

And then modify the grub, boot location that is (hd1, 0)

[Edit] Installation

Restart the system, select the Ubuntu 9.10 LiveCD boot into the system boot entry. The important point to add: After clicking the desktop installation, you must first umount isodevice

sudo umount -l /isodevice
分类:OS 时间:2010-08-04 人气:209
blog comments powered by Disqus


  • Ubuntu partition and hard disk partition file types, and basic knowledge of Linux partitions 2011-07-03

    Ubuntu hard disk partition used system, so I study and research the Ubuntu hard disk partition, where details of all hard disk partitions under Ubuntu applications, Ubuntu hopes to be useful hard disk partition contains a very good framework for tran

  • Hard disk partition to install Ubuntu graphics tutorial (more) 2010-04-28

    Source: http://www.173it.cn/Html/?5034.html 173IT Technology Network On Linux systems the "partition" problem, for the novice, has been a headache. I'll simply write about it, "district" approach, rules. 1. Mount point in Linux system

  • How to partition the hard disk partition to install Windows on ubuntu 2010-06-27

    To install Ubuntu Linux, first need to create a Linux partition on the hard disk before you can install into Linux, the final configuration. Following describes how the concrete. First, create a Linux partition on the hard disk The first step, run No

  • How to install Windows on a partition the hard disk partition ubuntu 2010-10-19

    To install Ubuntu Linux, you first need to create a Linux partition on the hard drive before you can install into Linux, the final configuration. The following describes how the specific operation. First, create a Linux partition on the hard disk The

  • UBUNTU installation boot disk making U 2010-11-16

    UBUNTU installation boot disk making U Tools http://sourceforge.net/projects/unetbootin/ Download the WINDOWS the executable, select the "CD image", choose to install to drive F U disk drive, click "OK." When using U disk to install, D

  • How to divide the hard disk partition in Windows install ubuntu on 2010-10-19

    To install Ubuntu Linux, you first need to create a Linux partition on the hard drive before you can install Linux into the final configuration. Following details how to operate. First, create a Linux partition on the hard disk The first step, run No

  • Ubuntu hard disk partition / format / mount the file system applications 2011-07-03

    Ubuntu update a lot of versions of updates, I think that Ubuntu's file system hard disk to make good on this to recommend. Today, technology continues to update, all using the files have been eliminated. I think there are very good as Ubuntu hard dri

  • RedHat as 5.3 installation disk partition description 2010-10-16

    RedHat as 5.3 installation disk partition description Recently because of work requirements, in their own machines installed Redhat as 5.3 on the system, from the entire installation process, the individual that has never been installed for the novic

  • ubuntu how to hide desktop icons mounted partition 2010-05-11

    Transfer from: http://www.bigwww.com/info/html/edu/20080102/281818.html How to hide mounted ubuntu partition desktop icon? In other systems to mount the hard disk partition, the default settings will display an icon on the desktop, it will affect the

  • linux hard disk partition (change) 2010-07-18

    In the process of learning Linux, install Linux is every beginner's first threshold. In the middle of this process, the greatest confusion than to the hard disk partition. Although the various distributions of Linux now have to provide a friendly gra

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 闽ICP备15018612号

processed in 0.037 (s). 13 q(s)