-
How do I make a cheat-code permanent on Knoppix 8.6.1?
Summary:
How do I make the following cheat-code permanent on knoppix 8.6.1 on usb stick,
because filesystem type is iso9660 (read-only) and won't let me edit
/mnt-system/boot/isolinux/isolinux.cfg.
Cheat code entered at boot prompt: knoppix xmodule=vesa
Full Details:
I've just put knoppix 8.6.1 on a usb stick (persistence was there by default).
But X Window won't display unless I enter the cheat-code "knoppix xmodule=vesa"
at the initial boot prompt.
Incidentally, when using Knoppix 7.7.1 on a usb stick, on the EXACT SAME laptop
(Acer Aspire 5755G), I don't need the cheat-code.
I'd like to not have to type the cheat-code in every time I boot the 8.6.1, and
believe that I can achieve that by adding "xmodule=vesa" as a kernel parameter
on an "APPEND" line in /boot/isolinux/isolinux.cfg.
I can get to that file using the path
/mnt-system/boot/isolinux/isolinux.cfg.
But it won't let me write to that file because /mnt-system is mounted read
only. When I try to remount /mnt-system as read-write, it says "write-protected."
/UNIONFS is mounted as read-write, but the path /UNIONFS/boot/isolinux/ does not
exist.
I understand that because partition 1 (the main Knoppix system) is filesystem
type iso9660*, that it is by definition read-only. (*On which I believe
/boot/isolinux/isolinux.cfg sits).
Main Question:
So could you tell me please, what method I need to use to make my cheat-code
permanent?
Reason for Using 8.6.1:
I'm trying out 8.6.1 because it has a newer kernel than 7.7.1, and I've read
that a newer kernel might fix my problem of downloads halting when the lid is
closed. I've already tried many lid disabling methods, but none of them prevent
the downloading from halting.
Last edited by winger9; 01-02-2020 at 10:26 PM.
Reason: text improvement
-
I do not understand fully your USB stick situation: has it more partitions, 1 containing the Knoppix system with ISO9660 fs (readonly, optical CD fs), and an other one that is rw (maybe FAT32) for persistence?
If so, you cannot change the ISO9660 fs since it is like this: readonly.
I recommend you to reformat the stick with GParted (for example) to FAT32 fs, and only 1 partition. Then install GRUB2 bootloader to stick (you can use SystemRescueCD). Make a boot directory in the root of the created partition. Store all your live systems here in "boot". Depending of the size of USB stick you can download and store many systems.
Download Knoppix ISO. If you have enough memory, download in /tmp directory (in memory). Extract its whole content into boot/knx/KNOPPIX_NAME directory.
Then create grub/grub.cfg file and enter in it the appropriate menuentries for Knoppix.
In the same way you can download and start other live sytems with GRUB2 from the USB stick. You can use persistence, too.
On the net you will find a lot of information about GRUB2, grub.cfg and menuentry examples for different systems. Also for Knoppix...
If you take my advice and boot Knoppix in this way, I can give you (if you need) working menuentries for Knoppix, since I use it just in this way: started with GRUB2 from internal and external drives, USB sticks.
-
Senior Member
registered user
Hello, Winger9, kindly accept my wellwishes.
Have you searched exhaustively the forum threads?
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
Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU
$399.04
Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS
$716.98
Intel XEON E5-2699 V3 CPU PROCESSOR 18 CORE 2.30GHZ 45MB L3 CACHE 145W SR1XD
$45.00
Dell PowerEdge R740XD Server | 2x Gold 6140 36 Cores | H730 | Choose RAM/ Drives
$2800.00
Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7
$17.99
Intel Xeon E5-2699v4 SR2JS 2.2GHz 22-Core 55MB 145W Server Processor CPU
$144.95
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$39.99
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98
Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia
$90.00