This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
packages:linux-live [2007-12-16 21:01] patrys |
packages:linux-live [2013-04-10 14:45] glen Page name changed from packages:linuxlive to packages:linux-live |
||
---|---|---|---|
Line 17: | Line 17: | ||
<file># cat base.lst | <file># cat base.lst | ||
FHS | FHS | ||
+ | acl | ||
basesystem | basesystem | ||
bash | bash | ||
Line 27: | Line 28: | ||
iproute2 | iproute2 | ||
iputils-ping | iputils-ping | ||
+ | kbd | ||
+ | kernel | ||
+ | kernel-fs-aufs | ||
less | less | ||
linux-live | linux-live | ||
- | linux-live-kernel | ||
lvm2 | lvm2 | ||
mingetty | mingetty | ||
Line 41: | Line 44: | ||
udev | udev | ||
usbutils | usbutils | ||
+ | util-linux-ng | ||
vim | vim | ||
wget | wget | ||
Line 57: | Line 61: | ||
<file># poldek -r /path/to/root -u anypackage | <file># poldek -r /path/to/root -u anypackage | ||
</file> | </file> | ||
- | **Notice:** ''linux-live'' from ''DEVEL'' branch currently supports PLD kernels. If you want to use it, replace ''linux-live-kernel'' above with appropriate ''kernel'' and ''kernel-fs-aufs'' packages. | ||
- | |||
===== Preparing the ISO image ===== | ===== Preparing the ISO image ===== | ||
- | Start by installing ''linux-live-build'' on your host system. | + | Start by installing the [[http://www.linux-live.org/|linux-live]] package (''linux-live-build'' package in PLD Linux) on your host system. |
Remember to set password for ''root'' or alter ''/etc/inittab'' to execute shell instantly after boot or you'll not be able to login. To set the password, just mount ''/dev'' and ''chroot'' to the installation root: | Remember to set password for ''root'' or alter ''/etc/inittab'' to execute shell instantly after boot or you'll not be able to login. To set the password, just mount ''/dev'' and ''chroot'' to the installation root: | ||
Line 78: | Line 80: | ||
<file># export ROOT=/path/to/root | <file># export ROOT=/path/to/root | ||
- | # /usr/lib/linux-live/build | + | # export ISO_IMAGE=/path/to/result.iso |
+ | # linux-live-build | ||
</file> | </file> | ||
- | Then to create ISO, go to the ''/tmp/live_data_*'' directory created by the above command. Then ''cd'' to your live name and run: | ||
+ | ===== Booting from USB ===== | ||
+ | First, create a FAT16 or FAT32 on the device. | ||
- | <file># sh make_iso.sh | + | Then extract the ISO contents onto the USB device you are going to use. |
+ | |||
+ | Next, unmount the device and run (this requires having the ''syslinux'' package installed): | ||
+ | |||
+ | |||
+ | |||
+ | <file># syslinux -d boot/syslinux /dev/sdXY | ||
</file> | </file> | ||
+ | Where ''sdXY'' is the partition you created earlier. | ||
+ | |||