Diff: [root] @ 659356fffb2 | faq | css


File created: 33188 howto/boot-iso-from-flash [Diff]

diff --git a/howto/boot-iso-from-flash b/howto/boot-iso-from-flash
new file mode 100644
index 0000000..cf75647
-- /dev/null
++ b/howto/boot-iso-from-flash
@@ -0,0 +1,61 @@
h1. How to boot an iso from flash drive

h2. Requirements

* Flash drive
* "Grub4dos":http://sourceforge.net/projects/grub4dos/files/
* dd
* fdisk (or something else that does partitions)

h2. Sequence

* Download and extract grub4dos, cd to its directory.
* Plug in your flash drive. Remember its device (I'll use /dev/sde)
* Copy grub4dos MBR to flash drive:

bc. # dd if=grldr.mbr of=/dev/sde
18+0 records in
18+0 records out
9216 bytes (9.2 kB) copied, 0.011999 s, 768 kB/s

* Create new FAT32 partition on your flash drive:
** Launch fdisk: @# fdisk /dev/sde@
** Create new partition on full disk: n, Enter, p, Enter, Enter
** Press w to write changes and exit fdisk
** Run @mkfs.vfat -F 32 /dev/sde1@
* Mount your partition and copy .iso to it:

bc. # mkdir -p /media/sde1
# mount /dev/sde1 /media/sde1
# cp ~/isoz/debian-504-i386-netinst.iso /media/sde1/

* Copy grub4dos binary over:

bc. # cp grldr /media/sde1/

* Edit menu.lst:

bc. # editor /media/sde1/menu.lst

* Add following content to it:

bc. title My cool ISO image
find --set-root /debian-504-i386-netinst.iso
map /debian-504-i386-netinst.iso (0xff)
map --hook
chainloader (0xff)

* Unmount partition:

# umount /dev/sde1
# rm -r /media/sde1

If you are lucky, this will boot. If you unlucky (and it says something about uncontinuous), during copying the .iso image it got fragmented. Re-copy and 1. Pray 2. Try to copy .iso on clean disk.



And few more links that I can't remember from [http://www.google.com/search?q=grub+boot+iso&ie=UTF-8&oe=UTF-8]

And thanks to GRUB2 guys for fucking up config!
\ No newline at end of file

File: howto/index [Diff]

diff --git a/howto/index b/howto/index
index 9c7c314..a2c7250 100644
-- a/howto/index
++ b/howto/index
@@ -1,2 +1,3 @@
mathtex - How to render nice TeX pngs on web
setup-keyboard-wo-X - How to set up X keyboard layouts w/o xorg.conf
boot-iso-from-flash - How to boot .iso image from flash drive

File: translations/index [Diff]

diff --git a/translations/index b/translations/index
index 9ed8747..e5a4f92 100644
-- a/translations/index
++ b/translations/index
@@ -1 +1 @@
Мои (и не только) переводы песен
\ No newline at end of file

By Voker57 on 2010-03-23 21:10:32 +0300 Powered by bitcheese wiki engine