← Back to team overview

torios-dev team mailing list archive

Re: Testing Live: RE: The latest ISO

 

Den 2016-04-30 kl. 09:05, skrev Cinque Port Computers:
Hi Israel,

Latest zsync Live Session, the obi-installer option 'h' , when clicked,
  does nothing other than redisplay the Starter menu window.

Cheers,
JackT.



 > To: torios-dev@xxxxxxxxxxxxxxxxxxx
 > From: israeldahl@xxxxxxxxx
 > Date: Fri, 29 Apr 2016 20:50:17 -0500
 > Subject: [Torios-dev] The latest ISO
 >
 > Hi I rebuilt and uploaded the newest ISO with an updated base and the
 > most recent OBI
 >
 > I hope this is good enough for release, that would be great news!
 >
 > --
 > Regards
 >
 >
 > --
 > Mailing list: https://launchpad.net/~torios-dev
 > Post to : torios-dev@xxxxxxxxxxxxxxxxxxx
 > Unsubscribe : https://launchpad.net/~torios-dev
 > More help : https://help.launchpad.net/ListHelp

Hi Israel and Jack,

1. I can confirm that 'Help to select drive' does not work.

2. I think you are managing the wallpaper bug well (without me).

3. I installed with no swap. See the attached log file and grub.cfg (of the installed system).

3a. This time the previous operating systems were not found (the successful instance, there was only one previous operating system, now there are more of them (I added a new partition and kept the other ones) - but I started from a now iso, so other things have changed too.

3b. Swap was commented away in /etc/fstab, which is correct.

4. I noticed that the target partition is mounted after quit from the OBI-installer. It is still mounted to /mnt. I suggest that you unmount /mnt when you quit, or even earlier, for example when the install process has finished. (Unmounting implies syncing.)

Best regards
Nio

[starter]
 

[functions]
 
Tarball path: /tarballs
zmktbl to make the tarballs
OBI path: /usr/share/OBI

[functions]
 
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie

[functions]
 
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie

[functions]
 
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie

[functions]
 

[functions]
 Found pid for Zenity in obi: 5248

[position_win]
 Found 0x01200004 for the window to position

[mkctrl]
 mkctrl()--->obi_system=ToriOS-i386-jessie
tarball=
rootpart=
swappart=


[mkctrl]
 [mkctrl]Selected:/usr/share/OBI/selected
OBI directory:/usr/share/OBI
Tarball path:/tarballs

[mkpxpy]
 Selected Tarball: /tarballs/ToriOS-i386-jessie.tar.xz
selecting mkpxpy (with swap)

[confirm-partition]
 mkctrl()--->obi_system=ToriOS-i386-jessie
tarball=/tarballs/ToriOS-i386-jessie.tar.xz
rootpart=
swappart=


[confirm-partition]
 [mkctrl]Selected:/usr/share/OBI/selected
OBI directory:/usr/share/OBI
Tarball path:/tarballs

[partition-help]
 RAM  size:4096 MibiBytes

[partition-help]
 SWAP size:4838 MibiBytes

[partition-help]
 root: /dev/sda7

[confirm-partition]
 /dev/sda7 was not mounted

[confirm-partition]
 g

[confirm-partition]
 Installing ToriOS-i386-jessie  /dev/sda7
with no swap partition

[confirm-partition]
 [confirm-partition]mklub ToriOS-i386-jessie /tarballs/ToriOS-i386-jessie.tar.xz /dev/sda7 

[mkp]
 ToriOS-i386-jessie
/tarballs/ToriOS-i386-jessie.tar.xz


[mkp]
 Found pid for Zenity in mkp: 5248

[position_win]
 Found 0x01200004 for the window to position

[mkp]
 /tarballs/ToriOS-i386-jessie.tar.xz (the tarball) is expanded, syncing the drive

[mkp]
 1 ext partitions: 

[mkp]
 Commenting out UUID=e57e2b2d-324c-4813-b430-485f0996b6f1 none            swap    sw              0       0

[mkp]
 rootpart=/dev/sda7

[mkp]
 rootpart=/dev/sda7
OLD root UUID=4814aa30-0338-4f82-b393-d0685a797570
NEW root UUID=a33f95c4-137d-4ad5-bed6-a38d62da447e

[mkp]
 installed /etc/fstab:

# /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).
#
#                
# / was on /dev/sdd1 during installation
UUID=a33f95c4-137d-4ad5-bed6-a38d62da447e /               ext4    errors=remount-ro 0       1
## swap was on /dev/sdd5 during installation
#UUID=e57e2b2d-324c-4813-b430-485f0996b6f1 none            swap    sw              0       0

[mkp]
 grub config file:/mnt/boot/grub/grub.cfg
#
# 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 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-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a33f95c4-137d-4ad5-bed6-a38d62da447e
else
  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  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-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a33f95c4-137d-4ad5-bed6-a38d62da447e
else
  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
fi
insmod png
if background_image /boot/grub/torios-grub.png; then
  true
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'ToriOS GNU/Linux' --class torios --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a33f95c4-137d-4ad5-bed6-a38d62da447e' {
	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-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a33f95c4-137d-4ad5-bed6-a38d62da447e
	else
	  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
	fi
	echo	'Loading Linux 3.16.0-4-586 ...'
	linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=a33f95c4-137d-4ad5-bed6-a38d62da447e ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.16.0-4-586
}
submenu 'Advanced options for ToriOS GNU/Linux' $menuentry_id_option 'gnulinux-advanced-a33f95c4-137d-4ad5-bed6-a38d62da447e' {
	menuentry 'ToriOS GNU/Linux, with Linux 3.16.0-4-586' --class torios --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-advanced-a33f95c4-137d-4ad5-bed6-a38d62da447e' {
		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-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a33f95c4-137d-4ad5-bed6-a38d62da447e
		else
		  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=a33f95c4-137d-4ad5-bed6-a38d62da447e ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-586
	}
	menuentry 'ToriOS GNU/Linux, with Linux 3.16.0-4-586 (recovery mode)' --class torios --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-recovery-a33f95c4-137d-4ad5-bed6-a38d62da447e' {
		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-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a33f95c4-137d-4ad5-bed6-a38d62da447e
		else
		  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=a33f95c4-137d-4ad5-bed6-a38d62da447e ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-586
	}
}

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

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Debian GNU/Linux (8.4) (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-6cced545-1eec-42b1-8426-73780c658160' {
	insmod part_msdos
	insmod ext2
	set root='hd2,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@1,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  6cced545-1eec-42b1-8426-73780c658160
	else
	  search --no-floppy --fs-uuid --set=root 6cced545-1eec-42b1-8426-73780c658160
	fi
	linux /boot/vmlinuz-3.16.0-4-586 root=UUID=6cced545-1eec-42b1-8426-73780c658160 ro quiet splash
	initrd /boot/initrd.img-3.16.0-4-586
}
submenu 'Advanced options for Debian GNU/Linux (8.4) (on /dev/sdc1)' $menuentry_id_option 'osprober-gnulinux-advanced-6cced545-1eec-42b1-8426-73780c658160' {
	menuentry 'ToriOS GNU/Linux (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-4-586--6cced545-1eec-42b1-8426-73780c658160' {
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@1,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  6cced545-1eec-42b1-8426-73780c658160
		else
		  search --no-floppy --fs-uuid --set=root 6cced545-1eec-42b1-8426-73780c658160
		fi
		linux /boot/vmlinuz-3.16.0-4-586 root=UUID=6cced545-1eec-42b1-8426-73780c658160 ro quiet splash
		initrd /boot/initrd.img-3.16.0-4-586
	}
	menuentry 'ToriOS GNU/Linux, with Linux 3.16.0-4-586 (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-4-586--6cced545-1eec-42b1-8426-73780c658160' {
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@1,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  6cced545-1eec-42b1-8426-73780c658160
		else
		  search --no-floppy --fs-uuid --set=root 6cced545-1eec-42b1-8426-73780c658160
		fi
		linux /boot/vmlinuz-3.16.0-4-586 root=UUID=6cced545-1eec-42b1-8426-73780c658160 ro quiet splash
		initrd /boot/initrd.img-3.16.0-4-586
	}
	menuentry 'ToriOS GNU/Linux, with Linux 3.16.0-4-586 (recovery mode) (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-4-586-root=UUID=6cced545-1eec-42b1-8426-73780c658160 ro single-6cced545-1eec-42b1-8426-73780c658160' {
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@1,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  6cced545-1eec-42b1-8426-73780c658160
		else
		  search --no-floppy --fs-uuid --set=root 6cced545-1eec-42b1-8426-73780c658160
		fi
		linux /boot/vmlinuz-3.16.0-4-586 root=UUID=6cced545-1eec-42b1-8426-73780c658160 ro single
		initrd /boot/initrd.img-3.16.0-4-586
	}
}

### 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.
### 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 ###

[mkp]
 

[user-config]
 Removed tarball user named: torios

[user-config]
 Removing /mnt/home/torios

[user-config]
 Added test-no-swap

[user-config]
 the password entries match, go ahead ...

set password for test-no-swap

test-no-swap
Groups: audio,cdrom,plugdev,users,adm,video,dip,floppy,sudo,netdev

[user-config]
 No autologin for: test-no-swap.

[user-config]
 Updating: xdg-dirs

[user-config]
 copied menumethod-lister

[position_win]
 Found 0x01200004 for the window to position

[user-config]
 removed menumethod-lister

[user-config]
 copied /etc/skel

[user-config]
 chown recursivley /home/test-no-swap for test-no-swap

[user-config]
 changed gksu to sudo mode for test-no-swap

[user-config]
 Computer supports PAE

[user-config]
 No install PAE chosen.

[mkp]
 Installing Bootloader

[functions]
 

[list_drives]
 DRIVE: Name: ata-ST320LT007-9ZV142  Dev: /dev/sda  Size: 320GB

[list_drives]
 DRIVE: Name: usb-Kanguru_FlashBlu   Dev: /dev/sdb  Size: 8011MB

[list_drives]
 DRIVE: Name: ata-ST320LT007-9ZV142  Dev: /dev/sda  Size: 320GB

[list_drives]
 DRIVE: Name: usb-Kanguru_FlashBlu   Dev: /dev/sdb  Size: 8011MB

[list_drives]
 DRIVE: Name: ata-ST320LT007-9ZV142  Dev: /dev/sda  Size: 320GB

[list_drives]
 DRIVE: Name: usb-Kanguru_FlashBlu   Dev: /dev/sdb  Size: 8011MB

[list_drives]
 DRIVE: Name: ata-ST320LT007-9ZV142  Dev: /dev/sda  Size: 320GB

[list_drives]
 DRIVE: Name: usb-Kanguru_FlashBlu   Dev: /dev/sdb  Size: 8011MB

[functions]
 Destination: /dev/sda

[functions]
 Bootloader destination: /dev/sda

[functions]
 unmounted all filesystems

[mkp]
 saved /root/obi-installer.log as /mnt/home/test-no-swap/obi-installer.log

[mkp]
 removed HTML tags from /mnt/home/test-no-swap/obi-installer.log

[mkp]
 Not rebooting.

[mkp]
 Check the Result

[functions]
 
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie
OS to install: ToriOS-i386-jessie
Menu Title: OS to install: ToriOS-i386-jessie
[clearOBI]
 restart progress
[clearOBI]
 kill -9 5248
[clearOBI]
 kill -9 4833
[clearOBI]
 kill -9 5244
<br /><b>[mkp]</b><br /> removed HTML tags from /root/obi-installer.log
#
# 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 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,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos7' --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  a33f95c4-137d-4ad5-bed6-a38d62da447e
else
  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
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-ieee1275='ieee1275//sas/disk@0,msdos7' --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  a33f95c4-137d-4ad5-bed6-a38d62da447e
else
  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
fi
insmod png
if background_image /boot/grub/torios-grub.png; then
  true
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'ToriOS GNU/Linux' --class torios --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a33f95c4-137d-4ad5-bed6-a38d62da447e' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	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-ieee1275='ieee1275//sas/disk@0,msdos7' --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  a33f95c4-137d-4ad5-bed6-a38d62da447e
	else
	  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
	fi
	echo	'Loading Linux 3.16.0-4-586 ...'
	linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=a33f95c4-137d-4ad5-bed6-a38d62da447e ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.16.0-4-586
}
submenu 'Advanced options for ToriOS GNU/Linux' $menuentry_id_option 'gnulinux-advanced-a33f95c4-137d-4ad5-bed6-a38d62da447e' {
	menuentry 'ToriOS GNU/Linux, with Linux 3.16.0-4-586' --class torios --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-advanced-a33f95c4-137d-4ad5-bed6-a38d62da447e' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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-ieee1275='ieee1275//sas/disk@0,msdos7' --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  a33f95c4-137d-4ad5-bed6-a38d62da447e
		else
		  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=a33f95c4-137d-4ad5-bed6-a38d62da447e ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-586
	}
	menuentry 'ToriOS GNU/Linux, with Linux 3.16.0-4-586 (recovery mode)' --class torios --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-recovery-a33f95c4-137d-4ad5-bed6-a38d62da447e' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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-ieee1275='ieee1275//sas/disk@0,msdos7' --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  a33f95c4-137d-4ad5-bed6-a38d62da447e
		else
		  search --no-floppy --fs-uuid --set=root a33f95c4-137d-4ad5-bed6-a38d62da447e
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=a33f95c4-137d-4ad5-bed6-a38d62da447e ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-586
	}
}

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

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

### BEGIN /etc/grub.d/30_os-prober ###
### 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.
### 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 ###

References