Page 2 of 8

Porteus-v4.0rc4 bug reports

Posted: 23 Feb 2018, 11:05
by paf
I am using the 32 bit variant of Porteus and using it inside Virtual Box, so the guest additions are needed.

The purpose is to have a small/light Linux 32 bits virtual machine with dev tools for programming students. The combination of Porteus with Virtual Box results in something very easy to install in different operative systems, and then the students save their work on a VBox shared folder, as the VM has no hard disks, just the iso for booting Porteus. If they do something weird, the next reboot gives them a clean working Porteus platform.

What did I tried

Downloaded from mirrors.dotsrc.org the following versions:

Porteus-MATE-v4.0rc4-i586.iso
Porteus-OPENBOX-v4.0rc4-i586.iso
Porteus-XFCE-v4.0rc4-i586.iso

All give me kernel version 4.15.0-rc7-porteus with uname -a , on an unmodified ISO and with the "always fresh" option.

Porteus-v4.0rc4 bug reports

Posted: 23 Feb 2018, 15:26
by Binary Enigma
I've been using Porteus v3.2.2 32 bit with Cinnamon on a daily for about a year now, on an external HDD. Now that v4 is out, I tried to install it to another HDD to see if it's reliable, I ended up with the following:

- As soon as it booted(Graphics Mode), I was met with a login screen that was not in the older version. Upon inserting "guest" as both user and password, the system gave a few errors(1 frame, sometimes just a black screen) and went back to the same screen(this will happen no matter how many times I try it). Upon inserting "root" as user and "toor" as password, the system loaded up cinnamon, however, this gave me the next problem.

- With the root user, connection to the internet is not possible, when attempted with cable it keeps trying to connect without success(this only happens at work networks, presumably because it needs specific settings, my home network works fine, but only via ethernet), with any WiFi USB adapters, it refuses to even check for networks and just reads "unavailable". It should be noted that in "Always Fresh" everything works and in v3.2.2 all of the connections mentioned work.

- Since the guest account did not work, I tried to create a new one other than root, however, the option "Users and Groups" in the cinnamon settings is not functional (every other option works, this one simply does not respond). I then successfully created a user via terminal (adduser command), but when trying to log in, did the same as guest account

-Something less important: upon clicking the "Quit"(shutdown) button in the menu, the window that pops up saying "Shut down this system now?" only has one option, "Cancel". Pressing the physical power button on the computer works.

The only changes that were made to the system after installing were the installation of chromium, which works well but has to be lanched with --no-sandbox as I am stuck as root
Sorry for the long post and I apologize if I'm missing something obvious, I'm gonna try to reinstall porteus v4 with MATE and see if any of the problems go away/persist

Porteus-v4.0rc4 bug reports

Posted: 23 Feb 2018, 16:48
by paf
ncmprhnsbl wrote:
22 Feb 2018, 23:53
paf wrote:
22 Feb 2018, 15:42
uname -a gives the kernel version 4.15.0-rc7-porteus
something not right there..
should be:

Code: Select all

$ uname -a
Linux porteus 4.15.2-porteus
what ARCH are you using? x86_64 or x86 ?
Tried some different variants, and all the x86_64 give me 4.15.2-porteus, but all the i586 variants give me 4.15.0-rc7-porteus.

Porteus-v4.0rc4 bug reports

Posted: 23 Feb 2018, 19:35
by jssouza
Binary Enigma, thank you for your report. Could you tell us a little more on what an install to HDD means? Is it what is called as a "frugal" install of porteus? Also, please try in always fresh mode to see if the same problem occurs.

Are you able to login as guest from a VT? (Ctrl-Alt-F2). If yes, could you provide the output of the following commands:

Code: Select all

cat /proc/cmdline 
and

Code: Select all

cat /var/log/porteus-livedbg
Thanks

Porteus-v4.0rc4 bug reports

Posted: 23 Feb 2018, 19:48
by Ed_P
Cinnamon DE

Attempting to view a ini file in an ISO file Archive Manager gives an error.
Archive Manager wrote:
An error occurred while extracting files.

Setting attribute time::created not supported

Porteus-v4.0rc4 bug reports

Posted: 23 Feb 2018, 21:52
by ncmprhnsbl
paf wrote:
23 Feb 2018, 16:48
Tried some different variants, and all the x86_64 give me 4.15.2-porteus, but all the i586 variants give me 4.15.0-rc7-porteus.
confirmed
it would appear that a mistake has been made building the i586 ISOs ie. they have the wrong kernel/vmlinuz(4.15.0-rc7)
@paf , if you able, a workaround would be to remake the ISOs, swapping out the /porteus/base/000-kernel.xzm and /boot/syslinux/vmlinuz with the ones from:
<mirror dir>/i586/Porteus-v4.0/kernel/linux-4.15.2/
@brokenman, guess what your job for this weekend is ;) (note: x86_64 isos are correct)

Porteus-v4.0rc4 bug reports

Posted: 24 Feb 2018, 10:19
by paf
ncmprhnsbl wrote:
23 Feb 2018, 21:52
paf wrote:
23 Feb 2018, 16:48
Tried some different variants, and all the x86_64 give me 4.15.2-porteus, but all the i586 variants give me 4.15.0-rc7-porteus.
confirmed
it would appear that a mistake has been made building the i586 ISOs ie. they have the wrong kernel/vmlinuz(4.15.0-rc7)
@paf , if you able, a workaround would be to remake the ISOs, swapping out the /porteus/base/000-kernel.xzm and /boot/syslinux/vmlinuz with the ones from:
<mirror dir>/i586/Porteus-v4.0/kernel/linux-4.15.2/
@brokenman, guess what your job for this weekend is ;) (note: x86_64 isos are correct)
YES, YES, YES !

Now, after doing that almost everything is ok.

When doing name -a (on i586) the correct version is shown, but strangely the command complains that the local timezone is not set.
Now, the failure when building the Vbox guest additions is different.

It still complains that the Kernel configuration is invalid, it cannot find include/generated/autoconf.h or include/config/auto.conf and tells me to
run

Code: Select all

make oldconfig && make prepare 
on the kernel source.

Weekend will be very busy, so I will retry during next week.

Porteus-v4.0rc4 bug reports

Posted: 25 Feb 2018, 12:42
by brokenman
ncmprhnsbl wrote:
23 Feb 2018, 21:52
@brokenman, guess what your job for this weekend is
:oops: :cry:
Very sorry. Corrected now.

Porteus-v4.0rc4 bug reports

Posted: 25 Feb 2018, 16:30
by Binary Enigma
jssouza wrote:
23 Feb 2018, 19:35
Could you tell us a little more on what an install to HDD means? Is it what is called as a "frugal" install of porteus?
I feel kinda dumb because I didn't know what you mean by frugal, and, after looking it up I am still not sure, but what I did was: Created an ext4 partition (Not sure if it matters but there's another partition first, exFat), extracted files from Porteus-CINNAMON-v4.0rc4-i586.iso into the root of said partition, ran Porteus-installer-for-Linux.com(had to change perms to executable first, which wasn't needed when I did the same for v3.2.2), then I just went to check if porteus.cfg was correct, it wasn't(at least in relation to v3.2.2), just changed "APPEND changes=/porteus" to "APPEND changes=/changes" (Which I believe was default in v3.2.2, if it wasn't, it was what I have in my working copy of it). After that, just restarted and booted from it, to find the previously reported problems.
In hindsight, it appears I probably installed it wrong, considering what I found when trying to figure out what you meant by frugal:
"Porteus can be installed to hard drives, but it should be left in its compressed state (otherwise known as a 'Frugal' installation). Installing extracted files to a hard drive is not supported" - although it worked perfectly for my copy of Porteus v3.2.2
I apologize for being quite noobish at this stuff, I kinda just use porteus as one would use a portable version of Windows, I like porteus because it's portable, fast on old machines(which is, unfortunately, all I use) and it gave me no problems(In v3.2.2, that is); I don't use it for anything too technical.
In relation to using VT, I already formatted the partition with porteus in it, to reinstall(since it seems I installed it wrong, I'd appreciate some info on how to do it right), if the problems then persist, I shall test some other things and report my findings then.

Porteus-v4.0rc4 bug reports

Posted: 25 Feb 2018, 18:56
by Ed_P
Thank you for trying Porteus and reporting your problems Binary Enigma. :)

Don't feel dumb, many people start with no prior experience. And by reporting and sharing your experience it allows other newbies to learn. :happy62:

Porteus-v4.0rc4 bug reports

Posted: 25 Feb 2018, 20:55
by paf
Sorry, but I think that the i586 images still have a problem.
Just tested XFCE.

Now, doing name uname -a the version that appears is 4.15.2-porteus, and a small message (easy to solve) says that the local time zone is not set.

Big issue: no networking because no network interfaces, and doing lsmod, no modules appear...

Possible cause: there is a /lib/modules/4.15.0-rc7-porteus/ folder...

My apologies for complaining...

Porteus-v4.0rc4 bug reports

Posted: 25 Feb 2018, 21:40
by fulalas
@paf, usually when network is not working you have mixed kernel module and USB stick/boot folder. Could you check, please? You need to have both coming from the same ISO file.

Porteus-v4.0rc4 bug reports

Posted: 25 Feb 2018, 21:43
by ncmprhnsbl
paf wrote:
25 Feb 2018, 20:55
My apologies for complaining...
not necessary, we appreciate your testing and bug reporting :)
paf wrote:
25 Feb 2018, 20:55
Possible cause: there is a /lib/modules/4.15.0-rc7-porteus/ folder...
@brokenman, seems the kernel module rebuild went awry?
Binary Enigma wrote:
25 Feb 2018, 16:30
I didn't know what you mean by frugal, and, after looking it up I am still not sure, but what I did was: Created an ext4 partition (Not sure if it matters but there's another partition first, exFat), extracted files from Porteus-CINNAMON-v4.0rc4-i586.iso into the root of said partition, ran Porteus-installer-for-Linux.com
this sounds correct, this is a frugal install (the confusion lies in the word 'extract'. jsouza was referring to extracting the base modules and running it as a 'normal' HD install(not supported))
Binary Enigma wrote:
25 Feb 2018, 16:30
ran Porteus-installer-for-Linux.com(had to change perms to executable first
sounds like a bug

Porteus-v4.0rc4 bug reports

Posted: 26 Feb 2018, 07:03
by jssouza
Binary Enigma, I installed 32bit cinnamon the way you did on virtualbox onto a virtual harddisk, and it seems to work fine after reboot.
Some things I noted:
- Porteus-installer-for-Linux.com was executable. I did not have to change permissions. Could you recheck please?
- porteus.cfg does have changes=/porteus. AFAIK, this was the same even in porteus 3.2.2.
But, since you had to change this to /changes, I assume you have a changes directory? Is this from your older 3.2.2? If yes, could you try booting without your changes and see if the problem still occurs?
Binary Enigma wrote:
25 Feb 2018, 16:30
I apologize for being quite noobish at this stuff
No need to apologize. And yes, the way you installed is definitely a frugal install.

Ed_P wrote:
23 Feb 2018, 19:48
Cinnamon DE

Attempting to view a ini file in an ISO file Archive Manager gives an error.
Archive Manager wrote:
An error occurred while extracting files.

Setting attribute time::created not supported
Thanks Ed_P, but only ini files? Looks like trying to open any file has this problem :shock:
Upgrading file roller to 3.26 seems to solve it, although nemo-file-roller may have problems with the latest file-roller.. I will look into it.

Porteus-v4.0rc4 bug reports

Posted: 26 Feb 2018, 14:54
by bour59
Porteus-XFCE-v4.0rc4-i586.iso 2018-02-25 12:41
no network interface
iwconfig says only : lo
no eth0