:: Re: [DNG] Beowulf: 32bit or 64 bit?
Etusivu
Poista viesti
Vastaa
Lähettäjä: Patrick Bartek
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] Beowulf: 32bit or 64 bit?
On Wed, 25 Nov 2020 17:34:16 -0700
Fred <fred@???> wrote:

> On 11/25/20 4:56 PM, Patrick Bartek via Dng wrote:
> > On Wed, 25 Nov 2020 16:07:24 -0700
> > Fred <fred@???> wrote:
> >
> >> Hello,
> >>
> >> I recently upgraded from Debian Jessie to Devuan Beowulf. I tried
> >> to run a program (ClipGrab-3.9.2-x86_64.AppImage) which would not
> >> run.
> >>
> >> bash: ./ClipGrab-3.9.2-x86_64.AppImage: cannot execute binary file:
> >> Exec format error
> >>
> >> I asked for help on the Debian user mail list (because of previous
> >> discussion) and was told I am running a 32 bit version.
> >>
> >> uname -m
> >> i686
> >>
> >> lspci
> >> Architecture:        i686
> >> CPU op-mode(s):      32-bit, 64-bit
> >> (the rest cut)

> >>
> >> So, is Beowulf 32 bit or 64 bit?
> >
> > It can be either or both, that is, Multi-Architecture. It depends
> > on which version you chose to install. Evidently, you installed or
> > upgraded to the 32-bit version. Perhaps, your Jessie install was
> > 32-bit to begin with.
> >
> > B
> >
> > _______________________________________________
> > Dng mailing list
> > Dng@???
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> >
> I think Debian Jessie is 32 bit. To upgrade to Beowulf I just
> followed instructions that didn't say anything about 32 or 64. I
> just assumed Beowulf was 64 bit.
>
> My CPU appears to be able to do 64 so how do I change over?


The least problematical way is to back up your data, wipe the current
install and do a clean install of Beowulf 64-bit and all your apps.
However, I surmise, what you want is "the quick fix." Okay. Here's
what I'd do, generally speaking -- after considerable research, but mind
you, it's been about 10 years since I set up and ran a 32-bit,
64-bit multi-arch system:

Back up your data!!! Add AMD64 multi-architecture to get the 64-bit
libraries. This will also work with Intel CPUs. Install the 64-bit
kernel, if it hasn't been installed. Check that during the kernel
install, a new vmlinuz and initrd.img for it was created. Do an apt
update. Reboot with the 64-bit kernel. It won't be the default.
So, you'll have to choose it at the boot menu. Hopefully it will
boot. (If not, troubleshoot.) If system boots, check you're running
the 64-bit kernel. If so, do an apt update and upgrade. Install the
necessary and wanted 64-bit kernel headers, utilities, apps, etc. When
all is running well, make the 64-bit kernel your default boot kernel in
grub.

I'd leave all the 32-bit kernels, etc. alone. Don't try to purge them
to get a 100% 64-bit system. May cause problems and as long as you're
running 64-bit, all those files will just sit there and do nothing
except take up space on the hard drive.

This will get you started:

https://wiki.debian.org/Multiarch/HOWTO
https://wiki.debian.org/Multiarch/Implementation

Good luck

B