kof94 Posted April 20, 2007 Posted April 20, 2007 (edited) To be honest your better off reading the README.menu file. It's a text file from the syslinux package and it explains it all quite well!You can download it here (you want syslinux-3.36.zip) and you can read some of it here.The main values you are interested in are MENU width and MENU margin and possibly MENU rows .If you get stuck post back. Edited April 20, 2007 by kof94
jetman Posted April 20, 2007 Author Posted April 20, 2007 To be honest your better off reading the README.menu file. It's a text file from the syslinux package and it explains it all quite well!You can download it here (you want syslinux-3.36.zip) and you can read some of it here.The main values you are interested in are MENU width and MENU margin and possibly MENU rows .If you get stuck post back.Sir Kof: I gave up after a while. Change one thing, then it moves in an unexpected direction or amount. Bah ! Let it be a little off-center ! Real men don't need centered menus anyway ! @google44: Seriously, I think the positioning code is a bit buggy. I'd get a later version of SYSLINUX than the one my buddy Kof94 mentioned. I'm using 3.50-pre4. He's (ie. SYSLINUX' author) is a wee slow in releasing code. The Freshmeat page for the proj hasn't been updated in months, but the latest-greatest module is available at the Kernel.org link found on the SYSLINUX Downloads page....Jet
google44 Posted April 20, 2007 Posted April 20, 2007 (edited) I can set height and margin of the menu from the left or right but what about top margin ?Edit: I just found out why is so difficult to center the menu. I don't think menu positioning code is buggy, the problem is with the MENU MARGIN setting which is working a bit ankward, at least.MENU MARGIN and MENU WIDTH depends on each other for menu's to be in center of the screen. That is because when you set margin , the entire menu is not moved from left to right preserving menu width, only the left margin of the menu is moved to the right. So when you set MENU MARGIN 10, the right margin of the menu remains at the same position, only the left margin moves 10 points from left margin of the screen. So, of course, this affects width of the menu and because of that is very confusing. Edited April 21, 2007 by google44
google44 Posted April 21, 2007 Posted April 21, 2007 This is driving me crazy I just couldn't boot anything. All my files and images are in ISOLINUX folder. I try it to boot like that:LABEL sysresccd2MENU LABEL ^2 DocmemKERNEL /isolinux/memdiskAPPEND initrd=/isolinux/docmem.imgIf i don't use graphical user interface, just text, is working fine but when I add vesamenu.c32 and chain.c32 to have a graphical interface it's just not working anymore, nothing happen when I want to run it.What i'm doing wrong here because it's clear that all the files are in the right place ?
kof94 Posted April 21, 2007 Posted April 21, 2007 (edited) I can set height and margin of the menu from the left or right but what about top margin ?Edit: I just found out why is so difficult to center the menu. I don't think menu positioning code is buggy, the problem is with the MENU MARGIN setting which is working a bit ankward, at least.MENU MARGIN and MENU WIDTH depends on each other for menu's to be in center of the screen. That is because when you set margin , the entire menu is not moved from left to right preserving menu width, only the left margin of the menu is moved to the right. So when you set MENU MARGIN 10, the right margin of the menu remains at the same position, only the left margin moves 10 points from left margin of the screen. So, of course, this affects width of the menu and because of that is very confusing.Hate to tell you "I told you so" but... It's a bit of a pain really because each setting effects the other.And as always the right honorable gentleman jetman continues to be a bastion for common sense. Sir Kof: I gave up after a while. Change one thing, then it moves in an unexpected direction or amount. Bah ! Let it be a little off-center ! Real men don't need centered menus anyway !Next topic:This is driving me crazy I just couldn't boot anything. All my files and images are in ISOLINUX folder. I try it to boot like that:LABEL sysresccd2MENU LABEL ^2 DocmemKERNEL /isolinux/memdiskAPPEND initrd=/isolinux/docmem.imgIf i don't use graphical user interface, just text, is working fine but when I add vesamenu.c32 and chain.c32 to have a graphical interface it's just not working anymore, nothing happen when I want to run it.What i'm doing wrong here because it's clear that all the files are in the right place ?First up you don't need to add the isolinux folder location because you're already in it and you don't move from it. So if all your boot files are in the isolinux folder including all modules i.e. memdisk then your command should look like this:KERNEL memdiskAPPEND initrd=docmem.imgIncidentally, Docmem plainly won't work via memdisk and I haven't found a viable solution that works properly yet. IMO memtest86+ does a good enough job, even if it is slow.As for vesamenu not working, could you post your complete config files.-kof94 Edited April 21, 2007 by kof94
google44 Posted April 21, 2007 Posted April 21, 2007 Below is the complete isolinux folder used as a pebuilder plugin. From the archive is missing setup98.img and splash.png image. With mkisofs4isolinux.cmd I make the iso image after i build it with pebuilder. Everything is working fine, isolinux graphical interface is booting, but when i select "Test" and press "enter" nothing happenisolinux.rarHere is what's inside pebuilder.iso after iso creation:So I don't understand why setup98.img is not launching because everything seems to be ok.
kof94 Posted April 21, 2007 Posted April 21, 2007 Sorry buddy I'm lost. When I boot my AIO DVD I boot straight to isolinux, I'm not quite sure what your trying to do here!Are you trying to boot isolinux from a PE environment or am I missing something?Could you also provide a link the full size image of your folder setup as well.
google44 Posted April 21, 2007 Posted April 21, 2007 There is nothing really special here, I just create an isolinux plugin for pebuilder. I boot also straight to isolinux there is absolutely no difference, except the two other folders which don't mater.
kof94 Posted April 21, 2007 Posted April 21, 2007 Ok, fair enough.I take it "Test" is a label for an app you want to boot, are you completely sure your commands are correct.For example:- You don't have two identical labels in your config file- All your files conform to 8.3 standard- You have the correct locations set e.g. /menus/main.cfg looks for a folder in the root or the disc called menus menus/main.cfg looks for the menus folder in the isolinux dir.I know I might be asking silly questions here but simple things can really mess things up.If your really not sure post your isolinux.cfg and any other config files your having troubles with and I'll take a look.
google44 Posted April 21, 2007 Posted April 21, 2007 (edited) This is isolinux.cfg file:DEFAULT /vesamenu.c32PROMPT 1TIMEOUT 300MENU BACKGROUND /splash.pngMENU TITLE TestMENU COLOR title 1;36;44 #ff0000ff #00000000 stdMENU COLOR unsel 37;44 #ff0000ff #00000000 stdMENU COLOR sel 7;37;40 #c0ffffff #ff000000 stdMENU COLOR hotkey 1;37;44 #ffff0000 #00000000 stdMENU COLOR hotsel 1;7;37;40 #ff00ff00 #ff000000 allLABEL testMENU LABEL ^testKERNEL memdiskAPPEND initrd=setup98.imgThis is iso file:This is the isolinux folder:and this is the cmd file for building the iso:@ECHO OFFECHO Starting @ (%TIME%) ....SET _VNBR_=01SET _ROOT_=C:\pebuilder3110a\pluginSET CDTITLE="SUPERDISC-%_VNBR_%"SET CDFILENAME="%_ROOT_%%CDTITLE%.ISO"C:\pebuilder3110a\mkisofs.exe -N -V %CDTITLE% -b isolinux.bin -d -iso-level 4 -no-emul-boot -boot-load-size 4 -boot-info-table -o "c:\pebuilder.iso" "C:\pebuilder3110a\plugin\isolinux"I don't understand why it's not working, everything is booting fine but when I try to run "test" item , nothing.There are no other configuration files that could interfere so.. Edited April 21, 2007 by google44
kof94 Posted April 21, 2007 Posted April 21, 2007 (edited) Visual communication saves the day, I think.Create a folder at the root of your disc called isolinux, put everything in it then boot this config, then tell me if it works. DEFAULT vesamenu.c32PROMPT 0TIMEOUT 300MENU BACKGROUND splash.pngMENU TITLE TestMENU COLOR title 1;36;44 #ff0000ff #00000000 stdMENU COLOR unsel 37;44 #ff0000ff #00000000 stdMENU COLOR sel 7;37;40 #c0ffffff #ff000000 stdMENU COLOR hotkey 1;37;44 #ffff0000 #00000000 stdMENU COLOR hotsel 1;7;37;40 #ff00ff00 #ff000000 allLABEL testMENU LABEL ^testKERNEL memdiskAPPEND initrd=setup98.imgI know... I've only made two changes and I know... you can have everything at the root of the disc but please just indulge me.EDIT: Sorry I made a few more changes!EDIT: And again. Avoid using tab! Edited April 21, 2007 by kof94
google44 Posted April 21, 2007 Posted April 21, 2007 (edited) it's the same thing but if I change it to something like that it works (instead of default vesamenu.c32 i change it to default test):DEFAULT testPROMPT 0TIMEOUT 300MENU BACKGROUND splash.pngMENU TITLE TestMENU COLOR title 1;36;44 #ff0000ff #00000000 stdMENU COLOR unsel 37;44 #ff0000ff #00000000 stdMENU COLOR sel 7;37;40 #c0ffffff #ff000000 stdMENU COLOR hotkey 1;37;44 #ffff0000 #00000000 stdMENU COLOR hotsel 1;7;37;40 #ff00ff00 #ff000000 allLABEL testMENU LABEL ^testKERNEL memdiskAPPEND initrd=setup98.imgsetup98.img is booted directly so the menu is ok I guess. I think I am missing something here. Edited April 21, 2007 by google44
kof94 Posted April 21, 2007 Posted April 21, 2007 I just built a test build using just isolinux.cfg.isolinux.cfg:PROMPT 0DEFAULT vesamenu.c32MENU MARGIN 0MENU ROWS 19MENU TABMSGROW 24MENU CMDLINEROW 24MENU TIMEOUTROW 24MENU BACKGROUND backgrd.pngMENU COLOR border 37;44 #00000000 #00000000 noneMENU COLOR title 37;44 #ffffffff #00000000 stdMENU COLOR unsel 37;44 #80ffffff #00000000 stdMENU COLOR sel 34;47 #ffffffff #10ffffff stdMENU COLOR scrollbar 37;44 #80ffffff #00000000 stdMENU COLOR tabmsg 30;40 #00000000 #00000000 noneMENU COLOR cmdline 37;40 #80ffffff #00000000 stdMENU COLOR cmdmark 37;40 #f0d60000 #00000000 stdMENU COLOR timeout_msg 37;40 #ffffffff #00000000 stdMENU COLOR timeout 31;40 #f0d60000 #00000000 stdMENU TITLE The First .img I saw!LABEL seatoolsMENU LABEL Seatools 1.09 (Seagate)KERNEL memdiskAPPEND initrd=seatools.igzContents of isolinux folder:isolinux.cfgmemdiskvesamenu.c32seatools.igzbackgrd.pngchain.c32isolinux.binAll works A-OK.I'm not quite sure where your going wrong to be honest.
google44 Posted April 21, 2007 Posted April 21, 2007 I don't know what's the problem, it just don't work in graphical mode. It works ok only in text mode.
jetman Posted April 21, 2007 Author Posted April 21, 2007 There is nothing really special here, I just create an isolinux plugin for pebuilder. I boot also straight to isolinux there is absolutely no difference, except the two other folders which don't mater.NO ! Incorrect. ISOLINUX is just a loader, a facilitator to get your CD-based systems started. It's just like GURB, BCDW, or CDSHELL. I've been using BartPE for years and no way would I ever do an ISOLINUX plugin.ISOLINUX+GRUB+CDSHELL+whatever start bef any CD-based app/system and exist solely for that purpose. Do as you will with your computer, but you've missed the point of the exercise....Jet
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now