Porteus-LXDE-v4.0-i586.iso won't run

Post here if you are a new Porteus member and you're looking for some help.
3guesses
White ninja
White ninja
Posts: 8
Joined: 14 May 2018, 16:28
Distribution: antiX

Porteus-LXDE-v4.0-i586.iso won't run

Post#1 by 3guesses » 14 May 2018, 17:07

Hi,

I thought I would try installing Porteus on my Fit-PC Slim (w/ AMD Geode LX800 500MHz CPU + 512MB RAM), so I downloaded Porteus-LXDE-v4.0-i586.iso and used UNetbootin to create a bootable USB flash drive. However, when I tried booting from it, the installer reported:
This kernel requires an i686 CPU, but only detected an i586 CPU.
So I'm a bit confused as to why the i586 ISO won't work on an i586-based machine...

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-LXDE-v4.0-i586.iso won't run

Post#2 by Ed_P » 14 May 2018, 20:24

Try the Porteus USB_INSTALLATION instructions, see if they resolve the problem.

Code: Select all

Porteus can be installed to a flash drive or hard 
drive in several ways.

FOR EFI SYSTEMS:
Ensure the first partition is of type FAT32.
a) Copy the EFI, boot and porteus folders onto the FAT32 partition.
You may create a second partition with a linux filesystem for the porteus folder.
If you do so, you need to add the from=/mnt/sdb2 cheatcode to the porteus-v4.0-x86_64.cfg file.
This file is located in the porteus folder.

FOR BIOS SYSTEMS:
From Windows:
a) copy the contents of the ISO image to your drive
b) navigate to the \boot folder and launch the 
'Porteus-installer-for-Windows.exe' script
c) verify you are installing to the correct drive and press 'Enter' to 
complete the installation

From any Linux Distribution other than Porteus:
a) copy the contents of the ISO image to your drive
b) navigate to the /boot folder and launch the installer
'bash Porteus-installer-for-Linux.com'
c) verify you are installing to the correct drive and press 'Enter' to
complete the installation

From Porteus itself (booted from CD):
a) launch 'Porteus Installer' from the desktop menu,
 under the 'System' heading (if you are
prompted for the root password, it is toor)
b) plug in your usb drive or select a partition
on a hard drive
c) follow the on-screen instructions 

video presentations:
http://goo.gl/lB9uL
http://goo.gl/2noje


Porteus Team
Ed

3guesses
White ninja
White ninja
Posts: 8
Joined: 14 May 2018, 16:28
Distribution: antiX

Porteus-LXDE-v4.0-i586.iso won't run

Post#3 by 3guesses » 14 May 2018, 20:46

Ed_P wrote:
14 May 2018, 20:24
Try the Porteus USB_INSTALLATION instructions, see if they resolve the problem.

Code: Select all

Porteus can be installed to a flash drive or hard 
drive in several ways.

FOR EFI SYSTEMS:
Ensure the first partition is of type FAT32.
a) Copy the EFI, boot and porteus folders onto the FAT32 partition.
You may create a second partition with a linux filesystem for the porteus folder.
If you do so, you need to add the from=/mnt/sdb2 cheatcode to the porteus-v4.0-x86_64.cfg file.
This file is located in the porteus folder.

FOR BIOS SYSTEMS:
From Windows:
a) copy the contents of the ISO image to your drive
b) navigate to the \boot folder and launch the 
'Porteus-installer-for-Windows.exe' script
c) verify you are installing to the correct drive and press 'Enter' to 
complete the installation

From any Linux Distribution other than Porteus:
a) copy the contents of the ISO image to your drive
b) navigate to the /boot folder and launch the installer
'bash Porteus-installer-for-Linux.com'
c) verify you are installing to the correct drive and press 'Enter' to
complete the installation

From Porteus itself (booted from CD):
a) launch 'Porteus Installer' from the desktop menu,
 under the 'System' heading (if you are
prompted for the root password, it is toor)
b) plug in your usb drive or select a partition
on a hard drive
c) follow the on-screen instructions 

video presentations:
http://goo.gl/lB9uL
http://goo.gl/2noje


Porteus Team
Thanks, I'll give that a go. Where is that taken from BTW? That's not what it says on the Installation webpage (http://www.porteus.org/component/conten ... -v-10.html).

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-LXDE-v4.0-i586.iso won't run

Post#4 by Ed_P » 14 May 2018, 22:54

The USB_INSTALLATION.txt file is in the root of the ISO file.

Thanks for pointing out the webpage needs tweaking. :(
Ed

3guesses
White ninja
White ninja
Posts: 8
Joined: 14 May 2018, 16:28
Distribution: antiX

Porteus-LXDE-v4.0-i586.iso won't run

Post#5 by 3guesses » 16 May 2018, 09:56

OK, so I created a separate 1GB logical partition on my HDD and under XP formatted it to NTFS and extracted the contents of the ISO to it. I then ran the Porteus-installer-for-Windows.exe executable (from Explorer) which identified the correct drive letter for the partition and executed without error. However, when I then rebooted my PC complained that there was no bootable device, so I'm guessing the Porteus Windows installer screwed up the bootloader in the MBR - I had been using GRUB from antiX 13.2. It's a bit anti-social for the Porteus Windows installer to overwrite the MBR without warning or approval - given the option, I would have asked it to intall its bootloader to the PBS of the logical partition containing the Porteus installation and then I could have booted that using GRUB. That's what I did with my Slax installation. Anyway, I managed to re-install GRUB to the MBR from the antiX 13.2 live CD, but when I configured it to boot the Porteus installation I was greeted with the same error: "This kernel requires an i686 CPU, but only detected an i586 CPU."

So the upshot is that I still remain confused as to why the i586 ISO won't work on an i586-based machine.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus-LXDE-v4.0-i586.iso won't run

Post#6 by neko » 16 May 2018, 12:18

Issue: "This kernel requires an i686 CPU, but only detected an i586 CPU"

It might be concerned with kernel build.
https://www.spinics.net/lists/kernel/msg2713896.html

More study is needed.

Thanks.

3guesses
White ninja
White ninja
Posts: 8
Joined: 14 May 2018, 16:28
Distribution: antiX

Porteus-LXDE-v4.0-i586.iso won't run

Post#7 by 3guesses » 16 May 2018, 18:11

neko wrote:
16 May 2018, 12:18
Issue: "This kernel requires an i686 CPU, but only detected an i586 CPU"

It might be concerned with kernel build.
https://www.spinics.net/lists/kernel/msg2713896.html

More study is needed.

Thanks.
So there was a bug in Kconfig which didn't correctly identify i686 CPUs, but this has now been fixed? And this is why the message is being generated? If so, that still doesn't really explain why the i586 ISO doesn't work on i586 CPUs. And when you say "More study is needed", do you need more information/testing from me - or is that what you yourself need to do?

Thanks.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-LXDE-v4.0-i586.iso won't run

Post#8 by Ed_P » 16 May 2018, 18:36

3guesses wrote:
16 May 2018, 09:56
However, when I then rebooted my PC complained that there was no bootable device,
Was the complaint from the BIOS, Windows' bootloader or from GRUB?
Ed

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus-LXDE-v4.0-i586.iso won't run

Post#9 by neko » 16 May 2018, 18:57

@3guesses

"More study is needed"
---->
About it, I study more by myself.

Thanks.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Porteus-LXDE-v4.0-i586.iso won't run

Post#10 by brokenman » 18 May 2018, 01:00

If that patch has been pushed to mainline then perhaps you could try a newer kernel from our server to see if it solves the problem.
How do i become super user?
Wear your underpants on the outside and put on a cape.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus-LXDE-v4.0-i586.iso won't run

Post#11 by neko » 18 May 2018, 04:07

@brokenman
I have checked the patch about Porteus 4.0 kernel (4.16.3).
It was applied.

Using the config of porteus-4.16.8 (13-May-2018 14:15),
I built the 4.16.9 kernel.

Now I am in maze.


[linux-4.16.3/arch/x86/Kconfig.cpu]
---------------------
config X86_MINIMUM_CPU_FAMILY
int
default "64" if X86_64
default "6" if X86_32 && (MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7 || MEFFICEON || MATOM
|| MCRUSOE || MCORE2 || MK7 || MK8)
default "5" if X86_32 && X86_CMPXCHG64
default "4"
---------------------


Thanks.

3guesses
White ninja
White ninja
Posts: 8
Joined: 14 May 2018, 16:28
Distribution: antiX

Porteus-LXDE-v4.0-i586.iso won't run

Post#12 by 3guesses » 18 May 2018, 09:59

Ed_P wrote:
16 May 2018, 18:36
3guesses wrote:
16 May 2018, 09:56
However, when I then rebooted my PC complained that there was no bootable device,
Was the complaint from the BIOS, Windows' bootloader or from GRUB?
I can't be 100% sure, but I think the message is displayed when GRUB tries to execute the kernel - after selecting the Porteus installation to boot in GRUB, the screen blanks and displays these lines (some paraphrased):

Code: Select all

Booting Porteus [sda9]
root (hd0,8)
kernel /boot/syslinux/vmlinuz root=/dev/sda9
initrd /boot/syslinux/initrd.xz
This kernel require an i686 CPU...
I have several other Linux distros installed in other partitions on the HDD and they all boot without problem.

3guesses
White ninja
White ninja
Posts: 8
Joined: 14 May 2018, 16:28
Distribution: antiX

Porteus-LXDE-v4.0-i586.iso won't run

Post#13 by 3guesses » 18 May 2018, 09:59

brokenman wrote:
18 May 2018, 01:00
If that patch has been pushed to mainline then perhaps you could try a newer kernel from our server to see if it solves the problem.
I'm happy to try that - brief instructions?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Porteus-LXDE-v4.0-i586.iso won't run

Post#14 by fanthom » 18 May 2018, 10:45

Just checked and Porteus 4.0 kernel config has:

Code: Select all

CONFIG_M686=y
while it should have:

Code: Select all

CONFIG_M586=y
to be i586 arch compatible.
Not sure about gcc flags user for compilation of the userland ...

You may check if Porteus Kiosk 3.7.0 boots ok on your PC (just for testing):
http://porteus-kiosk.org/public/3.7/Por ... 0-i586.iso
http://porteus-kiosk.org/download.html#usb

Thanks
Please add [Solved] to your thread title if the solution was found.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-LXDE-v4.0-i586.iso won't run

Post#15 by ncmprhnsbl » 19 May 2018, 13:16

3guesses wrote:
18 May 2018, 09:59
i'm happy to try that - brief instructions?
first download the 000-kernel.xzm and vmlinuz from one of our mirrors http://porteus.org/porteus-mirrors
eg.
http://ftp.nluug.nl/os/Linux/distr/port ... us-4.16.8/
then, as root:
replace 000-kernel.xzm in sda9/porteus/base/
and
replace vmlinuz in sda9/boot/syslinux/
although if the 4.16.8 build has the same config as fanthom mentions it might not work either..
if it doesn't, one of the older kernels(in the /kernels dir on the server) might get you running for now, just make sure to use the matching vmlinuz..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply