-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

MSI PRO Z790-P WIFI DDR4 LGA 1700 Intel Z790 SATA 6Gb/s DDR4 ATX Motherboard
$163.49

ASUS PRIME Z490-P LGA 1200 Intel Z490 SATA 6Gb/s ATX Intel Motherboard NEW
$121.45

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$76.49

ā Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)ā
$29.90

ASUS H110I-PLUS Motherboard LGA1151 w/ I5-7400 CPU, 8GB, Heatsink & I/O Shield
$60.00

MSI B460m-Bomber LGA 1200 Intel 10th Gen B460 M-ATX Intel Motherboard
$59.99

ASUS B85M-G/B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI for Inter 4thCPU
$45.00