-
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
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black
$32.00
Polycom VVX 411 IP VOIP POE Gigabit Telephone [L/N] BUSINESS OFFICE RECEPTION
$24.00
Lot Of 8 Cisco CP-7945G VOIP Business IP Phone w/ Stand and Handset #0358
$162.98
Genuine Desktop 8 Line Gigabit VoIP Phone System Mitel IP480G PN 630-3481-01
$89.99
Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945
$3.00
Lightly Used Cisco 8811 Series VoIP phone Factory Reset great condition
$19.95
Cisco Phone CP-7965G 7965G 6-Line VoIP Color Display Phone w/ Base Handset Gray
$19.99
OOMA Office VOIP Business Phone System Base Unit + 2 Linx Devices, Internet
$30.00
Polycom VVX 411 IP VOIP POE Gigabit Telephone ONSIP GOOGLE VOICE ZOOM MEETING
$24.00
Grandstream GS-GXP2170 VoIP Phone & Device 4.3" Color-Screen LCD Gigabit Ports
$45.00