-
Originally Posted by
kl522
In any case, the steps above involved will be somewhat tricky to the Linux newbies. I wish there
is a cheatcode called "upgrade=/dev/sda4:/master/KNOPPIX/KNOPPIX" which will automatically
perform the upgrade. I will leave this as an exercise for those interested to do so by modifying minirt.gz.
If you organise thing right, you can use cheat codes that are already there (assuming Knoppix 6.4.3 or equivalent).
Suppose the Knoppix you have just remastered is on filesystem /dev/sdb1 under the directory KNOPPIX. Suppose further that you arranged for the new remastered Knoppix to be on device /dev/sda1 under the directory /home/yourself/remaster. This directory contains both the new KNOPPIX file and the cleaned-up knoppix-data.img (or aes) file. I don't think it has to contain all the other little files normally found in the KNOPPIX directory but it wouldn't hurt.
You can now reboot to the remastered knoppix for test purposes with the cheat codes:
Code:
fromhd=/dev/sda1 knoppix_dir=home/yourself/remaster
The directory /home/yourself/remaster has to be a real directory (avoid symbolic links and mount points). A nice feature of this approach is that /dev/sda1 doesn't have to be a vfat file system so long as it is a) visible at boot time and b) of a type the init script understands. This means it could (you didn't get this from me) be your ntfs Windows 7 main disk.
If the new remastered Knoppix seems to be working OK you can use it to copy the new KNOPPIX file over the old one:
Code:
mount /dev/sdb1 /media/sdb1
cp -pf /mnt-system/home/yourself/remaster/KNOPPIX /media/sdb1/KNOPPIX/
Then clean up the old knoppix-data.img:
Code:
mkdir knoppix_tmp
sudo mount -o loop=/dev/loop1 /media/sdb1/KNOPPIX/knoppix-data.img knoppix_tmp/
cd knoppix_tmp
sudo rm -fr $(ls --ignore=home --ignore=var);
Finally, reboot Knoppix from your USB stick 'as normal'.
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
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System
$359.99
IBM Netezza 3567
$5675.00
1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray
$318.00
IBM AC1 8722 4xIntel Xeon 2.2 GHz 8 Cores Server w/64GB/DVDRW/PS WORKS
$92.95
IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD
$84.50
IBM Server System X3100 M4 | Xeon @ 3.10 Ghz | 8GB | 250GB HDD No OS (IG-PC26)
$96.01
IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server
$191.99
IBM System x3650 M4 Dual Intel Xeon E5-2670 @2.60GHz 128GB RAM No HDD
$124.50
IBM System X3650 Server M2 2 x Xeon X5570 2.93 Ghz w/128 GB/DVDRW
$137.95
IBM 5362 Server System/36 60MB HDD With Manuals
$7700.00