Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Installation Support

Post new topic   Reply to topic
SMS on a YUMI usb flash drive?
View previous topic :: View next topic  
Author Message
djgizmo
Junior Member


Joined: 01 Aug 2013
Posts: 4

PostPosted: Fri Aug 02, 2013 4:22 pm    Post subject: SMS on a YUMI usb flash drive? Reply with quote

I've been trying for the past several days to get SMS Live CD to be apart of my YUMI usb drive, so it can be apart of my arsenal of live boot up discs from a single flash drive.

I keep receiving an error that SMS cannot start when I try this.

Anyone have any suggestions?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri Aug 02, 2013 4:27 pm    Post subject: Reply with quote

Although I never used YUMI, it must be using syslinux, so can you post your syslinux.cfg?

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
djgizmo
Junior Member


Joined: 01 Aug 2013
Posts: 4

PostPosted: Fri Aug 02, 2013 6:24 pm    Post subject: Reply with quote

gerasimos_h wrote:
Although I never used YUMI, it must be using syslinux, so can you post your syslinux.cfg?

gerasimos_h


Sure, I tried to use just the ISO.


Here is my syslinux.cfg and menu.lst.

syslinux.cfg

-----------------------
Code:
# Menu Entry Created by Lance http://www.pendrivelinux.com for YUMI - (Your USB Multiboot Installer)
default vesamenu.c32
prompt 0
timeout 30
menu title Your Universal MultiBoot Installer
menu background uber.png
# MENU TABMSG  http://www.pendrivelinux.com
MENU WIDTH 72
MENU MARGIN 10
MENU VSHIFT 3
MENU HSHIFT 6
MENU ROWS 15
MENU TABMSGROW 20
MENU TIMEOUTROW 22
menu color title 1;36;44 #66A0FF #00000000 none
menu color hotsel 30;47 #C00000 #DDDDDDDD
menu color sel 30;47 #000000 #FFFFFFFF
menu color border 30;44   #D00000 #00000000 std
menu color scrollbar 30;44 #DDDDDDDD #00000000 none

label Directly Bootable ISOs
menu label Directly Bootable ISOs
MENU INDENT 1
KERNEL /multiboot/grub.exe
APPEND --config-file=/multiboot/menu/menu.lst
MENU DEFAULT

label Hirens and Windows 7
menu label Hirens and Windows 7 ->
MENU INDENT 1
kernel vesamenu.c32
APPEND /multiboot/menu/other.cfg

label System Tools
menu label System Tools ->
MENU INDENT 1
kernel vesamenu.c32
APPEND /multiboot/menu/system.cfg

label Antivirus Tools
menu label Antivirus Tools ->
MENU INDENT 1
kernel vesamenu.c32
APPEND /multiboot/menu/antivirus.cfg

label Linux Distributions
menu label Linux Distributions ->
MENU INDENT 1
kernel vesamenu.c32
APPEND /multiboot/menu/linux.cfg

label Boot from first Hard Drive
menu label Continue to Boot from ^First HD (default)
KERNEL chain.c32
APPEND hd1


I select the first option. (Directly Bootable ISOs)

which then launches this lst.

menu.lst

--------------------
Code:
# This Menu created with YUMI (Your Universal Multiboot Installer) http://www.pendrivelinux.com
default 1
timeout 30
color NORMAL HIGHLIGHT HELPTEXT HEADING
splashimage=/multiboot/menu/uber.xpm.gz
foreground=FFFFFF
background=000000

title --- Directly Bootable ISOs ---
root

title <-- Back to Main Menu
root (hd0,0)
chainloader (hd0)+1
rootnoverify (hd0)

# Modify the following entry if it does not boot
title Boot FreeNAS 9 x64 (NAS Server)
find --set-root --ignore-floppies --ignore-cd /multiboot/ISOS/FreeNAS-9.1.0-RC2-x64.iso
map --heads=0 --sectors-per-track=0 /multiboot/ISOS/FreeNAS-9.1.0-RC2-x64.iso (hd32)
map --hook
chainloader (hd32)

# Modify the following entry if it does not boot
title Boot VMware ESXI 3.5
find --set-root --ignore-floppies --ignore-cd /multiboot/ISOS/VMware-VMvisor-InstallerCD-3.5.0_Update_5-207095.i386.iso
map --heads=0 --sectors-per-track=0 /multiboot/ISOS/VMware-VMvisor-InstallerCD-3.5.0_Update_5-207095.i386.iso (hd32)
map --hook
chainloader (hd32)

# Modify the following entry if it does not boot
title Boot SMS.Live.CD-2.0.5.iso
find --set-root --ignore-floppies --ignore-cd /multiboot/ISOS/SMS.Live.CD-2.0.5.iso
map --heads=0 --sectors-per-track=0 /multiboot/ISOS/SMS.Live.CD-2.0.5.iso (hd32)
map --hook
chainloader (hd32)


Just in case you need it, here's the linux.cfg

Code:
# Menu Entry Created by Lance http://www.pendrivelinux.com for YUMI - (Your USB Multiboot Installer)
default vesamenu.c32
prompt 0
menu title Linux Distributions
menu background uber.png
# MENU TABMSG  http://www.pendrivelinux.com
MENU WIDTH 72
MENU MARGIN 10
MENU VSHIFT 3
MENU HSHIFT 6
MENU ROWS 15
MENU TABMSGROW 20
MENU TIMEOUTROW 22
menu color title 1;36;44 #66A0FF #00000000 none
menu color hotsel 30;47 #C00000 #DDDDDDDD
menu color sel 30;47 #000000 #FFFFFFFF
menu color border 30;44   #D00000 #00000000 std
menu color scrollbar 30;44 #DDDDDDDD #00000000 none
 
label <-- Back to Main Menu
 kernel vesamenu.c32
 append /multiboot/syslinux.cfg
MENU SEPARATOR 
 
label Linux Mint 14 XFCE 32bit (Desktop)
menu label Linux Mint 14 XFCE 32bit (Desktop)
MENU INDENT 1
kernel vesamenu.c32
APPEND /multiboot/menu/LMXFCE14.cfg

label Linux Mint Cinnamon 15 64bit (Desktop)
menu label Linux Mint Cinnamon 15 64bit (Desktop)
MENU INDENT 1
kernel vesamenu.c32
APPEND /multiboot/menu/mcin1564.cfg
 
label Debian Live 7 (Server)
menu label Debian Live 7 (Server)
MENU INDENT 1
kernel vesamenu.c32
APPEND /multiboot/menu/debian7.cfg

label Ubuntu Server 13.10 64bit
menu label Ubuntu Server 13.10 64bit
MENU INDENT 1
kernel vesamenu.c32
APPEND /multiboot/menu/us131064.cfg

label KNOPPIX (Desktop)
menu label KNOPPIX (Desktop)
MENU INDENT 1
kernel vesamenu.c32
APPEND /multiboot/menu/knoppix.cfg


Here is the debian7.cfg in case you need it.

Code:
# Simple Menu Created by Lance http://www.pendrivelinux.com for YUMI - (Your USB Multiboot Installer)
menu title debian7 Live 7 Boot Menu
menu background /multiboot/debian7/isolinux/splash.png
menu color title   * #FFFFFFFF *
menu color border   * #00000000 #00000000 none
menu color sel      * #ffffffff #76a1d0ff *
menu color hotsel   1;7;37;40 #ffffffff #76a1d0ff *
menu color tabmsg   * #ffffffff #00000000 *
menu color help      37;40 #ffdddd00 #00000000 none
menu vshift 17
menu rows 10
default live

label live
 menu label Run debian7 Live from this USB
 kernel /multiboot/debian7/live/vmlinuz1
 append initrd=/multiboot/debian7/live/initrd1.img live-media-path=/multiboot/debian7/live boot=live config

label livefailsafe
 menu label Run Debain Live (failsafe)
 kernel /multiboot/debian7/live/vmlinuz1
 append initrd=/multiboot/debian7/live/initrd1.img live-media-path=/multiboot/debian7/live boot=live config noapic noapm nodma nomce nolapic nosmp vga=normal
 
label live-686
   menu label Run debian7 Live 686
   kernel /multiboot/debian7/live/vmlinuz2
   append initrd=/multiboot/debian7/live/initrd2.img live-media-path=/multiboot/debian7/live boot=live config

label live-686failsafe
   menu label Run debian7 Live 686 (failsafe)
   kernel /multiboot/debian7/live/vmlinuz2
   append initrd=/multiboot/debian7/live/initrd2.img live-media-path=/multiboot/debian7/live boot=live config noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal     
   
MENU SEPARATOR   
label <-- Back to Main Menu
 kernel vesamenu.c32
 append /multiboot/syslinux.cfg



I can only imagine I need to extract the contents of the ISO as some distros seems to need that, but I'm not sure how to set the boot options.

Please let me know if I need to post any of the other cfg files
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri Aug 02, 2013 7:44 pm    Post subject: Reply with quote

In menu.lst try adding "root (hd32)" and you can try to add iso at root of USB...

Code:
# Modify the following entry if it does not boot
title Boot SMS.Live.CD-2.0.5.iso
find --set-root --ignore-floppies --ignore-cd /multiboot/ISOS/SMS.Live.CD-2.0.5.iso
map --heads=0 --sectors-per-track=0 /multiboot/ISOS/SMS.Live.CD-2.0.5.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)


For syslinux extra content either at top directory or in a subdirectory like smslive and point at it
Code:
LABEL smslive
MENU LABEL SMS - Superb! Mini Server LiveCD 32bit
KERNEL vesamenu.c32
APPEND APPEND /boot/smslive/boot/isolinux.cfg

and edit /boot/smslive/boot/sms.cfg
Code:
LABEL sms
MENU LABEL Run SMS
KERNEL /boot/smslive/boot/vmlinuz
APPEND vga=791 initrd=/boot/smslive/boot/initrd.gz ramdisk_size=8888 root=/dev/ram0 rw from=/boot/smslive/


gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
djgizmo
Junior Member


Joined: 01 Aug 2013
Posts: 4

PostPosted: Fri Aug 02, 2013 10:26 pm    Post subject: Reply with quote

gerasimos_h wrote:
In menu.lst try adding "root (hd32)" and you can try to add iso at root of USB...

Code:
# Modify the following entry if it does not boot
title Boot SMS.Live.CD-2.0.5.iso
find --set-root --ignore-floppies --ignore-cd /multiboot/ISOS/SMS.Live.CD-2.0.5.iso
map --heads=0 --sectors-per-track=0 /multiboot/ISOS/SMS.Live.CD-2.0.5.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)



Tried this. Still get an error.

Errors at "looking for 'sms' data directory"
Then after the boot process can't find it kicks back an fatal error.

Quote:


For syslinux extra content either at top directory or in a subdirectory like smslive and point at it
Code:
LABEL smslive
MENU LABEL SMS - Superb! Mini Server LiveCD 32bit
KERNEL vesamenu.c32
APPEND APPEND /boot/smslive/boot/isolinux.cfg

and edit /boot/smslive/boot/sms.cfg
Code:
LABEL sms
MENU LABEL Run SMS
KERNEL /boot/smslive/boot/vmlinuz
APPEND vga=791 initrd=/boot/smslive/boot/initrd.gz ramdisk_size=8888 root=/dev/ram0 rw from=/boot/smslive/


gerasimos_h


Tried this ^^ as well, but I must have mistyped something. All it does is brings up a boot: prompt.

shouldn't "/boot/smslive/" be "/multiboot/smslive/" ?

Also, for the syslinux, should there be a double APPEND?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Aug 03, 2013 8:04 am    Post subject: Reply with quote

For grub try...
Code:
# Modify the following entry if it does not boot
title Boot SMS.Live.CD-2.0.5.iso
find --set-root --ignore-floppies --ignore-cd /multiboot/ISOS/SMS.Live.CD-2.0.5.iso
map  /multiboot/ISOS/SMS.Live.CD-2.0.5.iso (hd32) || map --mem  /multiboot/ISOS/SMS.Live.CD-2.0.5.iso (hd32)
map --hook
root (hd32)
kernel  /multiboot/ISOS/SMS.Live.CD-2.0.5.iso ramdisk_size=8888 root=/dev/ram0 rw
initrd /boot/initrd.gz


For syslinux you can edit paths /boot/smslive was an example, actually is what I'm using in SMS-AIO_DVD...

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
djgizmo
Junior Member


Joined: 01 Aug 2013
Posts: 4

PostPosted: Sat Aug 03, 2013 4:19 pm    Post subject: Reply with quote

Thank you. Ill try the grub option ASAP.

For the syslinux, so I can understand more about it and be more self sufficient, is there any reference material you can recommend?

I tried adjusting the paths like you mention, but obviously I'm missing something.
Would you mind looking at my updated cfg files when I post them later?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Installation Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional