Tiny Core Linux
General TC => General TC Talk => Topic started by: donvon 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,20089.msg124921.html#msg124921)
http://forum.tinycorelinux.net/index.php/topic,21038.msg131419.html#msg131419 (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
-
Yes, you can use the 64-bit kernel with 32-bit apps.
Does this work: 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
-
Yes, you can use the 64-bit kernel with 32-bit apps.
Does this work: 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
-
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
Loading /boot/vmlinuz64....
Loading /boot/rootfs.gz....
Could not find ramdisk image: /boot/modules64.gz
-
(https://uploads.tapatalk-cdn.com/20181030/95212f055ad55df7ec594086942032b0.jpg)
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
-
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
vmlinuz64
rootfs
modules64
works
vml64
rootfs
mod64
TinyCorePure64-9.0.iso
won't boot
vmlinuz64
rootfs
modules64
works
vmlinuz64
rootfs
mod64
-
That's probably due to your ISOmaster use. Please don't use such programs, generate isos from scratch using the known good tool mkisofs.