Page 13 of 29 FirstFirst ... 3111213141523 ... LastLast
Results 121 to 130 of 290

Thread: ISO Booting with Grub 2

  1. #121
    Join Date
    Dec 2010
    Beans
    43
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ISO Booting with Grub 2

    Quote Originally Posted by drs305 View Post
    Quote Originally Posted by c.cobb
    For Debian-based distros that are not able to boot from ISO, maybe using the remasterscript to rebuild the ISO is a workaround.
    That's an interesting thought. I just used remastersys a week or so ago just to try it out but it hadn't occurred to me to use it in this manner.
    After thinking about this, and searching some more, this may be bad advice. Remastersys is used on an installed system, and the install process eliminates pieces not appropriate for the installed hardware. This is causing some problems already in the custom Ubuntu build I'm working on.

    Then thought maybe, for distros that won't boot from ISO, just use this "ISO editing" process to insert lupin-casper. Then I found this thread with a response that indicates lupin-casper is specific to remastersys, and not ISO booting in general.

    Another response in that thread mentions using the loopback.cfg file and, interestingly, has a pointer to the SuperGrubDisk Wiki loopback.cfg page. Unfortunately I didn't find any information in the SGD Wiki that answers Quacker's question, but maybe it's this config file that's missing, and using the ISO edit process to insert a loopback.cfg file is what's necessary for those non-booting distros. Just some food for thought.

    I'm definitely going to try editing the ISO as an alternative to remastersys.
    The difference between theory and reality is that, in theory, there should be no difference but, in reality, there always is.

  2. #122
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: ISO Booting with Grub 2

    Here's my entry for SliTaz 3 (iso name edited for simplicity)

    Code:
    menuentry "slitaz" {
    	set isofile="/boot/iso/slitaz.iso"
    	loopback loop (hd0,6)$isofile
    	linux (loop)/boot/bzImage isofrom=$isofile boot=live quiet vga=792 noeject noprompt
    	initrd (loop)/boot/rootfs.gz
    }
    You can edit the vga=792 accordingly for your system.

    SliTaz is a bit broken for me at the moment - no keyboard for en/uk and no sound for ACL662
    No longer participating......

  3. #123
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: ISO Booting with Grub 2

    A bit different from most of our entries.

    Thanks Jose.
    GRUB2

    Retired.

  4. #124
    Join Date
    Aug 2008
    Location
    South East Montana
    Beans
    6,153

    Re: ISO Booting with Grub 2

    Quote Originally Posted by drs305 View Post
    A bit different from most of our entries.

    Thanks Jose.
    Yes indeed.

    I have a file of interesting entries. This one went right in there.

    Thanks a bunch.
    Dell 480 XPS 3G ram Quad Core 2.40GHz, Radeon HD 2400 PRO, Audigy1, 3x320G HDD, 320G External, Debian Testing for use, Debian Squeeze for secure use, Debian Sid for FUN

  5. #125
    Join Date
    Apr 2005
    Beans
    20

    Re: ISO Booting with Grub 2

    Quote Originally Posted by Quackers View Post
    Has anyone got SuperGrubdisk2 to boot from grub? Is that possible?
    Yes, GRUB2 and memdisk (from Syslinux Project).

    Sorry, for my bad English .



    -Super Grub2 Disk (Example: memdisk iso):

    1.- Search command "memdisk":

    Code:
    $ locate memdisk
    ...
    /usr/lib/syslinux/memdisk
    ...
    2.- Download super_grub_disk_hybrid-1.98s1.iso to "/boot/iso/".

    3.-

    Code:
    #-------------------------------------
    menuentry "Super GRUB2 Disk v1.98s1" {
    #-------------------------------------
    
       linux16 /usr/lib/syslinux/memdisk iso bigraw
       initrd16 /boot/iso/super_grub_disk_hybrid-1.98s1.iso
    
    }


    -Super Grub Disk (Example: memdisk floppy) :

    1.-Download super_grub_disk_english_floppy_0.9799.img to "/boot/iso/".

    2.-

    Code:
    #------------------------------------
    menuentry "Super GRUB Disk v0.9799" {
    #------------------------------------
    
       linux16 /usr/lib/syslinux/memdisk floppy
       initrd16 /boot/iso/super_grub_disk_english_floppy_0.9799.img
    
    }


    -SBM Smart Boot Manager:

    -INFO Smart Boot Manager

    -Download SBM Smart Boot Manager (sbm.bin) to "/boot/iso/"

    or

    -extract "/install/sbm.bin" from Ubuntu ISO (Only for arch=i386) to "/boot/iso".

    Code:
    #---------------------------------------------
    menuentry "SBM - Smart Boot Manager (v7.3.1)" {
    #---------------------------------------------
    
      linux16 /usr/lib/syslinux/memdisk floppy
      initrd16 /boot/iso/sbm.img
    
    }

    Edit:



    -SBM - Smart Boot Manager from Ubuntu ISO (only arch=i386):


    Code:
    #-----------------------------------------------------------------------------
    menuentry "UBUNTU 11.04 - Natty Narwhal (32bits) - SBM - Smart Boot Manager" {
    #-----------------------------------------------------------------------------
    
            loopback loop /boot/iso/ubuntu-11.04-desktop-i386.iso
            linux16 (hd0,1)/usr/lib/syslinux/memdisk floppy
    	initrd16 (loop)/install/sbm.bin
    
    }


    Edit: 15 May 2011 - 23:12h (Spain) :


    -Plop Boot Manager:

    Another Boot Manager: Plop Boot Manager configuration for Grub2.

    Code:
    #--------------------------------------
    menuentry "Plop Boot Manager v5.0.12" {
    #--------------------------------------
    
        set root=(hd0,1)
        linux16 /boot/iso/plpbt.bin
    
    }



    Salu2.
    Last edited by Bomper; May 15th, 2011 at 10:20 PM.

  6. #126
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: ISO Booting with Grub 2

    Thank you Bomper!

    Added: I am not getting it to work yet. Still trying.
    Last edited by drs305; May 16th, 2011 at 12:36 PM.
    GRUB2

    Retired.

  7. #127
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,208
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: ISO Booting with Grub 2

    Thanks indeed! I'm trying it now
    MacBook Pro 10,1 retina

  8. #128
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,208
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: ISO Booting with Grub 2

    Hmm I'm getting syntax errors in grub.cfg when I update-grub.
    I'll play with it
    MacBook Pro 10,1 retina

  9. #129
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: ISO Booting with Grub 2

    Thought I would have a go at booting my custom iso created with remastersays. It's based on 10.04 LTS so I used the standard Lucid stanza to see what happened. My isos are on /dev/sda6.

    menuentry "custom" {
    set isofile=/boot/iso/custom.iso
    loopback loop (hd0,6)$isofile
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
    Linux (loop)/casper/initrd.gz
    }
    It boots and I get the first stream of white text flying by, then the graphics kick in and improves the resolution of the white text. Then I get the error, it reoccurs and repeats and boot will go no further. If I press the ESC or Break key the plymouth splash comes up, but this only halts the error reporting until I press the key again
    Code:
    stdin: error:0
    init: line 3: can't open /dev/sdb no medium found
    init: line 3: can't open /dev/sr0 no medium found
    init: line 3  can't open /dev/sdb no medium found
    init: line 3: can't open /dev/sr0 no medium found
    
    stdin: error:0
    init: line 3: can't open /dev/sdb no medium found
    init: line 3: can't open /dev/sr0 no medium found
    init: line 3  can't open /dev/sdb no medium found
    init: line 3: can't open /dev/sr0 no medium found
    and so on.

    Just before this error appears, it shows the device details for my DVD drive, and I don't have an /sdb device (single HDD PC)

    Are there any kernel options I can throw at this to get it boot?

    Have tried "file=/cdrom/preseed/custom.seed" makes no difference, "boot=live" crashes boot, "isofrom=$isofile" no difference. "quiet splash" just hangs on plymouth screen.

    All suggestions welcomed and will be tried out.
    Last edited by Jose Catre-Vandis; May 16th, 2011 at 09:21 AM.
    No longer participating......

  10. #130
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,208
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: ISO Booting with Grub 2

    Is your system one of those which labels a usb flash drive as /dev/sda rather than /dev/sdb when one is plugged in?
    If so, was a USB flash drive plugged in when you made your custom iso?
    MacBook Pro 10,1 retina

Page 13 of 29 FirstFirst ... 3111213141523 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •