Hard to install LiveCD

sponsored links
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
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of Hard to install LiveCD

  • Ajax detailed description of the principle

    Ajax by the HTML, JavaScript ™ technology, DHTML and DOM composition, this method can be distinguished clumsy Web interface will be transformed into interactive Ajax applications. The author of this article is a Ajax experts, he demonstrated how these tec

  • Make rails.vim Work: Compile VIM From Sources

    Make rails.vim Work: Compile VIM From Sources Ever heard about rails.vim project? "Accept no imitations: rails. vim is the one true Vim plugin for syntax highlighing, easy navigation, and script invocation for all your Ruby on Rails applications, tra

  • Cross-compiling Ruby Dummies

    Recently, I came across someone at a time when cross-compiling ruby seems to run into a lot of questions (http://www.javaeye.com/topic/322718). In fact, the original ruby cross compiler should be a very simple a process, and hope that this "Dumm ...

  • Rails at RAS4 install some of the problems encountered

    RAS4 is already old, and if possible we should not use the recommended things, above What is missing , had to install a lot of things go their own or with RAS5, either with the server version of Ubuntu you! 1, require 'irb / completion' prompt

  • bdb: to improve the Berkeley DB for Ruby Bindings

    Berkeley DB Are a high-performance database system, which in the 20th century, early 90's development, he is not a SQL database engine driver, but used to store key / value pairs of data. BDB very fast, can be at most of the operating system to u ...

  • fedora8 install ror

    Fedora installation of Ruby on Rails Pre-action The following are the action is for the whole process has helped, but not necessarily the way to do. 1. Modify yum server, refer to the server internal I-Shou vi / etc / yum.repos.d / fedora.repo baseur ...

  • ubuntu lighttpd ruby rails2.2 PeanutHull discuz php fastc

    wget http://www.oray.cn/peanuthull/download/phlinux10all.tar.gz

  • Optimize Debian / Ubuntu under ruby

    We all know that Debian / Ubuntu through apt-get to install the ruby packages very slow (Reference: Ruby implementation of various amendments to the Performance Evaluation version) Usually we are, through their own www.ruby-lang.org from the download sour

  • Manual configuration in UBUNTU under ruby on rails environment

    Careless mistake for the day before yesterday, the sources, the results after 810 error after the upgrade, the loss of response button. On google found a lot of trouble really, lucky point modification under the / etc/X11/xorg.conf to restore both, b ...

  • Rails2.0.2 change the default DB adpter

    In Rails2.0.2 rails demo ... ... MissingSourceFile in SayController # hello no such file to load - sqlite3 RAILS_ROOT: / home / kenb / rails-projects / demo ... ... Checked config / database.yml, adpter default is set become the sqlite3. Check the ra ...

blog comments powered by Disqus
Recent Entries
Tag Cloud
Random Entries