update readme

git-svn-id: svn://svn.openwrt.org/openwrt/packages@4593 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
groz 2006-08-18 12:58:00 +00:00
parent e64ba29a7f
commit 385ca796a8

View File

@ -2,9 +2,8 @@ Using this package to create a bootable usb stick for openwrt.
The status of this package is currently 'it works for me', and it will The status of this package is currently 'it works for me', and it will
require more effort before it's generic across the board. Currently require more effort before it's generic across the board. Currently
only tested to be working on x86-2.4, there are some issues with devfs only tested to be working on x86-2.6 using an initramfs image.
that need to be addressed yet in 2.6 before this will be clean with My development environment for this is a via epia with a
x86-2.6. My development environment for this is a via epia with a
serial console (no monitors or keyboards attached). serial console (no monitors or keyboards attached).
To create the images that are bootable, configure your buildroot to include To create the images that are bootable, configure your buildroot to include
@ -19,17 +18,17 @@ loop mount the fs for installing lilo. When it's done, you have an
To use the image, dd it directly onto a usb stick. It should go onto To use the image, dd it directly onto a usb stick. It should go onto
/dev/sda not /dev/sda1, it's assuming the stick is not partitioned. /dev/sda not /dev/sda1, it's assuming the stick is not partitioned.
When you boot the stick, you will get a lilo menu on the serial terminal. When you boot the stick, you will get a lilo menu on the serial terminal.
The two options allow you to boot with the stick itself as the root file The three options allow you to boot with the stick itself as the root file
system, or, to boot into a ramdisk, and not mount the stick at all. The system, or, to boot into a ramdisk, and not mount the stick at all. The
stick will likely show up at /dev/discs/disc0/disc stick will likely show up at /dev/disc
Boot the unit, and select the ramdisk. Once up in the ramdisk, you can Boot the unit, and select the ramdisk. Once up in the ramdisk, you can
use the e2fstools to expand the image to fill the stick and add a journal use the e2fstools to expand the image to fill the stick and add a journal
to use it as ext3. to use it as ext3.
e2fsck -f /dev/discs/disc0/disc e2fsck -f /dev/disc
tune2fs -j /dev/discs/disc0/disc tune2fs -j /dev/disc
resize2fs /dev/discs/disc0/disc resize2fs /dev/disc
Reboot the box, and, have fun with openwrt on your x86 using the usb Reboot the box, and, have fun with openwrt on your x86 using the usb
stick to boot and run from. stick to boot and run from.