WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PAE kernel or 64 bit kernel with 32 bit apps?  (Read 5229 times)

Offline donvon

  • Newbie
  • *
  • Posts: 4
PAE kernel or 64 bit kernel with 32 bit apps?
« on: October 28, 2018, 07:15:27 PM »
Hello.
Can i use 64 bit kernel with 32 bit apps?
I found some topics about this:
http://forum.tinycorelinux.net/index.php/topic,20089.msg124921.html#msg124921
http://forum.tinycorelinux.net/index.php/topic,21038.msg131419.html#msg131419
Tried to edit TinyCore-9.0.iso with ISOMaster, add vmlinuz64 + rootfs.gz + modules64.gz in /boot folder

This isolinux.cfg
LABEL tc
MENU LABEL Boot TinyCore
TEXT HELP
Boot TinyCore with Embedded X/GUI extensions.
Boot media is removable. Use TAB to edit options for specific needs.
ENDTEXT
KERNEL /boot/vmlinuz64
APPEND initrd=/boot/rootfs.gz,/boot/modules64.gz loglevel=3 cde

But this not work. Is it possible to do this with the iso file?
Or i'm doing something wrong...
Edit:
I also tried unpack rootfs.gz,modules64.gz with gzip,cpio and then do core.gz
« Last Edit: October 28, 2018, 07:44:38 PM by donvon »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14850
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #1 on: October 29, 2018, 01:44:40 AM »
Yes, you can use the 64-bit kernel with 32-bit apps.

Does this work:
Code: [Select]
LABEL tc
MENU LABEL Boot TinyCore
TEXT HELP
Boot TinyCore with Embedded X/GUI extensions.
Boot media is removable. Use TAB to edit options for specific needs.
ENDTEXT
KERNEL /boot/vmlinuz64
INITRD /boot/rootfs.gz,/boot/modules64.gz
APPEND loglevel=3 cde
« Last Edit: October 29, 2018, 01:57:35 AM by Juanito »

Offline donvon

  • Newbie
  • *
  • Posts: 4
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #2 on: October 29, 2018, 10:02:51 AM »
Yes, you can use the 64-bit kernel with 32-bit apps.

Does this work:
Code: [Select]
LABEL tc
MENU LABEL Boot TinyCore
TEXT HELP
Boot TinyCore with Embedded X/GUI extensions.
Boot media is removable. Use TAB to edit options for specific needs.
ENDTEXT
KERNEL /boot/vmlinuz64
INITRD /boot/rootfs.gz,/boot/modules64.gz
APPEND loglevel=3 cde

Tried right now with CD-RW. Same, nothing happens when try to boot

Offline donvon

  • Newbie
  • *
  • Posts: 4
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #3 on: October 29, 2018, 02:02:20 PM »
Downloaded the TinyCorePure64-9.0.iso, added the rootfs.gz, modules64.gz from here:
http://tinycorelinux.net/9.x/x86/release/distribution_files/
now could not find modules64.gz
Code: [Select]
Loading /boot/vmlinuz64....
Loading /boot/rootfs.gz....
Could not find ramdisk image: /boot/modules64.gz
« Last Edit: August 15, 2021, 10:56:45 PM by Rich »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #4 on: October 29, 2018, 08:43:06 PM »


I’m not yet sure what’s wrong with your boot loader though I'm sure its a syslinux version/boot config issue.  As you can see Core64   (Core-9 32bit userspace & Kernel x86_64) definitely boots as expected..

I’ll keep investigating...

Meanwhile try isolinux/syslinux v4.07 with the previous boot stanza either with an ISO or a USB install

Sent from my iPhone using Tapatalk
« Last Edit: October 29, 2018, 08:55:05 PM by coreplayer2 »

Offline donvon

  • Newbie
  • *
  • Posts: 4
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #5 on: October 30, 2018, 01:44:08 PM »
OK i found what's wrong. Problem in the file name length.
I renamed vmlinuz64 to vml64 and modules64 to mod64, now all works.

TinyCore-9.0.iso
won't boot
Code: [Select]
vmlinuz64
rootfs
modules64
works
Code: [Select]
vml64
rootfs
mod64

TinyCorePure64-9.0.iso
won't boot
Code: [Select]
vmlinuz64
rootfs
modules64
works
Code: [Select]
vmlinuz64
rootfs
mod64
« Last Edit: October 30, 2018, 01:59:51 PM by donvon »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #6 on: October 31, 2018, 06:01:39 AM »
That's probably due to your ISOmaster use. Please don't use such programs, generate isos from scratch using the known good tool mkisofs.
The only barriers that can stop you are the ones you create yourself.