-
Senior Member
registered user
Edit 20100220:
It seems to be possible to make a backup of the standard persistent image, compress it, and have it copied back at boot time if something has gone wrong with the running image. ...
I looked inside /init (Knoppix 6.2.1) and found the code for updating the system:
Code:
# Check for updates on-disk, install them if necessary.
ls /mnt-system/KNOPPIX/update*.zip /mnt-system/KNOPPIX/update*.tar.gz /mnt-system/KNOPPIX/update*.taz 2>/dev/null | while read update; do
if [ -r "$update" ]; then
message -e "\r${CRE}${GREEN}${UPDATING} ${YELLOW}$update${NORMAL}"
case "$update" in
*.zip) ( cd / ; unzip -o "$update" >/dev/null 2>&1 ) ;;
*.tar.gz|*.taz) ( cd / ; tar -zxf "$update" >/dev/null 2>&1 ) ;;
esac
fi
done
As far as I understand the code, one has to create an ordinary zip or tar.gz archive inside the running system and place this archive in the KNOPPIX directory. The archive will be extracted into /.
For example, I could run KNOPPIX from the live cd and make all the necessary changes. Then I would create the update-special.tar.gz archive with my configuration files which is copied to a flash device with an installed KNOPPIX on it. I would delete an existing persistent image and boot the system from that flash device. After the creation of a new persistent image I would get a KNOPPIX with my special configuration. (I tried this with a backup of may /home/knoppix and it worked fine.)
Similar Threads
-
By greenfly in forum Ideas
Replies: 2
Last Post: 01-10-2009, 12:31 PM
-
By hotplainrice in forum General Support
Replies: 0
Last Post: 11-02-2006, 11:02 PM
-
By linuxman in forum General Support
Replies: 2
Last Post: 12-10-2005, 11:47 PM
-
By rwcitek in forum Hardware & Booting
Replies: 0
Last Post: 05-29-2005, 08:37 PM
-
By captain in forum The Lounge
Replies: 1
Last Post: 05-20-2004, 06:19 PM
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
Rare Vintage 8-bit ISA card Best PCN-0125A
$25.00
Vintage Family Tree Maker Deluxe Edition 2 Software 5-CDs
$15.00
Rare Vintage March 1979 Intel MCS85 8085/8080 Assembly Language Reference Card
$37.00
Vintage Compaq Logitech PS/2 Mechanical Ball Wheel Mouse M-SBJ96 Cleaned Tested
$6.99
Vintage Hewlett Packard HP Gold Tone Service Pocket Knife File Scissors
$48.00
Vintage Deluxe IBM. Joystick
$15.00
VINTAGE IBM WD-325M2 HARD DRIVE
$49.99
VINTAGE Digital Terminal Monitor Model VT320 and keyboard - Powers On
$225.00
15.6" Dell E6510 Laptop Vintage Windows XP Pro 32 Bit i7 2.6ghz 4gb 160gb DVD
$99.99
15.6" Dell E5520/30 Laptop Vintage Windows XP Pro 32 Bit Intel i3 2ghz 4gb 320gb
$99.99