Jump to content











Photo
- - - - -

SYSLinux or GRUB4DOS ?


  • Please log in to reply
9 replies to this topic

#1 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Canada

Posted 23 March 2011 - 09:24 AM

Dear one ,

I have a bootable Flash USB and i want to use a boot loader such as GRUB4DOS or SYSLinux for booting ISO files that i copied to it .
Which of them can load my ISO from USB ?
I think that GRUB4dos wih these menu.lst can do it but How Can syslinux do it ?

title SLITAZ 3
map --heads=0 --sectors-per-track=0 /slitaz.iso (0xFF)
map --hook
root (0xFF)
chainloader (0xFF)
boot

#2 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 23 March 2011 - 12:08 PM




LABEL slitaz

   MENU LABEL slitaz 3

   LINUX memdisk

   INITRD slitaz.iso

   APPEND iso





Read here for more....
http://syslinux.zyto...dex.php/MEMDISK

#3 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15183 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 23 March 2011 - 08:15 PM

Well, YES/NO.
That is about using MEMDISK (and MEMory).
That would be the same as using map --mem in grub4dos.
Thoigh there is a way:
http://reboot.pro/8258/
http://reboot.pro/8258/page__st__48

cannot say if it will work specifically :clap:

:cheers:
Wonko

#4 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Canada

Posted 23 March 2011 - 08:29 PM

:clap: Sorry , How can i bootable my 16 GB Flash Drive with syslinux ?

i use these command and copied my syslinux.cfg but when i booted from USB , The message og No Default UI was appear !!!

syslinux <flash drive letter>:

Edited by mbzadegan, 23 March 2011 - 08:30 PM.


#5 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 23 March 2011 - 09:25 PM

What is in your syslinux.cfg file?

#6 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Canada

Posted 23 March 2011 - 09:32 PM

What is in your syslinux.cfg file?


label slitaz
kernel /boot/bzImage
append initrd=/boot/rootfs.gz rw root=/dev/null vga=normal autologin

#7 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 23 March 2011 - 09:38 PM

label slitaz
kernel /boot/bzImage
append initrd=/boot/rootfs.gz rw root=/dev/null vga=normal autologin

Please read syslinux/doc/syslinux.txt and this.


DEFAULT slitaz

LABEL slitaz

  LINUX /boot/bzImage

  INITRD /boot/rootfs.gz

  APPEND rw root=/dev/null vga=normal autologin



#8 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Canada

Posted 23 March 2011 - 10:04 PM

Thanks ... The first line ( Default slitaz ) solved my problem . :clap:

Edited by mbzadegan, 23 March 2011 - 10:05 PM.


#9 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 23 March 2011 - 11:28 PM

Thanks

You're welcome, I'm sure.

... The first line ( Default slitaz ) solved my problem . :clap:

I don't think so. I think that reading the documentation and following the examples that people provide for you might help even more.

In your syslinux.cfg, you use the older syntax where you put the initrd on the append line. shamurshamur provided an example in post #2 that didn't use that older syntax, but you didn't mimic the example. :cheers:

#10 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Canada

Posted 24 March 2011 - 01:14 AM

ok , that's right
changing to new syntax form of APPEND must be done .
How can i customise syslinux to multiboot ?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users