Choose style:

Author Topic: Boot from Iso file(SOLVED)  (Read 916 times)

0 Members and 1 Guest are viewing this topic.

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 964
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Boot from Iso file(SOLVED)
« on: August 23, 2018, 07:25:16 pm »
Hello peppermint people. Because of the problems some of the posters are having booting from a usb stick, I thought I would try my hand at booting from the iso file. I'm definitely doing something wrong because when I run update-grub after creating the grub.d/40_custom file, I get an error message, syntax I think it was. Anyway, according to the guys at How-To-Geek, the grub.d/40_custom file should look something like this;

Code: [Select]
menuentry “Ubuntu 14.04 ISO” {
set isofile=”/home/name/Downloads/ubuntu-14.04.1-desktop-amd64.iso”
loopback loop (hd0,1)$isofile
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=${isofile} quiet splash
initrd (loop)/casper/initrd.lz
}

Obviously, this is to boot ubuntu 14.04.1

What should this file look like for Peppermint 9? They mention if you have a separate /home folder, then drop the /home in the set isofile= line.
Also, since I have a DATA partition in sda3, how should that look?

I was actually trying to boot Zorin and my grub.d/40_custom file looked like this;

Code: [Select]
menuentry "Zorin 12.1 ISO" {
set isofile="/home/albert/Downloads/Zorin-OS-12.1-Core-64.iso"
loopback loop (hdo,3)$isofile
linux (loop)/casper/vmlinuz.legacy boot=casper iso-scan/filename=${Zorin-OS-12.1-Core-64.iso} quiet splash
initrd (loop)/casper/initrd.lz
}
That was first attempt, second time I removed the /home from the set isofile= line. Another thing,  my quotation marks are not back angled like they are in the example, does that matter? I hope somebody is willing to take this on with me.  :)
« Last Edit: August 24, 2018, 11:27:27 am by alynur »
What was I thinking?

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24807
  • Karma: 2733
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Boot from Iso file
« Reply #1 on: August 23, 2018, 08:22:51 pm »
Okay, I suspect you have 4 issues in your /etc/grub.d/40_custom boot stanza:-

a) The Zorin-12.1-Core-64.iso doesn't contain a kernel executable at
/casper/vmlinuz.legacy
it's at
/casper/vmlinuz

b) The loop device (hdo,3) contains a "o" where there should be a "0"

BUT...

c) I'm not convinced that loop device is right anyway .. I'd expect it to be more like (hd0,msdos3) or (hd0,gtp3) .. depending on whether you have an msdos style partition table or a GPT one.

d) The iso-scan/filename section:-
iso-scan/filename=${Zorin-OS-12.1-Core-64.iso}
should read
iso-scan/filename=${isofile}
or
iso-scan/filename=/home/albert/Downloads/Zorin-OS-12.1-Core-64.iso
either should work because they effectively say the same thing because /home/albert/Downloads/Zorin-OS-12.1-Core-64.iso was already defined/set as the "isofile" variable .. but your entry is telling it to read a variable called Zorin-OS-12.1-Core-64.iso which has not already been defined/set.



Can you post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
and the contents of
Code: [Select]
xed /boot/grub/grub.cfg
« Last Edit: August 23, 2018, 08:51:58 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 964
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file
« Reply #2 on: August 23, 2018, 10:05:35 pm »
Hi PCNetSpec, thanks for jumping in. I made a few changes as you had suggested and this is the latest grub.d/40_custom file;

Code: [Select]
menuentry "Zorin 12.1 ISO" {
set isofile="/home/albert/Downloads/Zorin-OS-12.1-Core-64.iso"
loopback loop (hd0,msdos3)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} noprompt noeject quiet splash
initrd (loop)/casper/initrd.lz
}

Now when I try to boot it, I get 3 errors:1st /home/albert/Downloads/Zorin-OS-12.1-Core-64.iso file not found,
2nd loop not found and 3rd you must load the kernel first.

Here are the outputs

Code: [Select]
albert@albert-desktop ~ $ sudo fdisk -l
[sudo] password for albert:
Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xe0a222e4

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048  40966143  40964096  19,5G 83 Linux
/dev/sda2        40966144 166924287 125958144  60,1G 83 Linux
/dev/sda3       166926336 638951423 472025088 225,1G 83 Linux
/dev/sda4       638953470 976773119 337819650 161,1G  5 Extended
/dev/sda5       959881216 976773119  16891904   8,1G 82 Linux swap / Solaris
/dev/sda6       638953472 703781596  64828125  30,9G 83 Linux
/dev/sda7       703782912 767808302  64025391  30,5G 83 Linux
/dev/sda8       767809536 850401332  82591797  39,4G 83 Linux
/dev/sda9       850403328 904706062  54302735  25,9G 83 Linux
/dev/sda10      904708096 959881215  55173120  26,3G 83 Linux

Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.

Code: [Select]
albert@albert-desktop ~ $ sudo blkid
/dev/sda1: UUID="aa872074-bb71-4e2c-9493-2769d72c1ff7" TYPE="ext4" PARTUUID="e0a222e4-01"
/dev/sda2: UUID="47bea197-a545-4218-92e1-62a6f0bc3961" TYPE="ext4" PARTUUID="e0a222e4-02"
/dev/sda3: UUID="585c3e2f-c6be-4802-885d-eead48242766" TYPE="ext4" PARTUUID="e0a222e4-03"
/dev/sda5: UUID="8480d5c8-3e88-4c90-ae0f-0cd5ed7d040b" TYPE="swap" PARTUUID="e0a222e4-05"
/dev/sda6: UUID="d582249b-cb1f-47f7-82be-491ea0c05b6f" TYPE="ext4" PTTYPE="dos" PARTUUID="e0a222e4-06"
/dev/sda7: UUID="f49d6f3c-7cdd-47d7-a979-750621879aa8" TYPE="ext4" PTTYPE="dos" PARTUUID="e0a222e4-07"
/dev/sda8: UUID="2a47351f-fa68-49f3-9def-2125e429b873" TYPE="ext4" PTTYPE="dos" PARTUUID="e0a222e4-08"
/dev/sda9: UUID="76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc" TYPE="ext4" PTTYPE="dos" PARTUUID="e0a222e4-09"
/dev/sda10: UUID="1e77ee2f-f9c9-412a-b2d4-18d314a96a08" TYPE="ext4" PTTYPE="dos" PARTUUID="e0a222e4-0a"

« Last Edit: August 23, 2018, 10:37:05 pm by alynur »
What was I thinking?

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 964
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file
« Reply #3 on: August 23, 2018, 10:09:00 pm »
I couldn't get the  /boot/grub/grub.cfg  output posted, too big.
What was I thinking?

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24807
  • Karma: 2733
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Boot from Iso file
« Reply #4 on: August 23, 2018, 10:18:49 pm »
gimme the first half then

and which of those many partitions is your /home partition ? (for the OS that contains the Zorin ISO)

or also gimme the output from
Code: [Select]
mount
and the contents of
Code: [Select]
xed /etc/fstab
« Last Edit: August 23, 2018, 10:26:58 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 964
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file
« Reply #5 on: August 23, 2018, 10:44:06 pm »
I tried changing the set isofile= to /mnt/DATA/Downloads/ and still got the file not found error.

gimme the first half then

and which of those many partitions is your /home partition ? (for the OS that contains the Zorin ISO)

or also gimme the output from
Code: [Select]
mount
and the contents of
Code: [Select]
xed /etc/fstab

Spoiler (click here to view / hide)
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
else
  search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=800x600
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=7
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=7
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
else
  search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
fi
insmod png
if background_image /boot/grub/grub-background.png; then
  true
else
  set menu_color_normal=light-gray/black
  set menu_color_highlight=white/red
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
   set gfxpayload="${1}"
   if [ "${1}" = "keep" ]; then
      set vt_handoff=vt.handoff=1
   else
      set vt_handoff=
   fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Peppermint GNU/Linux' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-aa872074-bb71-4e2c-9493-2769d72c1ff7' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
   else
     search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
   fi
        linux   /boot/vmlinuz-4.15.0-33-generic root=UUID=aa872074-bb71-4e2c-9493-2769d72c1ff7 ro  quiet splash $vt_handoff
   initrd   /boot/initrd.img-4.15.0-33-generic
}
submenu 'Advanced options for Peppermint GNU/Linux' $menuentry_id_option 'gnulinux-advanced-aa872074-bb71-4e2c-9493-2769d72c1ff7' {
   menuentry 'Peppermint GNU/Linux, with Linux 4.15.0-33-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-33-generic-advanced-aa872074-bb71-4e2c-9493-2769d72c1ff7' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
      else
        search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
      fi
      echo   'Loading Linux 4.15.0-33-generic ...'
           linux   /boot/vmlinuz-4.15.0-33-generic root=UUID=aa872074-bb71-4e2c-9493-2769d72c1ff7 ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.15.0-33-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.15.0-33-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-33-generic-recovery-aa872074-bb71-4e2c-9493-2769d72c1ff7' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
      else
        search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
      fi
      echo   'Loading Linux 4.15.0-33-generic ...'
           linux   /boot/vmlinuz-4.15.0-33-generic root=UUID=aa872074-bb71-4e2c-9493-2769d72c1ff7 ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.15.0-33-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.15.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-32-generic-advanced-aa872074-bb71-4e2c-9493-2769d72c1ff7' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
      else
        search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
      fi
      echo   'Loading Linux 4.15.0-32-generic ...'
           linux   /boot/vmlinuz-4.15.0-32-generic root=UUID=aa872074-bb71-4e2c-9493-2769d72c1ff7 ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.15.0-32-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.15.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-32-generic-recovery-aa872074-bb71-4e2c-9493-2769d72c1ff7' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
      else
        search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
      fi
      echo   'Loading Linux 4.15.0-32-generic ...'
           linux   /boot/vmlinuz-4.15.0-32-generic root=UUID=aa872074-bb71-4e2c-9493-2769d72c1ff7 ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.15.0-32-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.15.0-30-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-30-generic-advanced-aa872074-bb71-4e2c-9493-2769d72c1ff7' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
      else
        search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
      fi
      echo   'Loading Linux 4.15.0-30-generic ...'
           linux   /boot/vmlinuz-4.15.0-30-generic root=UUID=aa872074-bb71-4e2c-9493-2769d72c1ff7 ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.15.0-30-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.15.0-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-30-generic-recovery-aa872074-bb71-4e2c-9493-2769d72c1ff7' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
      else
        search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
      fi
      echo   'Loading Linux 4.15.0-30-generic ...'
           linux   /boot/vmlinuz-4.15.0-30-generic root=UUID=aa872074-bb71-4e2c-9493-2769d72c1ff7 ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.15.0-30-generic
   }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
   else
     search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
   fi
   knetbsd   /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aa872074-bb71-4e2c-9493-2769d72c1ff7
   else
     search --no-floppy --fs-uuid --set=root aa872074-bb71-4e2c-9493-2769d72c1ff7
   fi
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 18.04 LTS (18.04) (on /dev/sda10)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-1e77ee2f-f9c9-412a-b2d4-18d314a96a08' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos10'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10  1e77ee2f-f9c9-412a-b2d4-18d314a96a08
   else
     search --no-floppy --fs-uuid --set=root 1e77ee2f-f9c9-412a-b2d4-18d314a96a08
   fi
   linux /boot/vmlinuz-4.15.0-23-generic root=UUID=1e77ee2f-f9c9-412a-b2d4-18d314a96a08 ro quiet splash $vt_handoff
   initrd /boot/initrd.img-4.15.0-23-generic
}
submenu 'Advanced options for Ubuntu 18.04 LTS (18.04) (on /dev/sda10)' $menuentry_id_option 'osprober-gnulinux-advanced-1e77ee2f-f9c9-412a-b2d4-18d314a96a08' {
   menuentry 'Ubuntu (on /dev/sda10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-23-generic--1e77ee2f-f9c9-412a-b2d4-18d314a96a08' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos10'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10  1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      else
        search --no-floppy --fs-uuid --set=root 1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      fi
      linux /boot/vmlinuz-4.15.0-23-generic root=UUID=1e77ee2f-f9c9-412a-b2d4-18d314a96a08 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-23-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-23-generic (on /dev/sda10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-23-generic--1e77ee2f-f9c9-412a-b2d4-18d314a96a08' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos10'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10  1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      else
        search --no-floppy --fs-uuid --set=root 1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      fi
      linux /boot/vmlinuz-4.15.0-23-generic root=UUID=1e77ee2f-f9c9-412a-b2d4-18d314a96a08 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-23-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-23-generic (recovery mode) (on /dev/sda10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-23-generic-root=UUID=1e77ee2f-f9c9-412a-b2d4-18d314a96a08 ro recovery nomodeset-1e77ee2f-f9c9-412a-b2d4-18d314a96a08' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos10'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10  1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      else
        search --no-floppy --fs-uuid --set=root 1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      fi
      linux /boot/vmlinuz-4.15.0-23-generic root=UUID=1e77ee2f-f9c9-412a-b2d4-18d314a96a08 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-23-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-22-generic (on /dev/sda10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-22-generic--1e77ee2f-f9c9-412a-b2d4-18d314a96a08' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos10'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10  1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      else
        search --no-floppy --fs-uuid --set=root 1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      fi
      linux /boot/vmlinuz-4.15.0-22-generic root=UUID=1e77ee2f-f9c9-412a-b2d4-18d314a96a08 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-22-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-22-generic (recovery mode) (on /dev/sda10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-22-generic-root=UUID=1e77ee2f-f9c9-412a-b2d4-18d314a96a08 ro recovery nomodeset-1e77ee2f-f9c9-412a-b2d4-18d314a96a08' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos10'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10  1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      else
        search --no-floppy --fs-uuid --set=root 1e77ee2f-f9c9-412a-b2d4-18d314a96a08
      fi
      linux /boot/vmlinuz-4.15.0-22-generic root=UUID=1e77ee2f-f9c9-412a-b2d4-18d314a96a08 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-22-generic
   }
}

menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sda2)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-47bea197-a545-4218-92e1-62a6f0bc3961' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos2'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  47bea197-a545-4218-92e1-62a6f0bc3961
   else
     search --no-floppy --fs-uuid --set=root 47bea197-a545-4218-92e1-62a6f0bc3961
   fi
   linux /boot/vmlinuz-4.15.0-30-generic root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro quiet splash $vt_handoff
   initrd /boot/initrd.img-4.15.0-30-generic
}
submenu 'Advanced options for Ubuntu 16.04.5 LTS (16.04) (on /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-47bea197-a545-4218-92e1-62a6f0bc3961' {
   menuentry 'Ubuntu (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-30-generic--47bea197-a545-4218-92e1-62a6f0bc3961' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  47bea197-a545-4218-92e1-62a6f0bc3961
      else
        search --no-floppy --fs-uuid --set=root 47bea197-a545-4218-92e1-62a6f0bc3961
      fi
      linux /boot/vmlinuz-4.15.0-30-generic root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-30-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-30-generic (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-30-generic--47bea197-a545-4218-92e1-62a6f0bc3961' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  47bea197-a545-4218-92e1-62a6f0bc3961
      else
        search --no-floppy --fs-uuid --set=root 47bea197-a545-4218-92e1-62a6f0bc3961
      fi
      linux /boot/vmlinuz-4.15.0-30-generic root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-30-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-30-generic (recovery mode) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-30-generic-root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro recovery nomodeset-47bea197-a545-4218-92e1-62a6f0bc3961' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  47bea197-a545-4218-92e1-62a6f0bc3961
      else
        search --no-floppy --fs-uuid --set=root 47bea197-a545-4218-92e1-62a6f0bc3961
      fi
      linux /boot/vmlinuz-4.15.0-30-generic root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-30-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-29-generic (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic--47bea197-a545-4218-92e1-62a6f0bc3961' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  47bea197-a545-4218-92e1-62a6f0bc3961
      else
        search --no-floppy --fs-uuid --set=root 47bea197-a545-4218-92e1-62a6f0bc3961
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic-root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro recovery nomodeset-47bea197-a545-4218-92e1-62a6f0bc3961' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  47bea197-a545-4218-92e1-62a6f0bc3961
      else
        search --no-floppy --fs-uuid --set=root 47bea197-a545-4218-92e1-62a6f0bc3961
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Ubuntu, with Linux 4.13.0-43-generic (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-43-generic--47bea197-a545-4218-92e1-62a6f0bc3961' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  47bea197-a545-4218-92e1-62a6f0bc3961
      else
        search --no-floppy --fs-uuid --set=root 47bea197-a545-4218-92e1-62a6f0bc3961
      fi
      linux /boot/vmlinuz-4.13.0-43-generic root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.13.0-43-generic
   }
   menuentry 'Ubuntu, with Linux 4.13.0-43-generic (recovery mode) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-43-generic-root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro recovery nomodeset-47bea197-a545-4218-92e1-62a6f0bc3961' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  47bea197-a545-4218-92e1-62a6f0bc3961
      else
        search --no-floppy --fs-uuid --set=root 47bea197-a545-4218-92e1-62a6f0bc3961
      fi
      linux /boot/vmlinuz-4.13.0-43-generic root=UUID=47bea197-a545-4218-92e1-62a6f0bc3961 ro recovery nomodeset
      initrd /boot/initrd.img-4.13.0-43-generic
   }
}

menuentry 'Ubuntu 18.04.1 LTS (18.04) (on /dev/sda6)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-d582249b-cb1f-47f7-82be-491ea0c05b6f' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos6'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  d582249b-cb1f-47f7-82be-491ea0c05b6f
   else
     search --no-floppy --fs-uuid --set=root d582249b-cb1f-47f7-82be-491ea0c05b6f
   fi
   linux /boot/vmlinuz-4.15.0-32-generic root=UUID=d582249b-cb1f-47f7-82be-491ea0c05b6f ro quiet splash $vt_handoff
[close]

« Last Edit: August 23, 2018, 10:49:18 pm by alynur »
What was I thinking?

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 964
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file
« Reply #6 on: August 23, 2018, 10:45:03 pm »
Spoiler (click here to view / hide)
initrd /boot/initrd.img-4.15.0-32-generic
}
submenu 'Advanced options for Ubuntu 18.04.1 LTS (18.04) (on /dev/sda6)' $menuentry_id_option 'osprober-gnulinux-advanced-d582249b-cb1f-47f7-82be-491ea0c05b6f' {
   menuentry 'Ubuntu (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-32-generic--d582249b-cb1f-47f7-82be-491ea0c05b6f' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  d582249b-cb1f-47f7-82be-491ea0c05b6f
      else
        search --no-floppy --fs-uuid --set=root d582249b-cb1f-47f7-82be-491ea0c05b6f
      fi
      linux /boot/vmlinuz-4.15.0-32-generic root=UUID=d582249b-cb1f-47f7-82be-491ea0c05b6f ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-32-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-32-generic (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-32-generic--d582249b-cb1f-47f7-82be-491ea0c05b6f' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  d582249b-cb1f-47f7-82be-491ea0c05b6f
      else
        search --no-floppy --fs-uuid --set=root d582249b-cb1f-47f7-82be-491ea0c05b6f
      fi
      linux /boot/vmlinuz-4.15.0-32-generic root=UUID=d582249b-cb1f-47f7-82be-491ea0c05b6f ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-32-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-32-generic (recovery mode) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-32-generic-root=UUID=d582249b-cb1f-47f7-82be-491ea0c05b6f ro recovery nomodeset-d582249b-cb1f-47f7-82be-491ea0c05b6f' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  d582249b-cb1f-47f7-82be-491ea0c05b6f
      else
        search --no-floppy --fs-uuid --set=root d582249b-cb1f-47f7-82be-491ea0c05b6f
      fi
      linux /boot/vmlinuz-4.15.0-32-generic root=UUID=d582249b-cb1f-47f7-82be-491ea0c05b6f ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-32-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-30-generic (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-30-generic--d582249b-cb1f-47f7-82be-491ea0c05b6f' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  d582249b-cb1f-47f7-82be-491ea0c05b6f
      else
        search --no-floppy --fs-uuid --set=root d582249b-cb1f-47f7-82be-491ea0c05b6f
      fi
      linux /boot/vmlinuz-4.15.0-30-generic root=UUID=d582249b-cb1f-47f7-82be-491ea0c05b6f ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-30-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-30-generic (recovery mode) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-30-generic-root=UUID=d582249b-cb1f-47f7-82be-491ea0c05b6f ro recovery nomodeset-d582249b-cb1f-47f7-82be-491ea0c05b6f' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  d582249b-cb1f-47f7-82be-491ea0c05b6f
      else
        search --no-floppy --fs-uuid --set=root d582249b-cb1f-47f7-82be-491ea0c05b6f
      fi
      linux /boot/vmlinuz-4.15.0-30-generic root=UUID=d582249b-cb1f-47f7-82be-491ea0c05b6f ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-30-generic
   }
}

menuentry 'Ubuntu 18.04.1 LTS (18.04) (on /dev/sda7)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-f49d6f3c-7cdd-47d7-a979-750621879aa8' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos7'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  f49d6f3c-7cdd-47d7-a979-750621879aa8
   else
     search --no-floppy --fs-uuid --set=root f49d6f3c-7cdd-47d7-a979-750621879aa8
   fi
   linux /boot/vmlinuz-4.15.0-32-generic root=UUID=f49d6f3c-7cdd-47d7-a979-750621879aa8 ro quiet splash $vt_handoff
   initrd /boot/initrd.img-4.15.0-32-generic
}
submenu 'Advanced options for Ubuntu 18.04.1 LTS (18.04) (on /dev/sda7)' $menuentry_id_option 'osprober-gnulinux-advanced-f49d6f3c-7cdd-47d7-a979-750621879aa8' {
   menuentry 'Ubuntu (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-32-generic--f49d6f3c-7cdd-47d7-a979-750621879aa8' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos7'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  f49d6f3c-7cdd-47d7-a979-750621879aa8
      else
        search --no-floppy --fs-uuid --set=root f49d6f3c-7cdd-47d7-a979-750621879aa8
      fi
      linux /boot/vmlinuz-4.15.0-32-generic root=UUID=f49d6f3c-7cdd-47d7-a979-750621879aa8 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-32-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-32-generic (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-32-generic--f49d6f3c-7cdd-47d7-a979-750621879aa8' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos7'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  f49d6f3c-7cdd-47d7-a979-750621879aa8
      else
        search --no-floppy --fs-uuid --set=root f49d6f3c-7cdd-47d7-a979-750621879aa8
      fi
      linux /boot/vmlinuz-4.15.0-32-generic root=UUID=f49d6f3c-7cdd-47d7-a979-750621879aa8 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-32-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-32-generic (recovery mode) (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-32-generic-root=UUID=f49d6f3c-7cdd-47d7-a979-750621879aa8 ro recovery nomodeset-f49d6f3c-7cdd-47d7-a979-750621879aa8' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos7'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  f49d6f3c-7cdd-47d7-a979-750621879aa8
      else
        search --no-floppy --fs-uuid --set=root f49d6f3c-7cdd-47d7-a979-750621879aa8
      fi
      linux /boot/vmlinuz-4.15.0-32-generic root=UUID=f49d6f3c-7cdd-47d7-a979-750621879aa8 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-32-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-29-generic (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic--f49d6f3c-7cdd-47d7-a979-750621879aa8' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos7'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  f49d6f3c-7cdd-47d7-a979-750621879aa8
      else
        search --no-floppy --fs-uuid --set=root f49d6f3c-7cdd-47d7-a979-750621879aa8
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=f49d6f3c-7cdd-47d7-a979-750621879aa8 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode) (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic-root=UUID=f49d6f3c-7cdd-47d7-a979-750621879aa8 ro recovery nomodeset-f49d6f3c-7cdd-47d7-a979-750621879aa8' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos7'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  f49d6f3c-7cdd-47d7-a979-750621879aa8
      else
        search --no-floppy --fs-uuid --set=root f49d6f3c-7cdd-47d7-a979-750621879aa8
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=f49d6f3c-7cdd-47d7-a979-750621879aa8 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-29-generic
   }
}

menuentry 'Linux Mint 19 Tara (19) (on /dev/sda8)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-2a47351f-fa68-49f3-9def-2125e429b873' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos8'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
   else
     search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
   fi
   linux /boot/vmlinuz-4.15.0-29-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro quiet splash $vt_handoff
   initrd /boot/initrd.img-4.15.0-29-generic
}
submenu 'Advanced options for Linux Mint 19 Tara (19) (on /dev/sda8)' $menuentry_id_option 'osprober-gnulinux-advanced-2a47351f-fa68-49f3-9def-2125e429b873' {
   menuentry 'Linux Mint 19 Cinnamon (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic--2a47351f-fa68-49f3-9def-2125e429b873' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos8'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
      else
        search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Linux Mint 19 Cinnamon, with Linux 4.15.0-29-generic (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic--2a47351f-fa68-49f3-9def-2125e429b873' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos8'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
      else
        search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Linux Mint 19 Cinnamon, with Linux 4.15.0-29-generic (recovery mode) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic-root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro recovery nomodeset-2a47351f-fa68-49f3-9def-2125e429b873' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos8'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
      else
        search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Linux Mint 19 Cinnamon, with Linux 4.15.0-24-generic (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-24-generic--2a47351f-fa68-49f3-9def-2125e429b873' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos8'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
      else
        search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
      fi
      linux /boot/vmlinuz-4.15.0-24-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-24-generic
   }
   menuentry 'Linux Mint 19 Cinnamon, with Linux 4.15.0-24-generic (recovery mode) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-24-generic-root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro recovery nomodeset-2a47351f-fa68-49f3-9def-2125e429b873' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos8'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
      else
        search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
      fi
      linux /boot/vmlinuz-4.15.0-24-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-24-generic
   }
   menuentry 'Linux Mint 19 Cinnamon, with Linux 4.15.0-23-generic (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-23-generic--2a47351f-fa68-49f3-9def-2125e429b873' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos8'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
      else
        search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
      fi
      linux /boot/vmlinuz-4.15.0-23-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-23-generic
   }
   menuentry 'Linux Mint 19 Cinnamon, with Linux 4.15.0-23-generic (recovery mode) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-23-generic-root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro recovery nomodeset-2a47351f-fa68-49f3-9def-2125e429b873' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos8'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
      else
        search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
      fi
      linux /boot/vmlinuz-4.15.0-23-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-23-generic
   }
   menuentry 'Linux Mint 19 Cinnamon, with Linux 4.15.0-20-generic (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic--2a47351f-fa68-49f3-9def-2125e429b873' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos8'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
      else
        search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
      fi
      linux /boot/vmlinuz-4.15.0-20-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-20-generic
   }
   menuentry 'Linux Mint 19 Cinnamon, with Linux 4.15.0-20-generic (recovery mode) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic-root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro recovery nomodeset-2a47351f-fa68-49f3-9def-2125e429b873' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos8'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  2a47351f-fa68-49f3-9def-2125e429b873
      else
        search --no-floppy --fs-uuid --set=root 2a47351f-fa68-49f3-9def-2125e429b873
      fi
      linux /boot/vmlinuz-4.15.0-20-generic root=UUID=2a47351f-fa68-49f3-9def-2125e429b873 ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-20-generic
   }
}

menuentry 'Ubuntu 18.04 LTS (18.04) (on /dev/sda9)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos9'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
   else
     search --no-floppy --fs-uuid --set=root 76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
   fi
   linux /boot/vmlinuz-4.15.0-23-generic root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro quiet splash $vt_handoff
   initrd /boot/initrd.img-4.15.0-23-generic
}
submenu 'Advanced options for Ubuntu 18.04 LTS (18.04) (on /dev/sda9)' $menuentry_id_option 'osprober-gnulinux-advanced-76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc' {
   menuentry 'Ubuntu (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-23-generic--76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      else
        search --no-floppy --fs-uuid --set=root 76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      fi
      linux /boot/vmlinuz-4.15.0-23-generic root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-23-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-23-generic (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-23-generic--76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      else
        search --no-floppy --fs-uuid --set=root 76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      fi
      linux /boot/vmlinuz-4.15.0-23-generic root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-23-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-23-generic (recovery mode) (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-23-generic-root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro recovery nomodeset-76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      else
        search --no-floppy --fs-uuid --set=root 76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      fi
      linux /boot/vmlinuz-4.15.0-23-generic root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-23-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-22-generic (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-22-generic--76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      else
        search --no-floppy --fs-uuid --set=root 76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      fi
      linux /boot/vmlinuz-4.15.0-22-generic root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-22-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-22-generic (recovery mode) (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-22-generic-root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro recovery nomodeset-76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      else
        search --no-floppy --fs-uuid --set=root 76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      fi
      linux /boot/vmlinuz-4.15.0-22-generic root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-22-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-20-generic (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic--76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      else
        search --no-floppy --fs-uuid --set=root 76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      fi
      linux /boot/vmlinuz-4.15.0-20-generic root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-20-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-20-generic (recovery mode) (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic-root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro recovery nomodeset-76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      else
        search --no-floppy --fs-uuid --set=root 76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc
      fi
      linux /boot/vmlinuz-4.15.0-20-generic root=UUID=76c23a92-86e5-4fdf-8ba5-a3e1da6bbffc ro recovery nomodeset
      initrd /boot/initrd.img-4.15.0-20-generic
   }
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.


menuentry "Zorin 12.1 ISO" {
set isofile="/mnt/DATA/Downloads/Zorin-OS-12.1-Core-64.iso"
loopback loop (hd0,msdos3)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} noprompt noeject quiet splash
initrd (loop)/casper/initrd.lz
}
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
[close]
What was I thinking?

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 964
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file
« Reply #7 on: August 23, 2018, 10:47:34 pm »
mount

Spoiler (click here to view / hide)
albert@albert-desktop ~ $ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4020556k,nr_inodes=1005139,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=810456k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=24,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=3276)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/sda3 on /mnt/DATA type ext4 (rw,relatime,data=ordered)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=810452k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
[close]

Code: [Select]
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=aa872074-bb71-4e2c-9493-2769d72c1ff7 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=8480d5c8-3e88-4c90-ae0f-0cd5ed7d040b none            swap    sw              0       0
# User created DATA partition, mounted at /mnt/DATA
UUID=585c3e2f-c6be-4802-885d-eead48242766  /mnt/DATA  ext4
defaults,discard   0      2
What was I thinking?

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1913
  • Karma: 329
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Boot from Iso file
« Reply #8 on: August 24, 2018, 04:51:04 am »
Shouldn't it be hd0,1 or hd0,msdos1 ?

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24807
  • Karma: 2733
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Boot from Iso file
« Reply #9 on: August 24, 2018, 05:16:11 am »
I'm gonna guess Downloads is on the DATA partition

What's the output from:
Code: [Select]
ls -l ~/ | grep "\->"
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 964
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file
« Reply #10 on: August 24, 2018, 10:41:26 am »
I'm gonna guess Downloads is on the DATA partition

What's the output from:
Code: [Select]
ls -l ~/ | grep "\->"

That is correct, Downloads is on the DATA partition.


Code: [Select]
albert@albert-desktop ~ $ ls -l ~/ | grep "\->"
lrwxrwxrwx 1 albert albert   18 jun 19 21:27 3rdParty -> /mnt/DATA/3rdParty
lrwxrwxrwx 1 albert albert   19 jun 19 21:28 Documents -> /mnt/DATA/Documents
lrwxrwxrwx 1 albert albert   19 jun 19 21:29 Downloads -> /mnt/DATA/Downloads
lrwxrwxrwx 1 albert albert   17 jun 19 21:27 Dropbox -> /mnt/DATA/Dropbox
lrwxrwxrwx 1 albert albert   15 jun 19 21:29 Music -> /mnt/DATA/Music
lrwxrwxrwx 1 albert albert   18 jun 19 21:30 Pictures -> /mnt/DATA/Pictures
lrwxrwxrwx 1 albert albert   19 jun 19 21:30 Templates -> /mnt/DATA/Templates
lrwxrwxrwx 1 albert albert   16 jun 19 21:31 Videos -> /mnt/DATA/Videos



What was I thinking?

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24807
  • Karma: 2733
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Boot from Iso file
« Reply #11 on: August 24, 2018, 10:47:11 am »
Okay try making:
Code: [Select]
sudo xed /etc/grub.d/40_custom
read:-
Code: [Select]
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Zorin OS 12.1 Core-64 ISO" {
set isofile="/Downloads/Zorin-OS-12.1-Core-64.iso"
loopback loop (hd0,msdos3)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} quiet splash
initrd (loop)/casper/initrd.lz
]
SAVE the file and close the text editor

Now run:
Code: [Select]
sudo update-grub
and reboot to test.
« Last Edit: August 24, 2018, 11:02:22 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 964
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file
« Reply #12 on: August 24, 2018, 11:25:47 am »
Okay try making:
Code: [Select]
sudo xed /etc/grub.d/40_custom
read:-
Code: [Select]
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Zorin OS 12.1 Core-64 ISO" {
set isofile="/Downloads/Zorin-OS-12.1-Core-64.iso"
loopback loop (hd0,msdos3)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} quiet splash
initrd (loop)/casper/initrd.lz
]
SAVE the file and close the text editor

Now run:
Code: [Select]
sudo update-grub
and reboot to test.

THAT WORKED! I'm in Zorin right now.
I don't understand why the /DATA wasn't needed in the set isofile= line but so be it. Now we have a starting point to direct those who are having problems booting Peppermint from a usb stick, of course they would have to use the format as mentioned in the beginning.  Thanks PCNetSpec, I love it when I can get something different to work.  :)
What was I thinking?

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1913
  • Karma: 329
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Boot from Iso file(SOLVED)
« Reply #13 on: August 24, 2018, 11:44:25 am »
/mnt/DATA is a mount point in your Peppermint install, it's not part of the path on the DATA partition.

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 964
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file(SOLVED)
« Reply #14 on: August 24, 2018, 12:12:39 pm »
/mnt/DATA is a mount point in your Peppermint install, it's not part of the path on the DATA partition.


Thanks murraymint, that makes sense. I can see that this method of mounting the iso file will work to check out a distribution's live version, but one will not be able to install from here. I can't get passed the /isofile mount in the hard drive being mounted, the installer fails, freezes at the notice that it can't continue. So now I'm at a loss as to how to help those that can't boot a usb stick.
What was I thinking?