← Back to team overview

torios-dev team mailing list archive

Re: New ISO

 

Den 2016-05-29 kl. 21:19, skrev Israel:
Hey everyone,
I have been busy with real life lately, and installing Arch on a cheap
computer I got to learn more about systemd, and a few other things (like
making our programs work in more Linux Distros to hopefully attract more
developers one day)
I have most things working in Arch now, which is quite nice to me.

Anyhow, in using Arch I found a menu program written in Perl.  I
modified it, and now the JWM menu uses it.  I also rewrote the places
menu in script form and use that.  I reworked the jwmIconFinder script
to more pleasantly gather the list of Icons, and place them in the
correct order. which will make our menu look much nicer (check it out!!)

I also reworked things to put all our bash programs into the
torios-desktop package and a few other things.

So, even though I have been quiet I have been studying ToriOS, and
hacking it, and reworking/recoding things to make it all much nicer.

There are still some minor annoyances but all the major issues should be
gone.

If they are let us release this, it is a month after I wanted to, but
the improvements were absolutely worth it.


Hi Israel and Jack,

It works to install ToriOS at the advanced level from the current iso file (into my Toshiba and a USB 3 SSH. I have not tested everything, far from it, but I notice that the documentation needs updating. I checked in the installed system and found this one (attached screenshot).

Best regards
Nio

Attachment: documentation-needs-updating.png
Description: PNG image


[starter]
 3.1.2

[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: a

[functions]
 

[functions]
 Found pid for Zenity in obi: 2388

[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

[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.2

[partition-help]
 RAM  size:4096 MibiBytes

[partition-help]
 SWAP size:4838 MibiBytes

[partition-help]
 root: /dev/sda5

[partition-help]
 swap: /dev/sda4

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

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

[confirm-partition]
 g

[confirm-partition]
 Installing ToriOS-i386-jessie  /dev/sda5
with swap  /dev/sda4

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

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


[mkp]
 Found pid for Zenity in mkp: 2388

[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]
 [mkpxpy] blkid for /dev/sda4 = /dev/sda4: LABEL="obiswap" UUID="b69324e1-cab0-459c-97f3-bb42926ee94e" TYPE="swap" PARTUUID="c8694b03-2f19-492c-97b0-a2d91d53c7f0" (if exists)

[mkp]
 Use existing swap partition /dev/sda4 - keep its UUID

[mkp]
 rootpart=/dev/sda5

[mkp]
 swappart=/dev/sda4

[mkp]
 OLD swap uuid=ec3d7082-e34a-40fc-b6d4-11e849eb84f9

[mkp]
 NEW swap UUID=b69324e1-cab0-459c-97f3-bb42926ee94e

[mkp]
 rootpart=/dev/sda5
OLD root UUID=be946c28-852d-499b-922a-04f94b66a4c1
NEW root UUID=71dde500-0fc2-46c3-8bc2-63cadeb86a92

[mkp]
 (SWAP UUIDs)changed ec3d7082-e34a-40fc-b6d4-11e849eb84f9 to b69324e1-cab0-459c-97f3-bb42926ee94e 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=71dde500-0fc2-46c3-8bc2-63cadeb86a92 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdd5 during installation
UUID=b69324e1-cab0-459c-97f3-bb42926ee94e 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  71dde500-0fc2-46c3-8bc2-63cadeb86a92
else
  search --no-floppy --fs-uuid --set=root 71dde500-0fc2-46c3-8bc2-63cadeb86a92
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  71dde500-0fc2-46c3-8bc2-63cadeb86a92
else
  search --no-floppy --fs-uuid --set=root 71dde500-0fc2-46c3-8bc2-63cadeb86a92
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-71dde500-0fc2-46c3-8bc2-63cadeb86a92' {
	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  71dde500-0fc2-46c3-8bc2-63cadeb86a92
	else
	  search --no-floppy --fs-uuid --set=root 71dde500-0fc2-46c3-8bc2-63cadeb86a92
	fi
	echo	'Loading Linux 3.16.0-4-586 ...'
	linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=71dde500-0fc2-46c3-8bc2-63cadeb86a92 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-71dde500-0fc2-46c3-8bc2-63cadeb86a92' {
	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-71dde500-0fc2-46c3-8bc2-63cadeb86a92' {
		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  71dde500-0fc2-46c3-8bc2-63cadeb86a92
		else
		  search --no-floppy --fs-uuid --set=root 71dde500-0fc2-46c3-8bc2-63cadeb86a92
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=71dde500-0fc2-46c3-8bc2-63cadeb86a92 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-71dde500-0fc2-46c3-8bc2-63cadeb86a92' {
		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  71dde500-0fc2-46c3-8bc2-63cadeb86a92
		else
		  search --no-floppy --fs-uuid --set=root 71dde500-0fc2-46c3-8bc2-63cadeb86a92
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=71dde500-0fc2-46c3-8bc2-63cadeb86a92 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-5479bd99-0c01-44c7-a120-df43784eb2e4' {
	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  5479bd99-0c01-44c7-a120-df43784eb2e4
	else
	  search --no-floppy --fs-uuid --set=root 5479bd99-0c01-44c7-a120-df43784eb2e4
	fi
	linux /boot/vmlinuz-3.16.0-4-586 root=UUID=5479bd99-0c01-44c7-a120-df43784eb2e4 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-5479bd99-0c01-44c7-a120-df43784eb2e4' {
	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--5479bd99-0c01-44c7-a120-df43784eb2e4' {
		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  5479bd99-0c01-44c7-a120-df43784eb2e4
		else
		  search --no-floppy --fs-uuid --set=root 5479bd99-0c01-44c7-a120-df43784eb2e4
		fi
		linux /boot/vmlinuz-3.16.0-4-586 root=UUID=5479bd99-0c01-44c7-a120-df43784eb2e4 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--5479bd99-0c01-44c7-a120-df43784eb2e4' {
		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  5479bd99-0c01-44c7-a120-df43784eb2e4
		else
		  search --no-floppy --fs-uuid --set=root 5479bd99-0c01-44c7-a120-df43784eb2e4
		fi
		linux /boot/vmlinuz-3.16.0-4-586 root=UUID=5479bd99-0c01-44c7-a120-df43784eb2e4 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=5479bd99-0c01-44c7-a120-df43784eb2e4 ro single-5479bd99-0c01-44c7-a120-df43784eb2e4' {
		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  5479bd99-0c01-44c7-a120-df43784eb2e4
		else
		  search --no-floppy --fs-uuid --set=root 5479bd99-0c01-44c7-a120-df43784eb2e4
		fi
		linux /boot/vmlinuz-3.16.0-4-586 root=UUID=5479bd99-0c01-44c7-a120-df43784eb2e4 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 ###

[mkhome]
 home partition is not specified

[mkp]
 Filename				Type		Size	Used	Priority
/dev/sda4                              	partition	524284	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

[mkp]
 3.1.2

[mkp]
  saveLOG()--> /mnt/home/tester/mnt/home/tester/obi-installer-2016-05-30.log

Follow ups

References