torios-dev team mailing list archive
-
torios-dev team
-
Mailing list archive
-
Message #00770
Re: Debian ISO with dialog warnings
Den 2016-05-14 kl. 21:16, skrev Israel:
Hey everyone,
please zsync as I uploaded the ISO with the fixes.
I haven't directly tested this yet, so there may be issue.
This ALSO has the ability to install firmware based on any errors in dmesg
This is not the best idea I have yet... but it is what it is... this
*may* not work at all.
It may require doing something like alerting the user in the firstrun
script.
something like:
[WARNING] $firmwarePackageName needs to be installed, please connect to
the internet, and click OK to install.
This would bring the ISO size back down, but also make it more difficult
in some ways, perhaps.
What do you think?
Hi again Israel,
I tested the current ToriOS-debian daily iso file.
At the basic OBI level I noticed two improvements in the installed system:
1. The firstrun menu has the ToriOS icon now.
2. There is automatic detection of the wifi hardware in my Toshiba :-)
3. Maybe a step backwards: It is possible to select the drive of the
live system to install the bootloader. It was not like that before (I'm
not sure when it was changed, maybe now, maybe some version ago). And I
doubt that it is a good idea.
4. Maybe a step backwards (unless you intend to make a PAE iso file). I
did not notice any prompt to install a PAE kernel, and I don't see
anything in the log file about it, except a comment that 64-bit OS
doesn't require PAE installation. Is this change made by intention (in
cooperation with Ali), or has the change happened by chance, or did I
not notice things carefully enough? As you know, there are problems
recognizing more than 2 GB RAM with a non-pae kernel.
At the advanced OBI level I notice the same things as at the basic
level. So installing seems stable now.
See the attached file.
Best regards
Nio
[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: a
[functions]
[functions]
Found pid for Zenity in obi: 2969
[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/sda10 was not mounted
[confirm-partition]
/dev/sda5 was not mounted
[select-part2]
3.1.1
[select-part2]
select-part2 after dialog or zenity: ans=sda9
[select-part2]
rootpart=/dev/sda9 swappart=/dev/sda5
[select-part2]
obi-root:/dev/sda9
obi-swap:/dev/sda5
[confirm-partition]
/dev/sda9 was not mounted
[confirm-partition]
/dev/sda5 was not mounted
[confirm-partition]
/dev/sda10 was not mounted
[confirm-partition]
/dev/sda5 was not mounted
[confirm-partition]
g
[confirm-partition]
Installing ToriOS-i386-jessie /dev/sda10
with swap /dev/sda5
[confirm-partition]
[confirm-partition]mklub ToriOS-i386-jessie /tarballs/ToriOS-i386-jessie.tar.xz /dev/sda10 /dev/sda5
[mkp]
ToriOS-i386-jessie
/tarballs/ToriOS-i386-jessie.tar.xz
[mkp]
Found pid for Zenity in mkp: 2969
[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]
[mkpxpy] blkid for /dev/sda5 = /dev/sda5: LABEL="obiswap" UUID="d8b6ad55-1978-40a7-a0a8-5323817bf105" TYPE="swap" PARTUUID="8f62eb7e-05" (if exists)
[mkp]
Use existing swap partition /dev/sda5 - keep its UUID
[mkp]
rootpart=/dev/sda10
[mkp]
swappart=/dev/sda5
[mkp]
OLD swap uuid=23d84e76-2e05-46ee-9626-d2146db26197
[mkp]
NEW swap UUID=d8b6ad55-1978-40a7-a0a8-5323817bf105
[mkp]
rootpart=/dev/sda10
OLD root UUID=4814aa30-0338-4f82-b393-d0685a797570
NEW root UUID=0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
[mkp]
(SWAP UUIDs)changed 23d84e76-2e05-46ee-9626-d2146db26197 to d8b6ad55-1978-40a7-a0a8-5323817bf105 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=0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a / ext4 errors=remount-ro 0 1
# swap was on /dev/sdd5 during installation
UUID=d8b6ad55-1978-40a7-a0a8-5323817bf105 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 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
else
search --no-floppy --fs-uuid --set=root 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
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 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
else
search --no-floppy --fs-uuid --set=root 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
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-0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a' {
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 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
else
search --no-floppy --fs-uuid --set=root 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
fi
echo 'Loading Linux 3.16.0-4-586 ...'
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a 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-0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a' {
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-0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a' {
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 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
else
search --no-floppy --fs-uuid --set=root 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
fi
echo 'Loading Linux 3.16.0-4-586 ...'
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a 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-0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a' {
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 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
else
search --no-floppy --fs-uuid --set=root 0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a
fi
echo 'Loading Linux 3.16.0-4-586 ...'
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=0fac1a5d-7aa6-482f-ac9a-bb1d3feae14a 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-f350932c-c79b-44d1-8d12-d44791196b9a' {
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 f350932c-c79b-44d1-8d12-d44791196b9a
else
search --no-floppy --fs-uuid --set=root f350932c-c79b-44d1-8d12-d44791196b9a
fi
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=f350932c-c79b-44d1-8d12-d44791196b9a 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-f350932c-c79b-44d1-8d12-d44791196b9a' {
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--f350932c-c79b-44d1-8d12-d44791196b9a' {
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 f350932c-c79b-44d1-8d12-d44791196b9a
else
search --no-floppy --fs-uuid --set=root f350932c-c79b-44d1-8d12-d44791196b9a
fi
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=f350932c-c79b-44d1-8d12-d44791196b9a 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--f350932c-c79b-44d1-8d12-d44791196b9a' {
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 f350932c-c79b-44d1-8d12-d44791196b9a
else
search --no-floppy --fs-uuid --set=root f350932c-c79b-44d1-8d12-d44791196b9a
fi
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=f350932c-c79b-44d1-8d12-d44791196b9a 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=f350932c-c79b-44d1-8d12-d44791196b9a ro single-f350932c-c79b-44d1-8d12-d44791196b9a' {
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 f350932c-c79b-44d1-8d12-d44791196b9a
else
search --no-floppy --fs-uuid --set=root f350932c-c79b-44d1-8d12-d44791196b9a
fi
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=f350932c-c79b-44d1-8d12-d44791196b9a 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/sda5 partition 4072444 0 3
[user-config]
Removed tarball user named: torios
[user-config]
Removing /mnt/home/torios
[user-config]
Added test-20160516
[user-config]
the password entries match, go ahead ...
set password for test-20160516
test-20160516
Groups: audio,cdrom,plugdev,users,adm,video,dip,floppy,sudo,netdev
[user-config]
No autologin for: test-20160516.
[user-config]
Updating: xdg-dirs
[user-config]
copied /etc/skel
[user-config]
chown recursivley /home/test-20160516 for test-20160516
[user-config]
changed gksu to sudo mode for test-20160516
[user-config]
64bit OS doesn't require PAE installation
[mkp]
Installing Bootloader
[mkp]
3.1.1
[mkp]
saveLOG()--> /mnt/home/test-20160516/mnt/home/test-20160516/obi-installer-2016-05-16.log
[mkp]
saved /root/obi-installer.log as /mnt/home/test-20160516/obi-installer-2016-05-16.log
[mkp]
removed HTML tags from /mnt/home/test-20160516/obi-installer-2016-05-16.log
[functions]
[hw-progress]
[Firmware
[hw-progress]
rtl8723ae:
[hw-progress]
rtl8723ae
[hw-progress]
rtl8723ae
[hw-progress]
r8169
[hw-progress]
r8169
[hw-progress]
r8169
[hw-progress]
hw-progress hardware-search [Firmware rtl8723ae: rtl8723ae rtl8723ae r8169 r8169 r8169
[hw-progress]
mount -t proc proc /mnt/proc
[hw-progress]
mount -t sysfs sys /mnt/sys
[hw-progress]
mount -o bind /dev /mnt/dev
[hw-progress]
cp /etc/hosts
[hw-progress]
cp /etc/resolv.conf
[hw-progress]
chroot /mnt bash -c hardware-search [Firmware rtl8723ae: rtl8723ae rtl8723ae r8169 r8169 r8169
[hw-progress]
remove directory /firmware/ from /mnt
[hw-progress]
umount /mnt/{proc,sys,dev}
[hw-progress]
2016-05-16 Look for [Firmware Look for rtl8723ae: Look for rtl8723ae Look for rtl8723ae Look for r8169 Look for r8169 Look for r8169 Look for [Firmware Look for rtl8723ae: Look for rtl8723ae Look for rtl8723ae Look for r8169 Look for r8169 Look for r8169
[functions]
[list_drives]
DRIVE: Name: ata-KINGSTON_SV300S37A60G Dev: /dev/sda Size: 60GB
[list_drives]
DRIVE: Name: usb-Kanguru_FlashBlu Dev: /dev/sdb Size: 8011MB
[list_drives]
DRIVE: Name: ata-KINGSTON_SV300S37A60G Dev: /dev/sda Size: 60GB
[list_drives]
DRIVE: Name: usb-Kanguru_FlashBlu Dev: /dev/sdb Size: 8011MB
[list_drives]
DRIVE: Name: ata-KINGSTON_SV300S37A60G Dev: /dev/sda Size: 60GB
[list_drives]
DRIVE: Name: usb-Kanguru_FlashBlu Dev: /dev/sdb Size: 8011MB
[list_drives]
DRIVE: Name: ata-KINGSTON_SV300S37A60G Dev: /dev/sda Size: 60GB
[list_drives]
DRIVE: Name: usb-Kanguru_FlashBlu Dev: /dev/sdb Size: 8011MB
[functions]
[grub-installer] Destination: /dev/sda
[functions]
[grub-installer] Bootloader destination: /dev/sda
[functions]
[grub-installer] unmounted all chroot bound filesystems
[functions]
[grub-installer] Successfully unmounted chroot
[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 2969
[clearOBI]
kill -9 2553
[clearOBI]
kill -9 2965
[mkp]
removed HTML tags from /root/obi-installer.log
Follow ups
References