Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
wiki:boot_flash [2012/05/08 09:34] – [Ubuntu installer] kolan | wiki:boot_flash [2014/01/06 19:40] – [DOS 7.1] kolan |
---|
kernel memdisk | kernel memdisk |
append initrd=/bootdisk/dos622.img floppy</code> | append initrd=/bootdisk/dos622.img floppy</code> |
| |
| |
| You can download and version of [[http://old-dos.ru/files/file_64.html|Dos 6.22]] and save as stick:/bootdisk/dos622.img |
| |
==== Grub4dos ==== | ==== Grub4dos ==== |
Extract from [[http://sourceforge.net/projects/grub4dos | Grub4dos]] //grub.exe// file to the stick into /syslinux/ relative path. And create //stick:/menu.lst// config file for Grub4dos <code ini | stick:/menu.lst>color black/cyan yellow/cyan | Extract from [[http://sourceforge.net/projects/grub4dos | Grub4dos]] //grub.exe// file to the stick into /syslinux/ relative path. And create //stick:/menu.lst// config file for Grub4dos <code ini | stick:/menu.lst>color black/cyan yellow/cyan |
==== Debian netinstall ==== | ==== Debian netinstall ==== |
To get available Debian netinstall need to download [[ftp://ftp.debian.org/debian/dists/testing/main/installer-i386/current/images/netboot/debian-installer/i386/linux | kernel-32bit]], [[ftp://ftp.debian.org/debian/dists/testing/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz | initrd-32bit]], [[ftp://ftp.debian.org/debian/dists/testing/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux | kernel-64bit]], [[ftp://ftp.debian.org/debian/dists/testing/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz | initrd-64bit]] and move it to the //stick:/syslinux// directory renaming to //vmlinuz-debian32//, //initrd-debian32.gz//, //vmlinuz-debian64//, //inird-debian64.gz// accordinly. Under GNU/Linux you can do all operations by typing one command <code bash | Downloading Debian files: path - path to the mounted usb stick fs, release = stable | testing | sid> | To get available Debian netinstall need to download [[ftp://ftp.debian.org/debian/dists/testing/main/installer-i386/current/images/netboot/debian-installer/i386/linux | kernel-32bit]], [[ftp://ftp.debian.org/debian/dists/testing/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz | initrd-32bit]], [[ftp://ftp.debian.org/debian/dists/testing/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux | kernel-64bit]], [[ftp://ftp.debian.org/debian/dists/testing/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz | initrd-64bit]] and move it to the //stick:/syslinux// directory renaming to //vmlinuz-debian32//, //initrd-debian32.gz//, //vmlinuz-debian64//, //inird-debian64.gz// accordinly. Under GNU/Linux you can do all operations by typing one command <code bash | Downloading Debian files: path - path to the mounted usb stick fs, release = stable | testing | sid> |
path=/mnt/flash ; release=testing | path=/mnt/flash ; release=stable |
ftp_url="ftp://ftp.debian.org/debian/dists/$release/main/installer"; \ | ftp_url="ftp://ftp.debian.org/debian/dists/$release/main/installer"; \ |
ftp_path="current/images/netboot/debian-installer" \ | ftp_path="current/images/netboot/debian-installer" \ |
│ ├── filesystem.squashfs | │ ├── filesystem.squashfs |
│ ├── initrd.lz | │ ├── initrd.lz |
│ └── vmlinuz | │ └── vmlinuz.efi |
</code> | </code> |
Add menu items to Grub4dos menu.lst | Add menu items to Grub4dos menu.lst |
<code config | stick://menu.lst> | <code config | stick://menu.lst> |
title Ubuntu 12.04 LTS amd64 | title Ubuntu LiveCD/Installer |
find --set-root /casper/initrd.lz | find --set-root /casper/initrd.lz |
kernel /casper/vmlinuz boot=casper live-media-path=/casper/ ignore_uuid | kernel /casper/vmlinuz.efi boot=casper live-media-path=/casper/ ignore_uuid |
initrd /casper/initrd.lz | initrd /casper/initrd.lz |
</code> | </code> |
On new Ubuntu CD /casper directory may have another name so you must change it in the config. Also you probably want to change the title. | On new Ubuntu CD /casper directory may have another name so you must change it in the config. Also you probably want to change the title. |
full_path="$path/install/gentoo"; \ | full_path="$path/install/gentoo"; \ |
url_path="http://mirrors.kernel.org/gentoo/releases"; mkdir -p "$full_path" \ | url_path="http://mirrors.kernel.org/gentoo/releases"; mkdir -p "$full_path" \ |
&& fname=`wget $url_path/x86/autobuilds/latest-stage3-i686.txt -O - 2>/dev/null | tail -n1 | cut -d/ -f2` \ | && fname=`wget $url_path/x86/autobuilds/latest-stage3-i486.txt -O - 2>/dev/null | tail -n1` \ |
&& wget "$url_path/x86/autobuilds/current-stage3-i686/$fname" -O "$full_path/$fname" \ | && wget "$url_path/x86/autobuilds/$fname" -O "$full_path/${fname##*/}" \ |
&& fname=`wget $url_path/amd64/autobuilds/latest-stage3.txt -O - 2>/dev/null | tail -n1 | cut -d/ -f2` \ | && fname=`wget $url_path/amd64/autobuilds/latest-stage3-amd64-nomultilib.txt -O - 2>/dev/null | tail -n1` \ |
&& wget "$url_path/amd64/autobuilds/current-stage3/$fname" -O "$full_path/$fname" \ | && wget "$url_path/amd64/autobuilds/$fname" -O "$full_path/${fname##*/}" \ |
| && fname=`wget $url_path/amd64/autobuilds/latest-stage3-amd64-hardened+nomultilib.txt -O - 2>/dev/null | tail -n1` \ |
| && wget "$url_path/amd64/autobuilds/$fname" -O "$full_path/${fname##*/}" \ |
&& wget "$url_path/snapshots/current/portage-latest.tar.bz2" -O "$full_path/portage-latest.tar.bz2" \ | && wget "$url_path/snapshots/current/portage-latest.tar.bz2" -O "$full_path/portage-latest.tar.bz2" \ |
&& echo "Downloading portage and stag3 success \! ;-)" \ | && echo "Downloading portage and stag3 success \! ;-)" \ |
| |
==== DOS 7.1 ==== | ==== DOS 7.1 ==== |
To have DOS 7.1 on the stick download diskette image from [[http://narod.ru/disk/27030580000/4DOS.IMA.html | narod.ru]] or [[http://www.backbone.ws/share/dist/os/dos | this site]] and move to the //stick:/bootdisk// directory. In Bash you cat type <code bash | Downloading DOS 7.1 image: path - path to mounted stick>path=/mnt/flash | To have DOS 7.1 on the stick download diskette image from [[http://narod.ru/disk/27030580000/4DOS.IMA.html | narod.ru]] or [[http://www.backbone.ws/share/dist/dos/os | this site]] and move to the //stick:/bootdisk// directory. In Bash you cat type <code bash | Downloading DOS 7.1 image: path - path to mounted stick>path=/mnt/flash |
wget http://www.backbone.ws/share/dist/os/dos/4dos.ima -O "$path/bootdisk/4dos.ima" \ | wget http://www.backbone.ws/share/dist/dos/os/4dos.ima -O "$path/bootdisk/4dos.ima" \ |
&& echo "DOS 7.1 download succes\! ;-)" || echo "DOS 7.1 download failed\! ;-("</code> | && echo "DOS 7.1 download succes\! ;-)" || echo "DOS 7.1 download failed\! ;-("</code> |
| |