LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-04-2010, 02:48 AM   #1
tspang
LQ Newbie
 
Registered: May 2009
Posts: 13

Rep: Reputation: 0
Syslinux.cfg Questions


I'm attempting to do a task that seems very simple and is causing me much heartache.

Situation: I have to install multiple SUSE linux installs onto blade servers without cdroms.

Goal: Create a bootable USB drive that contains multiple DVD Isos. Upon boot, a menu is displayed that allows the choice of several OS installs.

Problem: I just can't figure out how to format syslinux.cfg to load my specified iso image. Here is semi sudo code for what I want to do with my config:

sudo syslinux config
label <any label>
menu label install SLES 10 x86
kernel linux
append <path_to_iso=/sles10/dvd1_x86.iso> autoyast=10x86.xml

label <any label>
menu label install SLES 10 x64
kernel linux
append <path_to_iso=/sles10/dvd1_x64.iso> autoyast=10x64.xml
label <any label>

menu label install SLES 11 x86
kernel linux
append <path_to_iso=/sles11/dvd1_x86.iso> autoyast=11x86.xml

...

Googling tells you quite a bit about syslinux.cfg, but it doesn't reallyt tell you how to load specific file for installation.

Thanks in advance!
 
Old 04-04-2010, 04:43 AM   #2
tspang
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
after much searching I found my own answer.

label 10_3x86
menu label install SLES 10 x86
kernel linux
append initrd=initrd splash=silent showopts install="hd:/dev/sdb1/sles10/x86dvd1.iso" autoyast="hd:/dev/sdb1/10x86.xml"
 
Old 04-04-2010, 07:16 AM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Thanks for answering with the solution as it will help others.
Please also mark the thread solved if you wish, by going to top right corner of your first post, clicking "thread tools" and mark solved.

So, it all worked well?
If you want a graphical menu you can use menu.c32 for a text menu
and vesamenu.c32 for a graphical menu using a png or jpg
 
0 members found this post helpful.
Old 04-05-2010, 01:21 PM   #4
tspang
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linus72 View Post
Thanks for answering with the solution as it will help others.
Please also mark the thread solved if you wish, by going to top right corner of your first post, clicking "thread tools" and mark solved.
Will do, but I have a few other questions, so I'll ask them here..

Quote:
Originally Posted by linus72 View Post
So, it all worked well?
If you want a graphical menu you can use menu.c32 for a text menu
and vesamenu.c32 for a graphical menu using a png or jpg
I have a menu.c32, and as I add options to syslinux.cfg under the *lable* paramater, it appears on the boot selection. However, it sems to be limited to 8 characters for what I add (the prepopulated SLES options are much longer than 8 characters though). I can't directly modify menu.c32 with a text editior -- how do I add 9+ character menu options to the boot selection?

Thanks in advance!
 
Old 04-05-2010, 02:05 PM   #5
tspang
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
I also seem to be having a basic lack of understanding regarding bootable USB and installing linux distributions.

I created the bootable usb drive using these instructions at Novells site:

http://www.novell.com/support/search...%200%201318234

I used 32bit SLES 10.3 to create the bootable disk.

I then modified syslinux.cfg to point to the first disk of the 32 bit SLES 10.3 install as above, and it works fine. Boots & installs, etc.

Pointing to the other installation disks (10x64, 11x86 or 11x64) doesn't work, even though I am sure I've specified the correct path to the DVD. This means there must be something from the linked novel procedure that makes the drive specific to SLES 10.3. Since multiple distro installs from a single USB drive must be a common procedure I'm obviously not understanding something basic about how this all works. Maybe its time for a new thread?
 
Old 04-05-2010, 02:21 PM   #6
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
yeah, that looks weird

my standard is to usually do it all myself.

about the 8 character thing, this may be due to version of syslinux you are using
what syslinux version are you using?

can you post syslinux.cfg that your working on?
 
Old 04-05-2010, 03:29 PM   #7
tspang
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linus72 View Post
yeah, that looks weird

my standard is to usually do it all myself.
Any good links on doing this yourself? This is my first attempt at using a USB drive this way and google has been less than helpful. I didn't get much use out of syslinux.org either, unfortuantly. The documentation there is somewhat lacking from a general use prespecitve.

Quote:
Originally Posted by linus72 View Post
about the 8 character thing, this may be due to version of syslinux you are using
what syslinux version are you using?
Its whatever comes with SLES 10. I believe it's version 3.1-20.11 from a search I saw on the web.

Quote:
Originally Posted by linus72 View Post
can you post syslinux.cfg that your working on?
Sure thing:
# cat syslinux.cfg
default harddisk

# hard disk
label harddisk
localboot 0x80

# install
label linux
kernel linux
append initrd=initrd splash=silent showopts

# install_SLES_10.3_x86
label 10_3x86
menu label Install SLES 10_3 x86
kernel linux
append initrd=initrd splash=silent showopts install="hd:/dev/sdb1/sles10/SLES-10-SP3-DVD-i386-GM-DVD1.iso" autoyast="device://sdb1/SLES_103_x86.xml"

# install_SLES_10.3_x64
label 10_3x64
menu label Install SLES 10_3 x64
kernel linux64
append initrd=initrd splash=silent showopts install="hd:/dev/sdb1/sles10/SLES-10-SP3-DVD-x86_64-GM-DVD1.iso" autoyast="device://sdb1/SLES_103_x64.xml"

# install_SLES_11_x86
label 11_3x86
menu label Install SLES 11_3 x86
kernel linux
append initrd=initrd splash=silent showopts install="hd:/dev/sdb1/sles10/SLES-11-DVD-i586-GM-DVD1.iso" autoyast="device://sdb1/SLES_11_x86.xml"

# install_SLES_11_x64
label 11_3x64
menu label Install SLES 11_3 x64
kernel linux
append initrd=initrd splash=silent showopts install="hd:/dev/sdb1/sles10/SLES-11-DVD-x86_64-GM-DVD1.iso" autoyast="device://sdb1/SLES_11_x64.xml"

# noacpi
label noacpi
kernel linux
append initrd=initrd splash=silent showopts acpi=off

# nolapic
label nolapic
kernel linux
append initrd=initrd splash=silent showopts nolapic

# failsafe
label failsafe
kernel linux
append initrd=initrd splash=silent showopts apm=off acpi=off mce=off barrier=off ide=nodma idewait=50 i8042.nomux psmouse.proto=bare irqpoll pci=nommconf

# rescue
label rescue
kernel linux
append initrd=initrd splash=silent rescue=1 showopts

# memory test
label memtest
kernel memtest

implicit 1
gfxboot bootlogo
display message
prompt 1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub, isolinux, and syslinux questions?? linus72 Linux - Newbie 4 03-31-2012 01:18 AM
grub, grub4dos, and syslinux questions... linus72 Linux - General 4 07-21-2009 08:50 AM
syslinux.cfg 'Expert' advise needed... multiboot from usb Akonbobot Linux - General 0 08-25-2008 03:49 PM
Mounting HDD with Syslinux.cfg? [TGW]pSycho-Y2K Linux - Newbie 2 03-29-2004 03:17 AM
Eterm Questions and Config??? post your .cfg file??? boutrosboutros Linux - Software 0 01-19-2004 05:14 PM


All times are GMT -5. The time now is 01:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration