common:debian_liveusb
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| common:debian_liveusb [2009/11/26 16:52] – created svschwartz | common:debian_liveusb [2009/11/26 17:26] (current) – svschwartz | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| Cyrillic and python are just my own requirements and you can drop it if you want. | Cyrillic and python are just my own requirements and you can drop it if you want. | ||
| - | Now we will put partimage-ng binary to the soon to be build liveUSB image :) | + | Now we will put partimage-ng binary to the-soon-to-be-build liveUSB image :) |
| < | < | ||
| mkdir -p ~/ | mkdir -p ~/ | ||
| cp ~/ | cp ~/ | ||
| + | chmod 755 ~/ | ||
| </ | </ | ||
| Line 31: | Line 32: | ||
| < | < | ||
| cp ~/ | cp ~/ | ||
| - | chmod 755 | + | chmod 755 ~/ |
| </ | </ | ||
| + | |||
| + | Contents of 01-disable_service.sh | ||
| + | < | ||
| + | #!/bin/sh | ||
| + | |||
| + | /bin/echo "I: disable networking" | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | |||
| + | Let's build the LiveUSB image now. This will take time, so be patient :) | ||
| + | < | ||
| + | cd ~/liveusb/ | ||
| + | lh_build | ||
| + | </ | ||
| + | |||
| + | If everything goes well we will have binary.img file, which should be copied to usb-flash with dd like this | ||
| + | < | ||
| + | cd ~/liveusb/ | ||
| + | dd if=binary.img of=/dev/sdb | ||
| + | </ | ||
| + | |||
| + | Now you have a bootable liveUSB Debian with partimage-ng onboard :) | ||
| + | |||
| + | Hope this will help :) | ||
common/debian_liveusb.1259254333.txt.gz · Last modified: (external edit)
