A working Linux on AIO Multiboot
#1
Posted 20 May 2004 - 12:54 PM
run off a cd. This is what i did.
Update 27 May 04
Moving the isolinux folder to your AIO boot folder causes loading of the knoppix boot screen while loading an other os. So this is now corrected. Thanks to FBi_
Instructions
Goto http://www.knoppix.org/ to get it.
Edit your iso(try winrar or ultraiso) and extract the knoppix folder to your AIO folder and then extract the isolinux folder to AIO also.
Example
C:\AIO\knoppix
C:\AIO\isolinux
No hexing of files to do...shock..gasp
All you now left to do in your menu script to run linux is the command
bcdw /isolinux/isolinux.bin
Always use bcdw not memdisk
I didnt mention the -j1 switch in cdimage but this is what i use everytime.
the necessary switches are:-
-l label "ALLWINDOWS"
-t 08/23/2001,09:00:00
-h hidden files & dirs
-j1 both joliet and iso-9660 compatible filenames together.
-b "loader.bin"
-o optimize storage
-m ignore maximum image size
I love to use cdimageGUI saves alot of time and can experiment with different options. If im experimenting with one os to get it to work i just make an AIO folder with just that os. This saves enourmous time burning the image to test instead of trying to make an iso 4gig big and finding out it dosent work. I just have boot folder files and a dat and whatever else is needed for that os so when i have got it running perfect i add it to the dvd aio folder with the rest.
Enjoy
#2
Posted 21 May 2004 - 04:00 PM
It seems to be because Knoppix requires Joliet and Win installations require strict ISO...(?)
If anybody has the final answer... Please TRY all your installers and tell us. If it works, perhaps you could provide here your CDIMAGE.EXE params and/or your AIODVD directory structure.
#3
Posted 21 May 2004 - 04:13 PM
However, I've tried to edit the createiso.cmd file from flyakite's guide/site and add the -j1 switch but then the cmd file refuses to run. Anybody know why this is?
Also, the latest version of Knoppix doesn't include the makefloppy command, and I'm unsure how to proceed.
Things I've tried: using the boot.img from an older version of Knoopix and loading from that in CDShell. The problem is that memdisk will run, but installation is halted at a boot: prompt. From there it refuses all input except "knoppix" (all other inputs return an error message to the effect that the specified kernel could not be found). With "knoppix" entered I get a few lines of a loadin sequence and then the screen goes blank and the PC hangs. Anybody have any idea how to correct this?
EDIT
Using MS Virtual Machine I've come on step further - I get the following error

So it seems to be the filesystem after all, which brings me back to my original problem - how to make createiso work with the -j1 switch?
#4
Posted 21 May 2004 - 08:17 PM
So you cant use old floppy boot disks with a new version.
Also the reason they don't allow you to make a floppy boot on the new version is the image is too large to fit on a floppy disc.
You could recompile the kernel and make a foppy image use that for your aio (it still won't fit on a floppy but that doesn't matter on a cd
#5
Posted 22 May 2004 - 04:51 AM
Either way, when trying to create the cdimage using the -j1 switch cdimage.exe refuses to run, even after removing the conflicting -n switch (run cdimage.exe from command line without options to see the helpsection). But even if it would work there are a ton of files on my DVD that have long filenames
ArmyDoc
#6
Posted 22 May 2004 - 05:37 AM
DEL D:\*-JOLIET.ISO start mkisofs -iso-level 4 -l -J -joliet-long -r -R -b \AIO-DVD\BOOT\loader.bin -allow-multidot -no-emul-boot -volid "MULTIOSDVD" -A MKISOFS -sysid "Win32" -boot-load-size 4 -o "D:\multi-joliet.iso" "D:\AIO-DVD" ;start /pause cdimage.exe -lMultiOSDVD -t08/23/2001,09:00:00 -b\AIO-DVD\BOOT\loader.bin -j1 -h -o -m \AIO-DVD D:\AIO-JOLIET.iso end
The syntax is modified somewhat from the example on the page (it -d -D switches, and no -r -R) because of two error messages. The first one about Rock Ridge file system and how they strongly advice me to incorporate it, so I have. The other problem is that I always get the same message on running my .cmd: WARNING: creating file system that does not conform to ISO-9660. mkisofs then hangs…
How do I solve this?
Any help appreciated
#7
Posted 22 May 2004 - 11:15 AM
@ArmyDoc yes cdimage will let you create an iso/joliet iso
@Phil you need to add the -j1 switch. It does work!
Here is my command line this should help
cdimage.exe -l"ALLWINDOWS" -t08/23/2001,09:00:00 -h -j1 -b"C:\AIO\BOOT\loader.bin" -o -m "C:\AIO" "C:\AIO.iso"
Failing that download cdimageGUI HERE
#8
Posted 22 May 2004 - 01:31 PM
I know that both cdimage and mfisofs SHOULD let me create Joliet/ISO-9660 DVDs, BUT in my DVD structure I've included BartPE which uses long filenames (>110 chars). I believe that's the problem with cdimage (and what cdimageGUI so politely tells me about before quitting), and I assume that this is the same problem for mkisofs.
If anybody can tell em a way of creating BartPE with shorter filenames, or has other solutions, I'm open to suggestions
ArmyDoc
#9
Posted 22 May 2004 - 04:07 PM
Guess what my AIO has BartPE too.
I run BartPE put every program plugin going. No problem at all
Rename the BartPe I386 folder to BART
Make a BART.DAT boot file
Hexedit BART.DAT change I386 to BART
Edit setupldr.bin in BART folder and change I386 to BART
copy winbom.ini to root
Run BART.DAT from a script
Never got the error you described as long as i use -j1
You could try a utility such as this to see which programs are using long filenames. And sacrifice the offending program.
Also check your drive for errors.
Extra long filename is supported with the ISO9660:1999 and UDF filesystems.
#10
Posted 22 May 2004 - 04:38 PM
boot: menu: menu_Key: cls show image mainmenu.csi getkey if $lastKey == key[1]; then goto Windows if $lastKey == key[2]; then goto Utility if $lastkey == key[3]; then goto Info if $lastKey == key[q]; then goto end if $lastKey == key[r]; then reboot if $lastKey == key[h]; then goto Help if $lastKey == key[b]; then boot 0x80 Windows: Windows_Key: cls show image windows.csi getkey 120 goto menu if $lastKey == key[1]; then chain /PRO1.DAT if $lastKey == key[2]; then chain /HOM1.DAT if $lastKey == key[3]; then chain /2PRO.DAT if $lastKey == key[4]; then memdisk /98SE.IMG #ALs deze img niet goed werkt dan terug naar 98se.ima en pre-formatten if $lastKey == key[x]; then chain /PRO2.DAT if $lastKey == key[q]; then goto end if $lastKey == key[r]; then reboot if $lastKey == key[h]; then goto Help if $lastKey == key[b]; then boot 0x80 goto menu Utility: Utility_Key: cls show image utility.csi getkey 120 goto menu if $lastKey == key[1]; then chain /BPE1.DAT if $lastKey == key[2]; then chain /BPE2.DAT if $lastKey == key[3]; then chain /UBCD.DAT if $lastKey == key[4]; then memdisk /PM95.IMA [B]#if $lastkey == key[5]; then memdisk /KNOPPIX/knoppix.img[/B] if $lastKey == key[6]; then memdisk /622C.IMG #Keys nog aanpassen als Knoppix eenmaal werkt... if $lastKey == key[q]; then goto end if $lastKey == key[r]; then reboot if $lastKey == key[h]; then goto Help if $lastKey == key[b]; then boot 0x80 goto menu Info: Info_Key: cls show image info.csi getkey 120 goto menu if $lastKey == key[1]; then goto Serie if $lastkey == key[2]; then goto Mail if $lastKey == key[3]; then goto Copy if $lastKey == key[q]; then goto end if $lastKey == key[r]; then reboot if $lastKey == key[h]; then goto Help if $lastKey == key[b]; then boot 0x80 goto menu Mail: Mail_Key: cls show image mail.csi getkey goto menu Copy: Copy_Key: cls show image copy.csi getkey goto menu Serie: Serie_Key: cls show image serie.csi getkey goto menu Help: Help_Key: cls show image help.csi getkey goto menu end
Also, I've checked using the provided app, and the only files/folders over 100 chars long are the folders in BartPE, and only one is over 110 chars.
I'm about ready to give up on Knoppix unless someone has a kickass replacement for BartPE (and I don't have $200 to spend on ERD Commander, so don't bother mentoning that one
ArmyDoc
Attached File(s)
-
AIO_folders.zip (72.72K)
Number of downloads: 320
#11
Posted 22 May 2004 - 05:12 PM
Try removing total commander that has long filename problems.
#12
Posted 23 May 2004 - 03:33 PM
I've tried renaming the folder by deleting 3 chars, and also to use CDIMAGE with the -k switch but, as you can guess, then BartPE won't load anymore
So it seems it really is either BartPE or Knoppix for me, and since my knowledge of Linux is only marginally better than that of nuclear physics
****...
#13
Posted 23 May 2004 - 04:25 PM
bcdw /boot/isolinux/isolinux.bin
Always use bcdw not memdisk
.... you are using memdisk..... maybe this is the problem?
#14
Posted 24 May 2004 - 01:50 PM
#15
Posted 24 May 2004 - 04:37 PM
#16
Posted 25 May 2004 - 09:23 AM
I've got a simpel AIO..
Added Knoppix.... and it's getting weird....
Option 1 (winxp) boots fine
Option 2 (wn98) first gives me the knoppix bootscreen, and then boots 98.
Option 3 (knoppix) gives me knoppix
Option X (more options) gives me knoppix!!!!!!!!!!!!!!!
Option Q (quit) gives me knoppix!!!!!!
Option R (reboot) gives me knoppix!!!!!!! ARGGGGGGGGGGGGGGHHHHH
Get my drift!! ??
WHY????
Pls help
I started the whole thing over and stuff.. nothing helps...
Any suggestions?
# Printing the Interface
menu:
set textColor= color[grey on black]
set boldColor= color[cyan on black]
cls
print c "\n\cXXÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ<\c0B$time $date\cXX>ÄÄ \n\n"
print c "\cXXMulti-Boot DVD NEDERLANDS 0.5\n\n"
print l "\cXXPress \c0CF1 \cXXfor Help"; print r "\c0Ctux@inventerprise.nl \n"
print c "\cXXÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ \n\n"
print "1) Windows XP Professional SP1 Nederlands \n"
print "2) Windows 98 SE Nederlands \n"
print "3) Knoppix \n"
print "\n"
print "X) More Options... \n\n"
print "Q) Quit to Command Prompt \n"
print "R) Reboot \n"
print "ESC) Boot 1st Harddisk \n"
print c "\n"
MainKey:
getkey 20 boot 0x80
if $lastKey == key[1]; then chain /PRO1.DAT
if $lastKey == key[2]; then memdisk /98SE.IMA
if $lastKey == key[3]; bcdw /boot/isolinux/isolinux.bin
if $lastKey == key[q]; then end
if $lastKey == key[r]; then reboot
if $lastKey == key[x]; then goto MoreOptions
if $lastKey == key[F1]; then goto Help
if $lastKey == key[esc]; then boot 0x80
MoreOptions:
cls
print r "\n\cXXPress \c0BF1 \cXXfor Help \n"
print c "\n\cXXMore Options \n"
print c "\cXXÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ \n"
print "1) ERD Commander \n"
print "2) Partition Magic 8.0 \n"
print "3) Laat Serials zien \n"
print c "\n\n"
print "Druk op een toets om terug te keren naar het Hoofdmenu... \n"
MoreOptions_Key:
getkey 20 goto menu
if $lastKey == key[1]; then chain /ERD1.DAT
if $lastKey == key[2]; then memdisk /PM8.IMA
if $lastKey == key[3]; then goto SerialNumbers
goto menu
#17
Posted 25 May 2004 - 04:36 PM
if $lastKey == key[3]; bcdw /boot/isolinux/isolinux.bin
Its treated as two seperate commands, it will always boot linux whatever you press from this line onwards unconditionally. You have missed a then statement.
It should be
if $lastKey == key[3]; then bcdw /boot/isolinux/isolinux.bin
Now it will work fine.
This line if $lastKey == key[2]; then memdisk /98SE.IMA is fine as long as you have 98SE.IMA in the root dir which i'm sure you have. I suggest you download a 98SE.IMA again from here
#19
Posted 28 May 2004 - 01:10 PM
Thanks for this great guide to get Knoppix running.
I had the problem that at some (not all) start options the knoppix bootscreen appeared and then started the correct app.
That's the prob, that Tuxer had also.
Quote
I only want you to know that.
cu
FBi
-------------------------------------------------
getting errors on booting knoppix now
Quote
Could not find kernel image: linux
boot:
Is there another possibility to supress the knoppix bootscreen at some starts of programs?
--------------------------------------------------
now it works
i put the isolinux folder in root of the dvd.
This post has been edited by FBi_: 28 May 2004 - 02:10 PM
#20
Posted 28 May 2004 - 04:47 PM
I update the mini-guide to reflect this.
Well Done FBi_! You did good



Help

Back to top








