-
Senior Member
registered user
Simone,
At first I did not understand your request so my reply was not valid, but I read it a second time and now I understand.
This is a great idea.
With today's knoppix, there are 2 ways to adjust the boot commands
1) Type in a cheatcode at the boot prompt.
2) Remaster knoppix to change the boot cheatcodes for the DEFAULT boot inside ISOLINUX.CFG
You are suggesting a 3rd and easier way to adjust the boot process.
Before the user burns the knoppix ISO, he or she can rename the volume name or author or publisher to something like "lang=IT".
When the user boots his or her newly burned disc, the KNOPPIX autoconfigurer will look at the volume name or author for the disc and grab any valid cheatcodes from within these fields. These cheatcodes would then be appended to the commandline and handled as if someone had typed them in during the initial boot prompt screen.
This is a great idea and I am sure that it is possible. There must be a commandline tool that can be used inside a KNOPPIX script to directly read the volume name, author, or publisher fields from a physical disc.
You might even be able to write a script yourself and add it to the ISO as "knoppix.sh" and have it run automatically every time at bootup.
Regarding your "dd" example, you could combine the raw dump and pipe it through the "grep" command to isolate the part that starts with "CD001" or even "DVDVOLUME".
In other words, something like:
dd if=/dev/dvd bs=2048 count=1000 | grep -A 1 DVDVOLUME
and if you knew the characters that was the end of the volume name, say for example "ENDOFVN"
You could use a stream editor like "sed" to snip out the volume name and ignore the rest of the raw data. In shell scripting there are a number of ways to capture this information and trap it into a variable.
Once you do this, you can append the cmdline string with the contents of the variable that contains the volume name.
Similar Threads
-
By Gemu in forum General Support
Replies: 2
Last Post: 02-21-2009, 03:29 AM
-
By Maud_Dib in forum Hardware & Booting
Replies: 6
Last Post: 07-05-2005, 01:49 AM
-
By cyberdog in forum General Support
Replies: 0
Last Post: 04-14-2005, 07:47 PM
-
By larryks in forum Customising & Remastering
Replies: 4
Last Post: 06-09-2003, 12:43 PM
-
By George Wiedmann in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-20-2003, 05:21 AM
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

Fortinet FortiGate FortiWiFi 80F Network Security Firewall (FG-80F)
$83.99

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00

Untangle z12 NG Firewall Server Caswell CAR-3070
$329.99

Cisco ASA 5506-X Network Security Firewall Appliance- No Adapter
$50.00

Palo Alto PA-220 Next-Gen Firewall 520-000309-00J
$40.00

Sophos XG 135 Rev.2 Next-Gen Firewall | C1226*
$49.99

Fortinet FG-60D Fortigate-60D Network Security Firewall With AC Adapter, Parts
$37.50

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$299.99

Palo Alto PA-440 Next-Gen Firewall PAN-PA-440 GREAT WORKING CONDITION
$274.99

SONICWALL TZ370 NETWORK SECURITY FIREWALL APPLIANCE VPN 8 PORT GIGABIT ROUTER
$95.50