-
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
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
Lenovo Slim Pro 9 Laptop, 16" Glass, i9-13905H, 32GB, 1TB SSD, Win 11 Home
$939.99
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A
$79.99
1 TB SATA 2.5" Laptop hard drive- Used - Mixed RPM- Tested - Mix Brands/Models
$13.00
Western Digital SN570 NVMe 1TB SSD - SN570 NVMe (Blue)
$50.00
WD - Blue SN580 1TB Internal SSD PCIe Gen 4 x4 NVMe
$64.99
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
512GB 1TB 2tb 4tb 256g M.2 2280 SSD SATA3 Internal Solid State Drive Lot Dogfish
$271.99
Samsung 1TB 850 EVO 2.5" SATA Solid State Drive MZ7LE1T0 ** READ **
$48.99