PDA

View Full Version : Knoppix 3.8 LOADLIN (boot from DOS)



y23
03-31-2005, 05:09 PM
How can I get Knoppix 3.8 to boot from HDD under DOS?

Booting Knoppix 3.7 from DOS is fantastic, a read-only OS, totally resistant to power failures.

I put these files into D:\KNOPPIX (or C:\KNOPPIX)

17.01.2005 05:54 32.225 LOADLIN.EXE
05.12.2004 04:09 997 KNOPPIX.SH
26.03.2005 14:07 1.228 GO.BAT
16.08.2004 00:31 800.125 MINIRT24.GZ
16.08.2004 00:31 1.018.412 LINUX24
and the big 700 meg KNOPPIX. file from the 3.7 liveCD and

GO.BAT contains
loadlin linux24 fb1024x768 root=/dev/hda1 initrd=minirt24.gz 2

and voila, I have a wonderful server!

( KNOPPIX.SH contains settings, such as ifconfig IP, route add default gw,
and copy various settings e.g. SHADOW. and start services, like sshd start)

NOW.. with 3.8 (or even kernel 2.6 on Knoppix 3.7?) I cannot
get LOADLIN to start the whole shabang.

Anyone please help?
[/b]

jwstolk
04-04-2005, 03:50 PM
NOW.. with 3.8 (or even kernel 2.6 on Knoppix 3.7?) I cannot
get LOADLIN to start the whole shabang.


same here:
...
RAMDISK: Compressed image found at block 0
RAMDISK: incompleat write (-28 != 32768) 4194304
FAT: codepage cp437 not found
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)

jaap.

sakiZ
09-12-2005, 06:24 PM
How did you get Knoppix to boot without Vmlinuz?

If you read the Loadlin docs,

Loadlin requires you copy the kernel (either the 2.4 or the 2.6) to a file called vmlinuz with the other required files....... miniroot.gz, etc.

Depending on which kernel you copy to vmlinuz depends on which kernel you want to boot.

I understand v. 3.8 uses only the 2.6 kernel so you don't have a choice. But you still have to do it.

sakiZ

jwstolk
09-12-2005, 09:09 PM
i don't know. (in the end i plugged the laptop hard disk into a desktop, and installed from the knoppic cd.)

maybe loadlin uses the Vmlinuz in the knoppix image ?