DSL option to boot from Knoppix iso


Forum: DSL Ideas and Suggestions
Topic: DSL option to boot from Knoppix iso
started by: Juanito

Posted by Juanito on April 04 2007,13:13
I just noticed that there is a knoppix boot code:

knoppix bootfrom=/dev/hda1/knx.iso

Given that the early stages of DSL/DSL-N boot are to some extent shared with Knoppix, would it possible to arrange for them to be able to start the knoppix 3.4/4.0.2 iso to use as an environment to compile applications and modules for use in DSL/DSL-N.

This would be helpful for machines that cannot boot from cd (my old desktop with scsi cd) or need some kind of external add-on cd drive (my laptop external cd is always someplace I am not).

Posted by curaga on April 04 2007,14:43
Yes, I think you can boot any Knoppix starting from 3.4 using the DSL bootfloppy and the correct bootcode (maybe "dsl fromhd" or "knoppix fromhd"....)

But I don't think DSL can boot from an iso, you should first copy the KNOPPIX file out of it..


But why not getting the extensions for DSL and then compiling in it?

Posted by roberts on April 04 2007,16:08
That Knoppix boot code does work in DSL.

For example, booting from a pendrive but I want to run/test a new dsl.iso
This can be achieved by:

boot: dsl bootfrom=/dev/hda2/dsl-test.iso

This is only helpful for testing core KNOPPIX image and not new kernels or inital ramdisk.

Posted by Juanito on April 05 2007,08:37
I tried with DSL & DSL-N and it seems to work fine:
Code Sample
dsl dma bootfrom=/dev/hda5/path-to-file/KNOPPIX_V3*.iso
or
dsl dma bootfrom=/dev/hda5/path-to-file/KNOPPIX_V4*.iso

The "dma" code causes knoppix to be loaded to ram at 19MB/s as opposed to 3.5MB/s without it on my machine - either way is a lot faster than loading it on a knoppix cd boot.

I will have to try and see if I can use the "myconf=/dev/hda5" code to load a knoppix.sh configuration script from dsl

Posted by WDef on April 06 2007,21:05
This came up a fair while ago here.  I remember a thread with Rapidweather and (?)

It can be handy when remastering to avoid burning new cds.  Or just upgrade your iso and never burn a new cd.

Posted by Juanito on April 07 2007,12:55
I searched the posts by Rapidweather but didn't really find what is was looking for - my problem with the Knoppix 3.4 iso is that I need to load 855wrap before the X-server starts, otherwise I get the Intel 855 lime-green-screen of nothing. The Knoppix 4.0.2 iso manages to start the X-server in low resolution after which I can drop back to the terminal screen, load 855wrap and restart the X-server with "init 5".

I tried the following boot codes from the DSL boot prompt:

dsl 2 dma toram bootfrom=/dev/hda5/path-to-file/KNOPPIX_V3*.iso

But somehow the "2" gets ignored and the boot sequence does not stop at the terminal mode. The knoppix.sh script (the GUI version at least) does not look like it would work like bootlocal.sh and load 855wrap.

Any ideas would be welcome...

Posted by WDef on April 08 2007,19:38
Sorry Juanito I just meant that the bootfrom iso option had come up before - not specifcally using dsl to boot a full knoppix iso.
Posted by fredvej on April 09 2007,17:15
The kernel file and the minirt must match what you want to boot.  I have made an USB pen-drive that can boot DSL , DSL-N and Knoppix 5.1 , but the three all need their own kernel file and minirt.gz
Posted by Juanito on April 10 2007,03:56
I'm not sure what you're saying here, do you mean:

1. In order to boot a knoppix iso file using the boot code "2" I would have to boot from knoppix in the first place.
or
2. In order to boot a knoppix iso file I would have to boot from knoppix in the first place.

I can boot knoppix iso files from the DSL boot prompt, but I would like them to boot into terminal mode rather than start x.

Posted by fredvej on April 13 2007,12:11
When I boot from USB I don't boot the Knoppix ISO.  I have prepared the USB with syslinux and put the three kernels and minirts in the root, and the /knoppix directory contains all three knoppix images plus the extra files that Knoppix needs.

You are booting the Knoppix ISO, so my answer is somewhat off topic.

Anyway, when you boot the Knoppix ISO, do you get a second prompt from the ISO where you can write e.g. "knoppix 3" to boot to runlevel 3 (text mode) ?

Posted by Juanito on April 13 2007,14:26
Quote (fredvej @ April 13 2007,12:11)
Anyway, when you boot the Knoppix ISO, do you get a second prompt from the ISO where you can write e.g. "knoppix 3" to boot to runlevel 3 (text mode) ?

No, just the DSL boot prompt - but is it "2" or "3" to get text mode, I was thinking "2"?

Posted by ^thehatsrule^ on April 13 2007,15:43
The kernel is already booted at that point - I guess that'd be the explanation.

FYI, from < http://www.knoppix.net/wiki/Cheat_Codes > it looks like runlevels 2-4 are the same

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.