-
How do I use persistence ?
Hello,
I am using KNOPPIX (5.1.1) on a USB key and I would like to use the persistence feature; in order to save my settings and also the contents of my home directory.
After looking on the net to dig information on the subject; I have not yet been able to reach satisfaction.
Can anyone help me please ?
Here is where I am :
From the K-menu, using "KNOPPIX -> Configure -> Save KNOPPIX configuration" I can do part of what I want.
Keyboard setting for example works OK. But if I set the "Logout/Lock" applet button, it disapears when I restart my PC.
I have also tried to use from the K-menu, "KNOPPIX -> Configure -> Create a persistent KNOPPIX disk image", but I can' get anything from there. Even if I use "myconfig=scan home=scan" at boot time it does not work.
I must be doing something wrong somewhere. I can see that a file called knoppix.img has been created in the partition I chose on the USB key. But nothing has ever been kept in my home directory.
Thanks for any help.
Bye
-
Hi,
KNOPPIX configuration, which you find under the label "Save KNOPPIX configuration" saves: /etc/*, $HOME/.*, $HOME/office/*, and $HOME/Desktop/*. You can tell it to not save any of these, when you go through the menus. This information is restored only at bootup, and is modified only when you save a new configuration. Meaning, that every time you make a change to your settings, you will need to save the configuration over again.
Persistent home, which you find under the label "Create a persistent KNOPPIX disk image", saves only $HOME/.* and $HOME/* (everything in your home). You do not get a choice of what is saved and what is not, and you must decide upfront what size the whole thing will be. This image is mounted on startup as an actual disk. This means that any changes you make during your session, will be immediately reflected in the actual image.
If you use both, it is possible to have contradictory information between the two, specifically in the dot-directories in your home. I have not experimented enough with this, to know which will take precedence, but I suspect the persistent home will.
Do you have a question about something more specific?
HTH.
-
How do I use persistence ?
Thanks for these indications.
It still seems to me that whatever I do the contents of my home directory is always empty and never retained.
There must be something wrong in the way I proceed. I have no idea what though.
I boot using home=scan. And when I execute the mount command I can see a line like :
/media/sdx3/knoppix.img on /KNOPPIX.IMG type ext2 (rw,loop=/dev/loop0)
showing that somehing must be happening -
....... Actually since I also experiment while typing this message I just noticed that my stuff are well saved under : /KNOPPIX.IMG/home/knoppix/ !!!
But why do they appear there and not under /home/knoppix ? Did I do some thing strange?
I seems to me that the pesistence of /home should appear under /home.
I will be glad if someone can help me understand things clearly.
Bye.
-
Senior Member
registered user
you only save the user Knoppix not the whole /home, nothing more
-
How do I use persistence ?
Isn't there a convenient way to keep the little updates I do in my home directory ? Without having to go through the "KNOPPIX -> Configure -> Create a persistent KNOPPIX disk image" procedure each time.
-
Read my reply above. If you have to recreate your persistent home each time you make a change, then something is not right.
-
zaxonus,
At boot time, do you see a dialog that looks like this:
[X] Mount persistent KNOPPIX-homedirectory
[X] Add as persistent, writeable system area
[ ] Overwrite / update stored system configuration
[X] Start INIT-bootscripts (Network, printer etc.)
< OK > < CANCEL >
I found that when Knoppix presents you with this dialog, you have to select "OK" for the image to be mounted. If you let the dialog box timeout, then the image will NOT be mounted. If you don't see the dialog box, then Knoppix was not able to find the image. Try using home=/media/sd??/knoppix.img in your syslinux.cfg (You have to fill in the ??; I use home=/media/sda4/knoppix.img). I am trying to find out how to get this dialog to default to "OK" instead of "CANCEL".
Hope this helps.
-
Similar Threads
-
By mr-roboto in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 04-26-2007, 01:12 AM
-
By j0m in forum Hardware & Booting
Replies: 6
Last Post: 10-23-2005, 09:32 AM
-
By heiby in forum General Support
Replies: 6
Last Post: 08-19-2005, 08:39 PM
-
By heiby in forum General Support
Replies: 0
Last Post: 05-19-2005, 06:40 PM
-
By newiaqua in forum General Support
Replies: 1
Last Post: 05-16-2004, 07:06 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

P43330-0A1 HPE 32GB 2RX8 PC5-4800B DDR5 SERVER RAM P43328-B21 / HMCG88MEBRA107N
$1100.00

2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder
$3.99

2 Pack USB C SD TF Card Reader Adapter Zinc Alloy USB-C to USB for iPhone 15-17
$3.35

Major Brand 8 GB PC3L-12800 (DDR3-1600) 2Rx8 DDR3L Laptop Memory RAM
$10.99

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory
$2150.00

SK Hynix 128GB (4 x 32GB) PC4-2400T DDR4 ECC Server Memory HMA84GR7MFR4N-UH
$649.95

x4 Intel 128GB NMB1XXD128GPS Optane Memory 200 Series PMEM Module 3200 DDR4 RAM
$329.99

Samsung 32GBX2 1Rx4 PC4-3200AA DDR4 ECC Server Memory M393A4G40AB3-CWEBQ 64GB EC
$370.00