-
Step by step - Remaster Knoppix 7.0.5 CD w/ Virtualbox 4.2 from Oracle
Greetings. I don't know much about Linux and I don't pretend to (well sometimes I do). For the last few days I was having trouble with the included Virtualbox on the 7.0.5. DVD. For a recovery environment. I also wanted to trim down the image. So this is how I remastered the 7.0.5 Knoppix Live CD for live-USB booting w/ Virtualbox 4.2 from Oracle. The problem I was having is that the kernel module would have to get reloaded every boot, so this guide takes are of that by way of a .desktop file to autostart the custom script (that this guide will show you) so it executes /etc/init.d/vboxdrv setup upon every reboot.
This is a step by step guide and as such, it's pretty long, which is why I cannot use the forum and its cool formatting..This is first post so I can't post attachments. But I uploaded the .txt file here:
(KnoppixRemastering-Virtualbox4-2-HOWTO.txt)
I hope it helps anyone with the issues I was having.
Thank you.
-l33ch
---------------------------
I've removed posted link because it doesn't work.
wps
Last edited by Werner P. Schulz; 06-19-2013 at 06:17 AM.
-
You know about the Remaster HowTo?
.. so this guide takes are of that by way of a .desktop file to autostart the custom script (that this guide will show you) so it executes /etc/init.d/vboxdrv setup upon every reboot.
Why don't you describe only this step in detail?
-
eh..nevermind. Too many roadblocks to be able to post here to begin with (No attachments. Limit on the post...which can be limited by the attachments..)...so I resorted to 3rd party file-hosting link..which of course doesn't work, but wouldn't have needed to if it wasn't such a hassle begin with. I'll post somewhere else, while Knoppix is awesome, this place it seems is not very efficient when it comes to being able to put forth help to try to help others. So be it. Here, tried it again if anyone cares:
http://www.gogofile.com/Default.aspx...813622500_5806
-
I've some notes to your "Step by step" and I hope you'll not discouraged by this.
To remaster Knoppix is not easy, especially with the chroot method. The preferred way nowadays is to use a flash disk installation of Knoppix and adapt all as you need it within this installation. For Knoppix CD version you need an USB stick with minimal size of 4GB, for DVD version minimal size 8GB. If you only want to install the latest VirtualBox version, then remaster with chroot method is an overkill.
If you have a flash disk installation, you can use the following instructions.
Download both files
http://download.virtualbox.org/virtu...heezy_i386.deb
http://download.virtualbox.org/virtu...0.vbox-extpack
as you did it and save them to '/home/knoppix/Desktop'. Open a terminal and type:
Code:
su
aptitude purge virtualbox?
cd /home/knoppix/Desktop
dpkg -i virtualbox-4.2_4.2.12-84980~Debian~wheezy_i386.deb
- For CD version only: you'll get error messages because dependencies problems; therefore
Code:
aptitude update
aptitude install virtualbox-4.2
Now go on within the terminal:
Code:
usermod -a -G vboxusers knoppix
/etc/init.d/vboxdrv setup
virtualbox
The GUI of Virtualbox opens. Select "Files => Preferences => Extensions => the icon 'Add packages'" and install
Oracle_VM_VirtualBox_Extension_Pack-4.2.12-84980.vbox-extpack.
Close the GUI. Now you can start with "System Tools => Oracle VM VirtualBox" the new installed version.
Last edited by Werner P. Schulz; 06-21-2013 at 06:54 PM.
-
Within your "Step by step"
Now we need to make a script.sh file that reflects the settings from the .desktop file we created.
Keep Terminal emulator open.
Right click on desktop in GUI, and select create New->Blank file. Name the file myscript.sh. (no period)
Do not muddle things! If you are in the chroot, remain in the chroot.
I did the enviroment settings for the chroot in "krhowto_2" of the HowTo so that you can use graphical tools within the chroot not only as user knoppix but also as root. Therefore type in your terminal "leafpad", create your file and save it where you need it.
Just create an empty txt file and make your changes. After making changes, save the file to:
/KNOPPIX-DATA/home/knoppix/.config/autostart
Don't edit anything within '/KNOPPIX-DATA/'. '/KNOPPIX-DATA/' is only used by the system to display you the content of the persistent memory. If you miss a file within '/home/knoppix/' in your remastered version, you did a mistake; perhaps you don't store it at the right position or you forgot to run the script "krhowto_4" once more.
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
![Intel Xeon W-2145 - 3.7 GHz 8-Core (SR3LQ) Processor picture](/store/img/g/f1IAAOSwoF5mfCp2/s-l225/Intel-Xeon-W-2145-3-7-GHz-8-Core-SR3LQ-Processor.jpg)
Intel Xeon W-2145 - 3.7 GHz 8-Core (SR3LQ) Processor
$110.00
![Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture](/store/img/g/YFUAAOSwTDplMDa3/s-l225/Intel-Core-i9-14900K-14th-Gen-24-Core-32-Thread-4-.jpg)
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$533.99
![10th GEN INTEL Core i5-10400F 2.9GHz Socket-1200 Desktop CPU SRH3D Processor picture](/store/img/g/dPgAAOSwrWxmeHzS/s-l225/10th-GEN-INTEL-Core-i5-10400F-2-9GHz-Socket-1200-D.jpg)
10th GEN INTEL Core i5-10400F 2.9GHz Socket-1200 Desktop CPU SRH3D Processor
$69.99
![Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture](/store/img/g/0eYAAOSwcHZlMDWu/s-l225/Intel-Core-i7-14700K-14th-Gen-20-Core-28-Thread-4-.jpg)
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$444.99
![Intel Core i5-12400F - 6-Core 2.5GHz 12th Gen Alder Lake LGA 1700 65W CPU picture](/store/img/g/wucAAOSwFLxh1X-c/s-l225/Intel-Core-i5-12400F-6-Core-2-5GHz-12th-Gen-Alder-.jpg)
Intel Core i5-12400F - 6-Core 2.5GHz 12th Gen Alder Lake LGA 1700 65W CPU
$109.94
![Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc... picture](/store/img/g/2f8AAOSw7ltlMDW2/s-l225/Intel-Core-i5-14600K-14th-Gen-14-Core-20-Thread-4-.jpg)
Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...
$305.99
![SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor picture](/store/img/g/fEMAAOSwy1JmPnWm/s-l225/SR1XP-Intel-Xeon-E5-2680-v3-12-Core-30MB-2-5GHz-LG.jpg)
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor
$3.96
![Intel i7-3770 SR0PK 3.40GHz 8MB 4-Core LGA1155 Socket CPU Processor picture](/store/img/g/SN4AAOSwxIRmWRvk/s-l225/Intel-i7-3770-SR0PK-3-40GHz-8MB-4-Core-LGA1155-Soc.jpg)
Intel i7-3770 SR0PK 3.40GHz 8MB 4-Core LGA1155 Socket CPU Processor
$29.99
![Intel Core i7-14700K - 14th Gen 20-Core (8P+12E) LGA 1700 125W CPU Processor picture](/store/img/g/jKAAAOSwdVNlLmSw/s-l225/Intel-Core-i7-14700K-14th-Gen-20-Core-8P-12E-LGA-1.jpg)
Intel Core i7-14700K - 14th Gen 20-Core (8P+12E) LGA 1700 125W CPU Processor
$355.98
![Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150 picture](/store/img/g/klEAAOSwVO1mdf-P/s-l225/Intel-Core-i7-4790K-SR219-4-00GHZ-4Th-Gen-Used-Des.jpg)
Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150
$64.99