SliTaz SliTaz Forum

You are not logged in.

#26 2013-01-31 05:16:40

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Putting Slitaz on USB, setting the home directory to the USB, and making it persistant? READ DISCRIP

With /home mounted on the USB flash drive you have to leave it plugged in. When you run the Live CD/ USB without /home and persistance I've removed the LiveCD to use the drive to burn CD/DVDs , play music files, etc..

You only load your rootfs.gz which contains the contents of rootfs 1-4 plus files and folders of programs you installed prior to [c]tazusb writefs gzip[/c]

[c]# leafpad /home/boot/isolinux/isolinux.cfg[/c]

LABEL core

MENU LABEL SliTaz core Live

COM32 c32box.c32

append linux /boot/bzImage initrd=/boot/rootfs.gz rw root=/dev/null autologin

Offline

#27 2013-01-31 05:23:46

Appdude13
Member
Registered: 2013-01-30
Posts: 34

Re: Putting Slitaz on USB, setting the home directory to the USB, and making it persistant? READ DISCRIP

I have extlinux.cfg instead of isolinux.cfg. Do I edit that one?

And....were do I put the code??

Offline

#28 2013-01-31 05:29:06

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Putting Slitaz on USB, setting the home directory to the USB, and making it persistant? READ DISCRIP

I would copy the core entry as a template and call the new entry custom.

Edit extlinux.cfg if there is no isolinux.cfg

From tazusb installer script:

# Use existing isolinux.cfg for extlinux.conf or syslinux.cfg

/media/cdrom/boot/isolinux/isolinux.cfg $TARGET_ROOT/boot/$ST/$ST.$STE

$ST=extlinux

$STE=conf

[c]# leafpad /home/boot/extlinux/extlinux.conf[/c]

Offline

#29 2013-01-31 05:33:28

Appdude13
Member
Registered: 2013-01-30
Posts: 34

Re: Putting Slitaz on USB, setting the home directory to the USB, and making it persistant? READ DISCRIP

Ok I edited. But when I tryed to overwrite the extlinux.cfg, a popup said: can't open file to write. Now what?

Just tryed to edit it through bever. Same thing happened. It said that extlinux.cfg is not writeable. Is there a way to give myself permission through the terminal or something as super user? Yes? No? What do I do?

Offline

#30 2013-01-31 05:41:26

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Putting Slitaz on USB, setting the home directory to the USB, and making it persistant? READ DISCRIP

You have to be root user to edit any file not in /home/tux

Open terminal,su,password: root

[c]# leafpad /home/boot/extlinux/extlinux.conf[/c]

or from PCMan File Manager/Tools => Open Current Folder as Root

Right click extlinux.cfg choose Leafpad Text Editor

Offline

#31 2013-01-31 05:50:13

Appdude13
Member
Registered: 2013-01-30
Posts: 34

Re: Putting Slitaz on USB, setting the home directory to the USB, and making it persistant? READ DISCRIP

Alright I'm downloading flash player, and I'm going to save a rootfs. To test.... How many saves can I make? Do I have to rename to saves to rootfs every time I save?

Ok, this is probably my last question, I just make a rootfs file. So we're did it go, and we're do I put it?

I hope this is the end of the never ending questions haha.

Offline

#32 2013-01-31 05:58:41

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Putting Slitaz on USB, setting the home directory to the USB, and making it persistant? READ DISCRIP

rootfs.gz should be in /home/boot

The script names the new copy rootfs.gz,the old one previous.gz,and older ones it adds numbers to the filename.Everytime you make a save it rewrites the filesystem,pretty soon you run out of space unless you clean out the old ones.

Compress with gzip=>[c]# tazusb writefs gzip[/c]

Cleans out old rootfs=> [c]# tazusb clean[/c]

Offline

#33 2013-01-31 06:03:06

Appdude13
Member
Registered: 2013-01-30
Posts: 34

Re: Putting Slitaz on USB, setting the home directory to the USB, and making it persistant? READ DISCRIP

So I have to run my custom label, or slitaz live to open my custom rootfs? (until tommorow my friend, bedtime calls)

Offline

#34 2013-01-31 06:11:20

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Putting Slitaz on USB, setting the home directory to the USB, and making it persistant? READ DISCRIP

Yes provided the rootfs.gz is in /home/boot

We will continue later.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]