-
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

HP ProLiant DL360 Gen 11 - Xeon Gold 5th Gen - 192 GB DDR5 ECC - 2x 240 GB SSD
$17000.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

RDS CAL - Remote Desktop Services Windows Server 2022 50 User/Device Connections
$60.00

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Windows Server 2025 Standardā 24-COREā 10 CALsā 50 RDSā Remote Desktop EP2-25205
$317.56

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50