LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2010, 01:01 PM   #1
rcayea
LQ Newbie
 
Registered: May 2009
Distribution: Ubuntu/Arch/Vector
Posts: 6

Rep: Reputation: 0
Slitaz writefs.gz restore file question


Hi Everyone,

I'll get right to it. I am trying to make my Slitaz USB install persistent on my 16GB USB jump drive and can't seem to get over the final hurdle (or at least I think it is the final hurdle).

Here is the situation:

When I am ready to finish with Slitaz on my USB stick, I go to command line and enter Tazusb Writefs gzip. As the instructions in the Slitaz manual tell me, this should create a file that I can then later reload at next boot. However, I don't know how to make my computer/USB stick load the rootfs.gz file (that is what I have it named as for now). I have tried typing "previous" at the "boot:" prompt but with no luck. I am not even sure that command is meant to restore my rootfs.gz file. Any thoughts?

Thanks,
Randy
 
Old 06-22-2010, 01:06 PM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,257

Rep: Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202
Hi Randy, it should just work automagically. Let SliTaz boot and don't do or type anything, and it should load your most recent rootfs. This is assuming of course that you created the USB stick in the first place using TazUSB (and not some unsupported 3rd party app like Unetbootin); is that the case?
 
Old 06-22-2010, 01:11 PM   #3
rcayea
LQ Newbie
 
Registered: May 2009
Distribution: Ubuntu/Arch/Vector
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by snowpine View Post
Hi Randy, it should just work automagically. Let SliTaz boot and don't do or type anything, and it should load your most recent rootfs. This is assuming of course that you created the USB stick in the first place using TazUSB (and not some unsupported 3rd party app like Unetbootin); is that the case?
Aw! That might just be the issue. I used a 3rd party app. Thanks for the information. Can I use TazUSB from windows to create a SlitazUSB or will I have to burn Slitaz to disc and load the disc and then make the USB that way?

Thanks,
Randy
 
Old 06-22-2010, 01:55 PM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,257

Rep: Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202
Quote:
Originally Posted by rcayea View Post
Aw! That might just be the issue. I used a 3rd party app. Thanks for the information. Can I use TazUSB from windows to create a SlitazUSB or will I have to burn Slitaz to disc and load the disc and then make the USB that way?

Thanks,
Randy
Easiest is probably if you have 2 USB sticks, you can boot your current SliTaz on USB1 and use TazUSB to install to USB2. You could also of course burn a Live CD.

http://www.slitaz.org/en/doc/handbook/liveusb.html
 
Old 06-23-2010, 07:01 AM   #5
rcayea
LQ Newbie
 
Registered: May 2009
Distribution: Ubuntu/Arch/Vector
Posts: 6

Original Poster
Rep: Reputation: 0
I tried the actual tazusb from windows and that didn't work because it seems that, after booting into a couple of different machines, the jumpstick/OS is actually hardware specific. For example, if I make changes and save them on machine 1 and reboot into machine 1 then great, changes are still there. If I boot into machine 2 the changes are gone.

I guess I wil have to keep trying. thanks for the help, though.

To update: I am now on machine 2 and I reformatted everything and reinstalled and when I first booted up, I have the same wallpaper that I had before (which I changed from the default) which tells me maybe the computer hard drive that the stick is plugged into is saving some information. Is this true?

Last edited by rcayea; 06-23-2010 at 08:26 AM.
 
Old 06-23-2010, 08:47 AM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,257

Rep: Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202
That is slightly disturbing information. SliTaz should be saving all of its settings to your USB stick; it certainly should not be saving anything to your hard drive without prompting you! (And it makes me wonder where on your hard drive it's being saved, and if this puts your existing data at risk.)

I would recommend popping over to forums.slitaz.org where you can get some more detailed help. I like SliTaz, and have had good results with TazUSB in the past, but it's been a little while since I used it, and I don't want to give you bad advice if something has changed in the new 3.0 release, sorry.
 
Old 06-23-2010, 02:55 PM   #7
empty_net_goal
LQ Newbie
 
Registered: May 2010
Location: Washington DC
Distribution: Mostly Ubuntu and I fiddle with Arch and openSUSE
Posts: 13

Rep: Reputation: 0
Thanks for the all the tips so far. I will certainly go over to Slitaz forums.

I, too, am baffled. Now that I am at a different computer, home computer, when I boot my Slitaz USB stick, it has a different wallpaper than the last save I did. Bazaar.
 
Old 06-23-2010, 03:06 PM   #8
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,257

Rep: Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202
Just to be clear:

If TazUSB is correctly configured then:

1) Changes that you make in your /home (creating documents, changing wallpaper, tweaking user settings, etc.) are automatically persistent, as soon as you make them. Your /home/tux folder is simply a folder on the USB stick.

2) Change outside your home (installing apps, editing system files for example in /etc) are only persistent if you use "tazusb writefs". If you don't write the filesystem, changes outside /home are lost when you power down.

Also this may sound simple but don't type anything when SliTaz first boots, just let it do its thing...
 
Old 06-26-2010, 12:43 AM   #9
empty_net_goal
LQ Newbie
 
Registered: May 2010
Location: Washington DC
Distribution: Mostly Ubuntu and I fiddle with Arch and openSUSE
Posts: 13

Rep: Reputation: 0
I managed to solve the issue. The only way I could get a persistent setup was to boot and install from CD via command line.
 
Old 06-26-2010, 12:50 AM   #10
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 39
you beat me to punch. I was going to say the same thing!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restore MySQL Dump File But I want it to restore with different names? helptonewbie Linux - Newbie 5 07-08-2009 06:09 AM
how to restore file terry brian General 3 05-05-2007 04:29 PM
restore file or dir from dump file brumela Linux - Newbie 3 09-08-2004 05:31 AM
Restore File ? mikeshn Linux - General 3 07-15-2004 02:57 PM
restore file ust Linux - General 1 03-29-2004 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration