update readme
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4593 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e64ba29a7f
commit
385ca796a8
@ -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
|
||||
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
|
||||
that need to be addressed yet in 2.6 before this will be clean with
|
||||
x86-2.6. My development environment for this is a via epia with a
|
||||
only tested to be working on x86-2.6 using an initramfs image.
|
||||
My development environment for this is a via epia with a
|
||||
serial console (no monitors or keyboards attached).
|
||||
|
||||
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
|
||||
/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.
|
||||
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
|
||||
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
|
||||
use the e2fstools to expand the image to fill the stick and add a journal
|
||||
to use it as ext3.
|
||||
|
||||
e2fsck -f /dev/discs/disc0/disc
|
||||
tune2fs -j /dev/discs/disc0/disc
|
||||
resize2fs /dev/discs/disc0/disc
|
||||
e2fsck -f /dev/disc
|
||||
tune2fs -j /dev/disc
|
||||
resize2fs /dev/disc
|
||||
|
||||
Reboot the box, and, have fun with openwrt on your x86 using the usb
|
||||
stick to boot and run from.
|
||||
|
Loading…
x
Reference in New Issue
Block a user