torios-dev team mailing list archive
-
torios-dev team
-
Mailing list archive
-
Message #00637
Re: Debian ISO
Hi Israel,
[replying inline]
Best regards
Nio
Den 2016-04-28 kl. 22:26, skrev Israel:
Hi Nio,
I know, I have changed the OBI a lot because I didn't understand it, so
I have 'translated' it into the type of bash script I understand, using
bash built-ins and using [[ instead of test or [ using (( num > othernum
)) instead of test num -gt othernum
I hope to gradually get used to these new(?) bash built-in commands.
This means I have had to learn what OBI is and does.
I have also modularized the code more (all the mkp* scripts call a
common mkp) and have tried very hard to understand the complexity you
created.
Long story short, some of my translation doesn't always work correctly
because I misunderstand what you are doing sometimes. The 'use no extra
parameters' bug is a great example of that. Why do I even need that
code in there? So I have now removed the offending code completely
because it actually does nothing, since the parameter never gets passed
to anything if it exists. So a parameter will automatically get
removed, and not effect anything. We don't need to notify the user
about it, so I am removing it entirely.
It makes sense when you tell me these commands. But sometimes I'm losing
all hope, when we are fighting bugs in code that used to work.
Anyhow.... with that code gone *revision 228* should completely fix this
issue. I will test it as well. I have been testing the basic installer
mostly, so I will test advanced on this one only, since I modified only
the advanced code.
Let me know if it works for USB drives, as well.
The OBI-istalleer is getting better :-)
Now it was possible to get into gparted via the built-in sequence. I
could add the labels obiroot and obiswap and continue with the
installation. The installation worked, and the installed system works.
But there are still bugs.
1. I cannot select root partition and swap partition manually (in the
zenity menu). It looks like I select, but nothing is changed. The
original selection remains. If root and/or swap are not selected by the
partition labels, they are impossible to select. At least I don't know
how to do it with the OBI-installer. It seems the mechanism to store or
propagate the selection from the menu has failed somehow. This worked
before you started to fix the problem of 'moving the desktop' with wmctrl.
I have tested with the target drive connected internally and externally.
It makes no difference in this case. I would say that this is a
show-stopper. I don't think we should abandon selection of partitions
via the zenity menus. It is awkward to use gparted for the selection,
when there is no [other] editing of partitions.
2. Already existing operating systems in internal drives (including
eSATA), but not in USB drives, are recognized and added to the grub
menu. This problem remains, but we can live with it. (It is no
show-stopper.)
On 04/28/2016 12:50 PM, Nio Wiklund wrote:
Hi Israel,
Unfortunately I don't understand the structure of the OBI-installer.
It has changed so much from my version, and I have not had the time to
keep my knowledge of it up to date.
Anyway, I zsynced and updated/dist-upgraded to get version 225.
It seemed to work better now. It does not print
:( Use no extra parameters :(
But it returns to the starter menu. I cannot reach gparted as part of
the sequence 'Partition drives and install alongside current OS'. Of
course gparted is available via the desktop, but it is frustrating,
when things that used to work stop working.
But 'Install' does not not work at the advanced level.
It works at the basic level :-)
The progress windows are separated (do not overlap), which is good :-)
-o-
I tried again - a 'clean' sequence: I cannot reach gparted as part of
the sequence 'Partition drives and install alongside current OS'. It
returns to the starter menu. In the Toshiba with external target drive.
I attach the log file for this 'brief case'.
Best regards
Nio
--
Regards
[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]
[functions]
Found pid for Zenity in obi: 2816
[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
[partition-help]
RAM size:4096 MibiBytes
[partition-help]
SWAP size:4838 MibiBytes
[partition-help]
root: /dev/sda5
[partition-help]
swap: /dev/sda2
[confirm-partition]
/dev/sda5 was not mounted
[confirm-partition]
/dev/sda2 was not mounted
[confirm-partition]
Installing ToriOS-i386-jessie /dev/sda5
with swap /dev/sda2
[confirm-partition]
[confirm-partition]mklub ToriOS-i386-jessie /tarballs/ToriOS-i386-jessie.tar.xz /dev/sda5 /dev/sda2
[mkp]
ToriOS-i386-jessie
/tarballs/ToriOS-i386-jessie.tar.xz
[mkp]
Found pid for Zenity in mkp: 2816
[position_win]
Found 0x01400004 for the window to position
[mkp]
return value was: 0
[mkp]
/tarballs/ToriOS-i386-jessie.tar.xz (the tarball) is expanded, syncing the drive
[mkp]
1 ext partitions: 09339ad0-25a7-4c0f-88fa-6592e0d95ccd
[mkp]
a3562b8d-6d65-49ac-bc3b-28c073fc2a22
1 ext partitions: 09339ad0-25a7-4c0f-88fa-6592e0d95ccd
[mkp]
Use existing swap partition /dev/sda2 - keep its UUID
[mkp]
rootpart=/dev/sda5
[mkp]
swappart=/dev/sda2
[mkp]
OLD swap uuid=a3562b8d-6d65-49ac-bc3b-28c073fc2a22
[mkp]
NEW swap UUID=6d8464f4-2752-48eb-9ffb-c88a5aba1b6e
[mkp]
rootpart=/dev/sda5
OLD root UUID=09339ad0-25a7-4c0f-88fa-6592e0d95ccd
NEW root UUID=749fd816-9d8d-4c5e-830c-8d79b5c1b2dc
[mkp]
(SWAP UUIDs)changed a3562b8d-6d65-49ac-bc3b-28c073fc2a22 to 6d8464f4-2752-48eb-9ffb-c88a5aba1b6e 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=749fd816-9d8d-4c5e-830c-8d79b5c1b2dc / ext4 errors=remount-ro 0 1
# swap was on /dev/sdd5 during installation
UUID=6d8464f4-2752-48eb-9ffb-c88a5aba1b6e none swap sw 0 0
[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 test-obiroot-obiswap
[user-config]
the password entries match, go ahead ...
set password for test-obiroot-obiswap
test-obiroot-obiswap
Groups: audio,cdrom,plugdev,users,adm,video,dip,floppy,sudo,netdev
[user-config]
No autologin for: test-obiroot-obiswap.
[user-config]
Updating: xdg-dirs
[user-config]
copied menumethod-lister
[position_win]
Found 0x01400004 for the window to position
[user-config]
removed menumethod-lister
[user-config]
copied /etc/skel
[user-config]
chown recursivley /home/test-obiroot-obiswap for test-obiroot-obiswap
[user-config]
changed gksu to sudo mode for test-obiroot-obiswap
[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
Follow ups
References
-
Debian ISO
From: Israel, 2016-04-26
-
Re: Debian ISO
From: Cinque Port Computers, 2016-04-27
-
Re: Debian ISO
From: Israel, 2016-04-27
-
Re: Debian ISO
From: Cinque Port Computers, 2016-04-27
-
Re: Debian ISO
From: Israel, 2016-04-28
-
Re: Debian ISO
From: Nio Wiklund, 2016-04-28
-
Re: Debian ISO
From: Nio Wiklund, 2016-04-28
-
Re: Debian ISO
From: Israel, 2016-04-28
-
Re: Debian ISO
From: Nio Wiklund, 2016-04-28
-
Re: Debian ISO
From: Israel, 2016-04-28