← Back to team overview

torios-dev team mailing list archive

Re: new problem - it is extremely slow booting older instances of ToriOS

 

Hi again,
Here are the log files.
Best regards
Nio

Den 2016-05-04 kl. 09:39, skrev Nio Wiklund:
Hi Israel,

Installing into an HDD connected internally via SATA. I wiped the first
megabyte of the drive and made a fresh MSDOS partition table.

1. ToriOS-debian-daily.iso - installed at the basic OBI level

obi-installer-basic.log

/mnt was not mounted

2. Booted into the installed system

It works. Ran sudo update-grub. It boots as it should (no delay).

3. Installed another system. Since you might be suspicious about
Yakkety, I selected Lubuntu 14.04.1 LTS (with the trusty kernel).

I partitioned the HDD with several partitions for future use.

I installed Lubuntu (32-bit) to partition #5 (sharing swap with ToriOS
on partition #2).

4. Booted into the installed Lubuntu system.

It works (and it had found ToriOS for grub).

5. Booted into ToriOS (in partition #1)

It boots as it should. It works. Ran sudo update-grub.

6. Booted into both now installed systems.

- Lubuntu boots as it should (not delayed with 1 min 30 s).

- ToriOS boots as it should (not delayed with 1 min 30 s).

So far this result is the same as with an external target drive.

7. ToriOS-debian-daily.iso - installed at the advanced OBI level into
partition #6 (sharing swap on partition #2).

obi-installer-advanced.log

/mnt was not mounted

8. Booted into (the new) ToriOS at partition #6.

It had found the previously installed systems (ToriOS and Lubuntu) for
grub.

It boots as it should (not delayed with 1 min 30 s).

9. Booted into the old ToriOS at partition #1.

It boots, but is delayed with 1 min 30 s.

10. Booted into Lubuntu at partition #5. (I made a cold boot in order to
wipe any possible cruft from RAM.

It booted faster (not delayed with 1 min 30 s). But this version of
Lubuntu boots with init, not systemd. I think the Ubuntu flavours use
systemd from Wily (so also Xenial and Yakkety). And ToriOS-debian uses
systemd.

11. I tried again with ToriOS.

- It booted fast into the newer system (in partition #6) as before.

- It booted slowly into the older system (in partition #1) as before.

*. I noticed, when I booted without quiet splash, that there was a
complaint about a failure: failed to start LSB, apparmor initialization
and a suggestion to use systemctl to check it.

Maybe it is a clue to the problem.

I have not tried (yet) with the tweaks that you suggested.

Best regards
Nio

Den 2016-05-04 kl. 03:35, skrev Israel:
Nio,
If you want to try installing grub from the OBI in the other fashion
sed -i "s/grub-installer/grubfix/g" /usr/share/OBI/mkp
This is the regular grub installer script
#!/bin/bash
dest="/dev/sda"
if [ "$1" != "" ]
then
  dest="$1"
fi
grub-install "${dest}"
update-grub  && echo "updated grub"
There is no progress or logging, but it may work.
AFAIK updating grub will not do much for the /mnt OS though.
This is why we moved to the chroot method (the recommended method to
recover grub from a live OS in many many wikis for all the distros I
have looked at)

I think the big issue is that something is calling dbus, but I do not
know what.

On 05/03/2016 02:42 PM, Nio Wiklund wrote:
Hi Israel,
[inline]
Best regards
Nio

Den 2016-05-03 kl. 21:21, skrev Israel:
Hi Nio,
(inlines)
On 05/03/2016 07:28 AM, Nio Wiklund wrote:
Hi Israel,
[inline]
Best regards
Nio

Den 2016-05-03 kl. 01:51, skrev Israel:
...
hmmm...  can I have the log please?

I'm sorry, but I think they are long gone. I have rebooted several
times.

It should be there even when you reboot!
The newer version has a date in the name of the log.
I thought this would be nice to have in the log title.

I will check, what I can find.


Probably the only task that really might need chroot is installing
the
bootloader, and that task might not cause this damage. Now you have
the same [grub] system in the live session and the tarball, so you
probably you do not even need chroot for that task. I don't use
chroot
in my original One Button Installer, but it was introduced in 9w,
where I run a Debian system to install from Ubuntu tarballs.

No.  the entire user configuration happens in the chroot (setting the
language/timezone/username/password/installing pae etc...)
Those do not seem to have effected everything poorly.
But, my killing of dbus might.  please send the log, this will make
things more clear.

I don't understand what you are using dbus for, and how you are using
it. Or is it activated automatically by the Debian Jessie system?

I am not sure what starts dbus either.  It may be started by one of the
install processes.  I assumed it was because the menus were updated...
It may be due to something else...



....

yes, you tested installing ToriOS on 2 partitions and Yakkety Yak
(don't
talk back :D) on a 3rd.
This is probably not common.
But I think the log file will be very helpful to me finding the issue

I don't think it makes much difference what previous operating system
there are. Maybe it makes a greater difference if it is an internal
drive or a USB drive.

I can try that (and save the log files), probably later today.


So do you mean that the time you installed on external it made
everything slow in booting?
Please clarify this a bit more.

It is confusing for me (too). I cannot clarify yet, but I suspect that
there is something fishy going on when you run things with chroot.

I tested with the target drive connected via USB 3. I had an HDD and
after that an SSD in the akasa external box. The problems affected
both drives.

I will test with the target drive connected internally via SATA. I
don't know yet, if it will make any difference concerning slowness
(the 1 min 30 s delay). I know it makes a difference concerning the
grub menu: It seems that sudo update-grub finds previous operating
systems in the internal drive (but not in a drive connected via USB 3.

I could test in another computer too, but this one (the Toshiba) is
the fastest, so the most convenient for testing. And it works well
with Lubuntu and the other official Ubuntu flavours as well as with
Debian Jessie.





[starter]
 3.1.1

[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]
 starter chose: i

[functions]
 

[functions]
 Found pid for Zenity in obi: 2653

[position_win]
 Found 0x01400004 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

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

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


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

[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]
 ltest0=rootfs
ltest1=/sdb
livedrive=/sdb
tmpstr=Name: ata-ST320LT007-9ZV142  Dev: /dev/sda  Size: 320GB
Name: usb-Kanguru_FlashBlu   Dev: /dev/sdb  Size: 8011MB
usbonly=false

[functions]
 DON'T unmount: aufs for /tarballs/ToriOS-i386-jessie.tar.xz

[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]
 Window sizing
 Text length:63
Guessed Width=504 (if this is too small it will default to 500)

[functions]
 [select-device] dd if=/dev/zero bs=4096 count=256 of=/dev/sda

[functions]
 
Installing: ToriOS-i386-jessie
Target Device: /dev/sda ...

mklub ToriOS-i386-jessie /tarballs/ToriOS-i386-jessie.tar.xz /dev/sda

[mkp]
 ToriOS-i386-jessie
/tarballs/ToriOS-i386-jessie.tar.xz
/dev/sda
RAM=4194304
Sectors=625142448
Sector Size=512
Diskms=15625000
Swapsize=4838 MibiBytes

[mkp]
 umount --force /dev/sda*

[mkp]
 Found pid for Zenity in mkp: 2653

[position_win]
 Found 0x01400004 for the window to position

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

[mkp]
 1 ext partitions: 

[mkp]
 1 swap partitions: 

[mkp]
 rootpart=/dev/sda1

[mkp]
 swappart=/dev/sda2

[mkp]
 OLD swap uuid=e57e2b2d-324c-4813-b430-485f0996b6f1

[mkp]
 NEW swap UUID=05d29373-e23c-4396-b190-5e861cae0047

[mkp]
 rootpart=/dev/sda1
OLD root UUID=4814aa30-0338-4f82-b393-d0685a797570
NEW root UUID=d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7

[mkp]
 (SWAP UUIDs)changed e57e2b2d-324c-4813-b430-485f0996b6f1 to 05d29373-e23c-4396-b190-5e861cae0047 in /mnt/etc/fstab0

[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=d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdd5 during installation
UUID=05d29373-e23c-4396-b190-5e861cae0047 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  d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
else
  search --no-floppy --fs-uuid --set=root d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
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  d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
else
  search --no-floppy --fs-uuid --set=root d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
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-d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7' {
	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  d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
	else
	  search --no-floppy --fs-uuid --set=root d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
	fi
	echo	'Loading Linux 3.16.0-4-586 ...'
	linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7 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-d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7' {
	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-d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7' {
		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  d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
		else
		  search --no-floppy --fs-uuid --set=root d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7 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-d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7' {
		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  d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
		else
		  search --no-floppy --fs-uuid --set=root d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=d3bcf697-5cf4-4a6c-af74-6a6f84e2a9d7 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]
 Filename				Type		Size	Used	Priority
/dev/sda2                              	partition	4954516	0	3

[user-config]
 Removed tarball user named: torios

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

[user-config]
 Added tester

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

set password for tester

tester
Groups: audio,cdrom,plugdev,users,adm,video,dip,floppy,sudo,netdev

[user-config]
 Autologin for: tester.

[user-config]
 Updating: xdg-dirs

[user-config]
 copied /etc/skel

[user-config]
 chown recursivley /home/tester for tester

[user-config]
 changed gksu to sudo mode for tester

[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 chroot bound filesystems

[functions]
 Successfully unmounted chroot

[mkp]
 3.1.1

[mkp]
 /mnt/home/obi-installer.log is not a file

[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

[functions]
 starter chose: q
[clearOBI]
 restart progress
[clearOBI]
 kill -9 2653
[clearOBI]
 kill -9 2237
[clearOBI]
 kill -9 2649

[mkp]
 removed HTML tags from /root/obi-installer.log

[starter]
 3.1.1

[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]
 starter chose: o

[setlevel]
 using: advanced

[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]
 starter chose: i

[functions]
 

[functions]
 Found pid for Zenity in obi: 2842

[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

[confirm-partition]
 3.1.1

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

[select-part2]
 3.1.1

[select-part2]
 select-part2 after dialog or zenity: ans=sda2

[select-part2]
 rootpart=/dev/sda6 swappart=/dev/sda2

[select-part2]
 obi-root:/dev/sda6
obi-swap:/dev/sda2

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

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

[confirm-partition]
 g

[confirm-partition]
 Installing ToriOS-i386-jessie  /dev/sda6
with swap  /dev/sda2

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

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


[mkp]
 Found pid for Zenity in mkp: 2842

[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]
 1 swap partitions: 

[mkp]
 Make a swap partition /dev/sda2 - and get new UUID

[mkp]
 rootpart=/dev/sda6

[mkp]
 swappart=/dev/sda2

[mkp]
 OLD swap uuid=e57e2b2d-324c-4813-b430-485f0996b6f1

[mkp]
 NEW swap UUID=be620e70-1526-44b3-a88c-7476ad984910

[mkp]
 rootpart=/dev/sda6
OLD root UUID=4814aa30-0338-4f82-b393-d0685a797570
NEW root UUID=25f21822-6890-4a1d-a061-752523f2f3b6

[mkp]
 (SWAP UUIDs)changed e57e2b2d-324c-4813-b430-485f0996b6f1 to be620e70-1526-44b3-a88c-7476ad984910 in /mnt/etc/fstab0

[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=25f21822-6890-4a1d-a061-752523f2f3b6 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdd5 during installation
UUID=be620e70-1526-44b3-a88c-7476ad984910 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  25f21822-6890-4a1d-a061-752523f2f3b6
else
  search --no-floppy --fs-uuid --set=root 25f21822-6890-4a1d-a061-752523f2f3b6
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  25f21822-6890-4a1d-a061-752523f2f3b6
else
  search --no-floppy --fs-uuid --set=root 25f21822-6890-4a1d-a061-752523f2f3b6
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-25f21822-6890-4a1d-a061-752523f2f3b6' {
	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  25f21822-6890-4a1d-a061-752523f2f3b6
	else
	  search --no-floppy --fs-uuid --set=root 25f21822-6890-4a1d-a061-752523f2f3b6
	fi
	echo	'Loading Linux 3.16.0-4-586 ...'
	linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=25f21822-6890-4a1d-a061-752523f2f3b6 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-25f21822-6890-4a1d-a061-752523f2f3b6' {
	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-25f21822-6890-4a1d-a061-752523f2f3b6' {
		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  25f21822-6890-4a1d-a061-752523f2f3b6
		else
		  search --no-floppy --fs-uuid --set=root 25f21822-6890-4a1d-a061-752523f2f3b6
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=25f21822-6890-4a1d-a061-752523f2f3b6 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-25f21822-6890-4a1d-a061-752523f2f3b6' {
		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  25f21822-6890-4a1d-a061-752523f2f3b6
		else
		  search --no-floppy --fs-uuid --set=root 25f21822-6890-4a1d-a061-752523f2f3b6
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=25f21822-6890-4a1d-a061-752523f2f3b6 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]
 Filename				Type		Size	Used	Priority
/dev/sda2                              	partition	4954516	0	3

[user-config]
 Removed tarball user named: torios

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

[user-config]
 Added tester

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

set password for tester

tester
Groups: audio,cdrom,plugdev,users,adm,video,dip,floppy,sudo,netdev

[user-config]
 No autologin for: tester.

[user-config]
 Updating: xdg-dirs

[user-config]
 copied /etc/skel

[user-config]
 chown recursivley /home/tester for tester

[user-config]
 changed gksu to sudo mode for tester

[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 chroot bound filesystems

[functions]
 Successfully unmounted chroot

[mkp]
 3.1.1

[mkp]
 /mnt/home/obi-installer.log is not a file

[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

[functions]
 starter chose: q
[clearOBI]
 restart progress
[clearOBI]
 kill -9 2842
[clearOBI]
 kill -9 2841
[clearOBI]
 kill -9 2426
[clearOBI]
 kill -9 2838

[mkp]
 removed HTML tags from /root/obi-installer.log

Follow ups

References