从帖子上转过来的觉得不错:
How to Install ubuntu by livecd with out a cdrom.
method 1: Create Bootable USB
Here is a way to create a bootable USB flash drive manually. The
advantage is you don't have to empty your USB drive as long as you have
enough space for the files. It also allows multi boot, so you can, for
example, have your USB drive holding both 32bit and 64bit versions of
Ubuntu and other Boot CD tools at the same time.
In order to do so you need :
Bootable USB flash drive ( NTFS / FAT32 / FAT 16 ), Disk with MBR, you
can do this with gparted in linux or HP format in Win, fdisk ....etc
Ubuntu ISO of your choice
Tools to extract files in the ISO ( ISO Mount, WinZIP, WinRAR, 7Zip, etc....)
Grub4Dos
Grub4DOS' Tutorial
Grub4DOS 0.4.4 for WIN9x/DOS/Linux(Download Here)
Grub4DOS GUI for WINXP/Vista/7
First you need to install grub on to the USB's MBR. Follow the link to the Grub4DOS Wiki: Simple example:
./bootlace /dev/sdx
For more details, visit:
go to *continue.
method 2: Use exist Windows to install a Ubuntu.
unzip the grub4dos, copy grldr to c:\
edit c:\boot.ini add 1 line as "c:\grldr="Booting with grub4dos"
to to *continue, extracting files and generate C:\menu.lst.
*Continue:
Next, you open up the ISO file and extract the files in casper
directory. The size (and possibly manifest) are needed if you want to
install from the USB drive otherwise the install will error out.
total 701060
-rwxr-xr-x 1 adrian adrian 38784 2010-07-27 16:15 filesystem.manifest
-rwxr-xr-x 1 adrian adrian 10 2010-07-27 16:15 filesystem.size
-rwxrwxrwx 2 adrian adrian 704487424 2010-04-29 05:38 filesystem.squashfs*
-rwxrwxrwx 1 adrian adrian 9365872 2010-04-29 05:34 initrd.lz*
-rwxrwxrwx 1 adrian adrian 4029792 2010-04-16 06:01 vmlinuz*
/media/Fujitsu 60GB USB/bootimg/ubuntu.10.4.x86$
Copy grldr to the root of the drive.
drwx------ 1 adrian adrian 4096 2010-05-05 16:49 bootimg/
-rwxrwxrwx 1 adrian adrian 220049 2009-09-24 17:30 grldr*
-rwxrwxrwx 1 adrian adrian 2760 2010-05-04 23:08 menu.lst*
/media/Fujitsu 60GB USB$
Now create menu.lst at the root of USB. Example of menu.lst:
default /default
#####################
title Ubuntu LiveCD
find --set-root /casper/initrd.lz
kernel /casper/vmlinuz boot=casper live-media-path=/casper ignore_uuid
initrd /casper/initrd.lz
boot
Make sure the path match where the files you copy to.
Now, reboot.
From:
阅读(2395) | 评论(0) | 转发(0) |