Talk:Загрузка с USB-flash

 I've created the USB key like this (more or less) and did not specified or changed anything in the boot-sequence:

do   cd $i; echo y|./install.sh; cd ..; done
 * 1) dd if=/dev/zero of=/dev/da0 bs=1m
 * 2) fdisk -BI /dev/da0
 * 3) bsdlabel -wB /dev/da0s1
 * 4) export EDITOR=/mnt2/usr/bin/vi
 * 5) bsdlabel -e /dev/da0s1
 * 6) newfs -m 0 -o space /dev/da0s1a
 * 7) mount /dev/da0s1a /mnt
 * 8) export DESTDIR=/mnt
 * 9) cd /a/cdrom/7.0-RELEASE
 * 10) for i in base manpages catpages
 * 1) rmdir /mnt/boot/kernel
 * 2) cd /a/cdrom/7.0-RELEASE kernels;
 * 3) cat generic.??|tar --unlink -xpzf - -C /mnt/boot
 * 4) cd /mnt/boot && mv GENERIC kernel
 * 5) echo "/dev/da0s1a  /  ufs  rw,noatime  1  1" >/mnt/etc/fstab

tmpmfs="YES" tmpsize="128m" varmfs="YES" varsize="128m" populate_var="YES" hostname="eeePC" keyrate="fast" keymap="german.iso" EOFRCCONF
 * 1) cat </mnt/etc/rc.conf.local
 * 2) !/bin/sh
 * 1) chmod 0755 /mnt/etc/rc.conf.local
 * 2) chroot /mnt /usr/bin/passwd root

and again: the USB key works fine in the eeePC 900 and other laptops I have;

here is what is in /mnt/boot:

rebelion# ls -l /mnt/boot /mnt/boot/kernel/kernel -r-xr-xr-x 1 root  wheel  9051823 29 jun 16:52 /mnt/boot/kernel/kernel

/mnt/boot: total 710 -r--r--r-- 1 root  wheel    7636 24 feb 18:52 beastie.4th -r--r--r-- 1 root  wheel    8192 24 feb 18:52 boot -r--r--r-- 1 root  wheel     512 24 feb 18:52 boot0 -r--r--r-- 1 root  wheel     512 24 feb 18:52 boot0sio -r--r--r-- 1 root  wheel     512 24 feb 18:52 boot1 -r--r--r-- 1 root  wheel    7680 24 feb 18:52 boot2 -r--r--r-- 1 root  wheel    1201 24 feb 18:52 cdboot drwxr-xr-x 2 root  wheel     512 24 feb 18:52 defaults -r--r--r-- 1 root  wheel    1739 24 feb 18:53 device.hints drwxr-xr-x 2 root  wheel     512 24 feb 18:49 firmware -r--r--r-- 1 root  wheel    2249 24 feb 18:52 frames.4th drwxr-xr-x 2 root  wheel   26624 29 jun 17:23 kernel drwxr-xr-x 2 root  wheel   25600 24 feb 21:16 kernel.orig -r-xr-xr-x 1 root  wheel  253952 24 feb 18:52 loader -r--r--r-- 1 root  wheel    7545 24 feb 18:52 loader.4th -rw-r--r-- 1 root  wheel     116 29 jun 16:46 loader.conf -r--r--r-- 1 root  wheel   15219 24 feb 18:52 loader.help -r--r--r-- 1 root  wheel     385 24 feb 18:52 loader.rc -r--r--r--  1 root  wheel     512 24 feb 18:52 mbr drwxr-xr-x 2 root  wheel     512 24 feb 18:49 modules -r--r--r-- 1 root  wheel  256000 24 feb 18:52 pxeboot -r--r--r-- 1 root  wheel     692 24 feb 18:52 screen.4th -r--r--r-- 1 root  wheel   36435 24 feb 18:52 support.4th drwxr-xr-x 2 root  wheel     512 24 feb 18:49 zfs 