-
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
Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT
$490.00
Dell PowerEdge R620 Dual Intel Xeon E5-2697 v2 @2.70GHz 128GB RAM No HDD S110
$144.50
Dell PowerEdge R720 Dual Intel Xeon E5-2620 @2.00GHz 64GB RAM No HDD H710
$114.50
Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G
$345.00
Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu
$135.00
DELL R440 8-Bay Server with 2x Bronze 3104 CPU, 2x PSU H330 Raid | No Ram, HD
$359.00
Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox
$320.00
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$326.67
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 64GB H730 4xRJ45
$318.00
Dell Poweredge R730xd 2.5" 2x E5-2680 v4 2.4ghz 28-Cores / 128gb / H730 / iDrac
$314.99