Ok, thank you for answer. I've got two other questions now about grub: 1. I tried to do like in the syslinux tutorial for memdisk in grub2. I wrote in grub console linux16 /memdisk iso initrd16 /iso/memtest86+-5.01.iso
But nothing happend. It doesn't write any error, it simply break line and show inviting input into the console. What i made wrong? How can I make it to working. 2. Have Grub2 got the same functional? 2015-11-02 16:09 GMT+03:00 Andrei Borzenkov <[email protected]>: > On Mon, Nov 2, 2015 at 3:35 PM, Дмитрий Чепуровский <[email protected]> wrote: >> Ok, I read that it could be done by using syslinux memdisk with grub. >> >> In this case, I found I need to call linux16 memdisk and initrd16 to launch >> iso. >> >> 1. Does it works? > > Why you ask us and not syslinux folks? It's their software after all - > GRUB is just a messenger here :) > > http://www.syslinux.org/wiki/index.php/MEMDISK#GRUB2 > >> 2. Where could I found syslinux memdisk? >> > > The same site (surprise) also has Download link ... > >> 2015-11-02 15:25 GMT+03:00 Andrei Borzenkov <[email protected]>: >>> On Mon, Nov 2, 2015 at 3:05 PM, Дмитрий Чепуровский <[email protected]> >>> wrote: >>>> I'm making usb multiusb pendrive. >>>> >>>> 1. I want to understand what is memdisk.mod, how could I use it. >>> >>> I already answered this. >>> >>>> 2. I want to boot iso (bootloader thart in iso file) from grub2 >>>> >>> >>> GRUB does not support parsing El Torito boot catalog and accessing >>> boot image ... at least to my knowledge. So sorry, this is probably >>> not possible right now. >>> >>> Besides the problem is not as much reading CD boot block as emulating >>> "real" CD for the code that would be launched. I do not say it is not >>> possible, but so far nobody implemented this in GRUB. >>> >>>> 2015-11-02 14:44 GMT+03:00 Andrei Borzenkov <[email protected]>: >>>>> On Mon, Nov 2, 2015 at 2:25 PM, Дмитрий Чепуровский <[email protected]> >>>>> wrote: >>>>>> I'm trying to boot iso file. I want to boot ubuntu 15.10 iso & Windows >>>>>> 10 Install iso. I found in google, that it could be made in grub2 >>>>>> using memdisk. >>>>>> >>>>> >>>>> You are confused. memdisk in grub2 is not used to boot anything. It is >>>>> still not clear what you are trying to do: >>>>> >>>>> - you try to pretend that system was booted from CD or DVD with >>>>> content of this image >>>>> >>>>> - or - >>>>> >>>>> - you try to boot using some file inside this image >>>>> >>>>>> For test I'm trying to boot with memtest ubuntu-15.10-desktop-amd64.iso. >>>>>> >>>>>> cfg test menuentery: >>>>>> menuentry "Test1" { >>>>>> insmod memdisk >>>>>> initrd /iso/ubuntu-15.10-desktop-amd64.iso >>>>>> } >>>>>> >>>>>> When I tied to run this I got alloc magic is broken at 0xc7ed5060: >>>>>> c7e5c980 >>>>>> >>>>> >>>>> This makes me believe you want to pretend you are booted from DVD ... >>>>> >>>>>> What I'm doing wrong. How can I do this? >>>>>> >>>>> >>>>> It is still not quite clear what you want to do; could you explain in >>>>> more words? _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
