-
Remastering boot in knoppix
hi forum,
can anyone tell me how i can change the boot--options / boot-prompt to automatically boot with the mode Knoppix 2,
i dont want someone to choose anything, just generelly boot up like when i enter Knoppix 2.
It also would be ok if i have to press enter and then knoppix boots with knoppix 2
thank u for every help
with best regards
Michael Schlembach
-
Senior Member
registered user
You need to edit syslinux.cfg inside the boot.img file.
cd to where your boot.img is stored
mkdir tmp
mount -o loop boot.img tmp
cd tmp
vi syslinux.cfg
The line starting with Default is the one to edit. At the end of about 3 lines of text you'll see "knoppix". Immediately after that is where you can enter cheatcodes that will be used by default. Also, there is a timeout=300 in that string of text somwhere which makes it wait 30 seconds before booting with the default options. You can set this to a lower vaule to reduce the wait time.
Be warned, you cannot increase the size of the boot.img. If you get warnings about not being able to save the file or swap file errors, its because the size has increased. Do not exit without saving or the file you're editing will be deleted entirely! Switch to another terminal, cd into your mounted boot.img loop and mv a non-essential file up one directory.
mv logo.pnm ..
^ That usually works.
Then go back to your original shell and save your edited syslinux.cfg. Then mv the logo.pnm file back into the mounted loop (it will become a partial file, but it is not used for anything except to fill space).
cd outside of the mounted boot.img (both terminalss if applicable), then unmount.
-
ty arkaine23
another solutions that can be mentioned:
just changing the value in KNOPPIX/etc/inittab to 2 instead of 5 (the fedault runlevel)
with best regards
Micha
Similar Threads
-
By ddfire in forum Customising & Remastering
Replies: 4
Last Post: 12-26-2004, 06:18 AM
-
By pperezs in forum Customising & Remastering
Replies: 0
Last Post: 09-13-2004, 06:39 PM
-
By PrOCesSkIlL in forum Customising & Remastering
Replies: 29
Last Post: 04-02-2004, 01:32 AM
-
By slacker in forum Customising & Remastering
Replies: 2
Last Post: 03-23-2004, 09:02 AM
-
By mswarbrick in forum Customising & Remastering
Replies: 6
Last Post: 04-18-2003, 12:30 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

π Juniper Networks EX2300-C-12P 12Γ Gigabit PoE+ β’ 2Γ 10G SFP+ Compact Switch β‘
$119.00

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

JUNIPER NETWORKS MIST AI AP63-US HIGH PERFORMANCE OUTDOOR ACCESS POINT - WHITE
$59.99

New Juniper SRX345-SYS-JB-2AC Junos Router Firewall Services Gateway 16GbE SFP
$560.15

Juniper EX3400-48P 48-Port PoE+ Network Switch w/ 2xPSU
$99.99

Juniper EX4600-40F-AFO 24-Port Dual PSU Network Switch
$151.98

Juniper JPSU-1600-C-AC-AFO 1600W AC Power Supply EX4400 AFO Airflow
$155.00

Juniper EX3400-48T-AFI Ethernet Network Switch 48x1GbE 4x10GbE SFP+ 2x40GbE QSFP
$139.00

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management
$249.97

New Juniper Networks EX3400-48P 48-Port PoE+ 4-Port SFP+ Ethernet Switch Sealed
$466.65