-
Senior Member
registered user
Booting Either Kernel With Loadlin.exe in 3.7 and earlier
Hi Knoppixers,
I know this has been asked and I have not seen an answer so I delved it into it since I am now using Loadlin with my 3.7 full HD install. This tip should apply to anyone using a version of Knoppix that uses two kernels. I think 3.7 was the last.
The question is "How in the heck do you use Loadlin to boot to the 2.6 kernel?" Booting to the 2.4 kernel is easy. But getting the 2.6 kernel to boot is not.
First you do the obvious thing. You create a separate directory for the 2.6 files. Let's call it:
/dev/hda5/Kn26. Or whatever you want depending on your system.
This is essential. You will soon see why. Copy linux26 and minirt26.gz of course. Copy your Loadlin.exe AND as you may know you also need a "vmlinuz" to be in that directory too. That's the rub. As it stands the vmlinuz file will not work here to boot you into 2.6.
And why not?
If you go to the Boot directory of Knoppix and look at the vmlinuz file and click on properties with the SuperUser File manager you will discover that it is actually a LINK! It links to:
vmlinuz-2.4.27. !!!!!!!!!!!!!!
It's linking to the 2.4 kernel so no matter what you do you will always get the 2.4 kernel when you boot. An AH-HAh moment. Right?
The trick is to create a new vmlinuz link from the vmlinuz-2.6.9 file. You can do this in GUI mode with the file manager. That's how I did it.
There are probably lots of ways to do this.
I created a link called "vmlinux" (not vmlinuz) from the vmlinuz-2.6.9 in the same directory. That's because you can't have two vmlinuz files there, so I named it something different. Then I copied this file to another location.
(You may need to set permissions to do this)
I simply copied it to my zip drive where permissions were not an issue. Once on the zip drive I renamed it vmlinuz like it should be. Then I copied it to the /dev/hda5/Kn26 I created. Now I have a valid link to the vmlinuz-2.6.9 file in the boot directory. That's the trick.
Now you can create your Loadlin batch file and start adding whatever cheatcodes you may need.
My Knoppix install is on /dev/hda3 so my boot line looks like this in part:
Loadlin vmlinuz linux26 minirt26.gz fromhd=/dev/hda3
Add cheat codes as necessary.
(All that said, on my own computer I'm still wrestling with what cheatcodes I need with the 2.6 kernel.)
Good luck!
sakiZ
Similar Threads
-
By the_idealist100 in forum Laptops
Replies: 0
Last Post: 07-23-2007, 07:54 PM
-
By hasso v. reckowsky in forum Hardware & Booting
Replies: 0
Last Post: 12-09-2006, 08:53 AM
-
By extricator71 in forum General Support
Replies: 5
Last Post: 09-11-2004, 10:56 PM
-
By Taldor in forum General Support
Replies: 10
Last Post: 08-18-2004, 08:46 PM
-
By Jared in forum General Support
Replies: 20
Last Post: 11-04-2003, 02: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
Cisco w/ Green Hologram SFP-10/25G-LR-S 10/25GBASE-LR SFP28 Transceiver Module
$79.99
Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF
$29.99
Cisco GLC-FE-100LX 100BASE-LX SFP Transceiver Module
$15.59
Cisco w/ Green Hologram SFP-10G-BXU-I 10GBASE-BX-U BiDi SFP+ Transceiver Module
$59.99
NEW FS SFP-10G-T 10GBASE T SFP+ 30M Transceiver Module (Lot of 1)
$39.95
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$13.89
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$89.00
New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module
$69.99
New Cisco SFP-10G-LRM 10G SFP+ LRM 1310nm 220m SMF/MMF LC Module
$34.99