Pakiet moich skrótów

…by wiedzieć więcej…

Zenwalk Live on a USB

Lipiec21

So, you love Zenwalk Live and want to boot it anywhere. But you don’t like carrying a CD with you, then… Let’s put a little Zen on that pendrive!
1) You’ll need a large enough FAT partition on your pendrive. Let’s assume your partition is /dev/sda1 and that it is mounted on /mnt/usb. If that is not your case then adjust your paths and work with care.
You can use mkfs to build a FAT filesystem in case you have to.
2) Boot Zenwalk Live from the CD as usual and plug your pendrive. Your pendrive should be mounted already.
3) Copy your Zenwalk Live CD contents to the pendrive’s target partition:

# cp -r /mnt/live/mnt/sr0/* /mnt/sdb1/

You’ll get some stat or chmod errors, just ignore them. That’s because the target FAT partition doesn’t support linux file permissions.
4) We’ll use syslinux as boot loader as it works fine and it’s already included in Zenwalk Live.
I don’t know if it’s necessary but just to be sure, let’s unmount the pendrive.

# cd
# sync
# umount /mnt/sdb1

Now, we setup the boot sector by issuing:

# syslinux -f /dev/sda1

That’s all folks!

FireFox: www.mozilla-europe.org/pl/firefox/
Flash Player 10 for Linux: labs.adobe.com/downloads/flashplayer10.html
Picasa for Linux: picasa.google.com/linux/

Motto:
Autor:
Link:
posted under Linux, Swoje

You must be logged in to post a comment.