WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline donvon

  • WikiUser
  • *
  • Posts: 4
PAE kernel or 64 bit kernel with 32 bit apps?
« on: October 28, 2018, 04: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, 04:44:38 PM by donvon »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #1 on: October 28, 2018, 10:44:40 PM »
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 28, 2018, 10:57:35 PM by Juanito »

Offline donvon

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

Does this work:
Code: newbielink:javascript:void(0); [nonactive]
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

  • WikiUser
  • *
  • Posts: 4
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #3 on: October 29, 2018, 11:02:20 AM »
Downloaded the TinyCorePure64-9.0.iso, added the rootfs.gz, modules64.gz from here:
newbielink:http://tinycorelinux.net/9.x/x86/release/distribution_files/ [nonactive]
now could not find modules64.gz
Code: newbielink:javascript:void(0); [nonactive]
Loading /boot/vmlinuz64....
Loading /boot/rootfs.gz....
Could not find ramdisk image: /boot/modules64.gz
« Last Edit: October 29, 2018, 11:23:58 AM by donvon »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #4 on: October 29, 2018, 05: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, 05:55:05 PM by coreplayer2 »

Offline donvon

  • WikiUser
  • *
  • Posts: 4
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #5 on: October 30, 2018, 10:44:08 AM »
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: newbielink:javascript:void(0); [nonactive]
vmlinuz64
rootfs
modules64
works
Code: newbielink:javascript:void(0); [nonactive]
vml64
rootfs
mod64

TinyCorePure64-9.0.iso
won't boot
Code: newbielink:javascript:void(0); [nonactive]
vmlinuz64
rootfs
modules64
works
Code: newbielink:javascript:void(0); [nonactive]
vmlinuz64
rootfs
mod64
« Last Edit: October 30, 2018, 10:59:51 AM by donvon »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10022
Re: PAE kernel or 64 bit kernel with 32 bit apps?
« Reply #6 on: October 31, 2018, 03: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.