Results 1 to 8 of 8

Thread: [GRUB 2] Mount iso to /dev/sda1 (or other)

  1. #1
    Join Date
    Mar 2008
    Beans
    19

    [GRUB 2] Mount iso to /dev/sda1 (or other) to boot KNOPPIX live cd iso

    I'm trying to make grub2 boot a bitdefender rescue cd (knoppix based). During the boot up it tries to find where the cd is mounted, but fails.

    here is my grub.cfg:
    Code:
    menuentry "Bitdefender Rescue CD" {
    
        set isofile="/boot/iso/bitdefender_rescue.iso"
    
        loopback loop $isofile
    
        set gfxpayload=1024x768x16,1024x768
    
        linux (loop)/boot/isolinux/linux ramdisk_size=131072 init=/etc/init lang=us apm=power-off nomce loglevel=0 quiet BOOT_IMAGE=KNOPPIX
    
        initrd (loop)/boot/isolinux/minirt.gz
    
    }
    I get a message that KNOPPIX filesystem cannot be found and it drops me to a limited shell.

    how would I change grub.cfg to mount the loopback to /dev/sda1? (or any directory for that matter)

    I'm also not sure about the "BOOT_IMAGE=KNOPPIX" part, but I'll fix that next.
    Last edited by BLuFeNiX; December 22nd, 2009 at 08:57 PM. Reason: more descriptive title

  2. #2
    Join Date
    Mar 2008
    Beans
    19

    Re: [GRUB 2] Mount iso to /dev/sda1 (or other)

    No grub experts?

  3. #3
    Join Date
    Aug 2007
    Beans
    38

    Re: [GRUB 2] Mount iso to /dev/sda1 (or other)

    Is there really a /boot/isolinux? I have only ever seen /isolinux.

  4. #4
    Join Date
    Aug 2007
    Beans
    38

    Re: [GRUB 2] Mount iso to /dev/sda1 (or other)

    Look in knoppix forums for kernel opts such as isoloop= isofrom= or iso-scan/filename=

    They are not standardized yet. The most powerful one is ubuntu iso-scan/filename= which you can read about here in usbdrive grub2 threads.

  5. #5
    Join Date
    Jun 2010
    Beans
    5

    Re: [GRUB 2] Mount iso to /dev/sda1 (or other)

    Just in case no-one has answered this question somewhere else (im too lazy to look) the entry that worked for me in grub2 was the following:

    menuentry "BitDefender" {
    loopback loop /bitdefender-rescue-cd.iso
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/bitdefender-rescue-cd.iso splash --
    initrd (loop)/casper/initrd.gz
    }

    kthnxbye

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

    Re: [GRUB 2] Mount iso to /dev/sda1 (or other)

    BLuFeNiX,

    I've created a thread on booting ISOs from Grub 2 but have no experience with BitDefender.

    If you will confirm Adderoll's menuentry I'd like to put ut in my thread as a known working solution. The thread is:
    ISO Booting with Grub 2

    @ adderoll,

    I notice the initrd is ".gz". Are you using the most current BitDefender ISO? I don't know, I just ask because the later Ubuntu ISOs are using initrd.lz instead of initrd.gz in /casper
    Back to Xorg...

    Retired.

  7. #7
    Join Date
    Feb 2011
    Beans
    7

    Re: [GRUB 2] Mount iso to /dev/sda1 (or other)

    Quote Originally Posted by drs305 View Post
    BLuFeNiX,

    I've created a thread on booting ISOs from Grub 2 but have no experience with BitDefender.

    If you will confirm Adderoll's menuentry I'd like to put ut in my thread as a known working solution. The thread is:
    ISO Booting with Grub 2

    @ adderoll,

    I notice the initrd is ".gz". Are you using the most current BitDefender ISO? I don't know, I just ask because the later Ubuntu ISOs are using initrd.lz instead of initrd.gz in /casper
    I can confirm that adderolls menuentry works. I have bitdefender loaded on a grub2 multiboot usb drive, and it will boot. The ISO image i used was current and it did use initrd.gz. I did rename the ISO and took out the splash part of adderolls menuentry, i also added the $isofile variable.

    The menuentry i used looks like this.

    Code:
       menuentry "BitDefender" {
    set isofile="/boot/ISO/bitdefender.iso"
    loopback loop (hd0,msdos1)$isofile
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile
    initrd (loop)/casper/initrd.gz
    }

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

    Re: [GRUB 2] Mount iso to /dev/sda1 (or other)

    Jack, thanks for adding this.
    Back to Xorg...

    Retired.

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
  •