-
Senior Member
registered user
Re: too lazy to type boot codes

Originally Posted by
ches
How can I automate my boot codes so I don't have to type them at the boot prompt?
I don't want to "install" knoppix. I have used tohd so it will run off HDD after boot. I also use myconfig. So my boot codes look like this:
knoppix myconfig=/media/hda6 fromhd=/dev/hda6
I'm using knoppix 5.1.
I no longer have the original .iso file.
I'd really like to not have to put the Knoppix boot CD in at all. (I'll live with it. This is secondary)
I do not want to change my XP MBR.
Interesting question. I did some research on this topic and here is my solution to your request:
Remaster your knoppix boot CD so it contains the "myconfig=/media/hda6 fromhd=/dev/hda6" as the default boot option.
Follow the remaster steps on http://www.knoppix.net/wiki/Knoppix_Remastering_Howto
Before you move on to create the ISO image, change the /etc/init.d/knoppix-autoconfig script.
At the beginning of the script, add the following line:
Code:
export CMDLINE="${CMDLINE} myconfig=/media/hda6 fromhd=/dev/hda6"
Save the file.
Create the ISO and burn it to the cd.
Here you go, boot from the CD and it should be all automatic now.
Pro: Simple and straight forward
Con: You still need to boot it up with the CD
I did not test it out myself. Just let us know the result when you're done. It's gonna be interesting.
Rgds,
Chip
Similar Threads
-
By netfun81 in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 12-17-2009, 07:10 PM
-
By famousnation in forum Hardware & Booting
Replies: 12
Last Post: 12-21-2006, 04:00 PM
-
By markraem in forum General Support
Replies: 3
Last Post: 12-06-2004, 09:51 PM
-
By cld in forum General Support
Replies: 1
Last Post: 07-15-2004, 01:45 PM
-
By Kymira in forum General Support
Replies: 0
Last Post: 03-10-2004, 02:57 PM
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 FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 - 4X S25G NICs
$1999.97

Lot of 3 Dell PowerEdge Blade Server HHB005 x2 HHB006 x1
$256.49

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99

LOT (8) Cisco UCS UCSB-B200-M5 2x6248R 24 core 3.0G 24x64g DDR4-2933 ram
$112000.00

Dell PowerEdge VRTX Rackmount Chassis w/4x PSUs 2x CMC Modules
$399.98

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB
$149.99

Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis
$274.99

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS
$578.08

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$96.60