Results 1 to 3 of 3

Thread: 64 bit Ubuntu kernel for a currently installed 32 bit userspace?

  1. #1
    Join Date
    Apr 2009
    Beans
    298
    Distro
    Kubuntu

    64 bit Ubuntu kernel for a currently installed 32 bit userspace?

    Hi.

    I was wondering if there was a simple way, either using dpkg Multiarch, or a .deb that reports itself as an i386 package to the package manager that contains a 64 bit Kernel and modules.

    The reason why I ask is that although I have a 64 bit processor, when I installed my system in 2010, all I had was a 32 bit disk, and I currently don't really have much time to do a full reinstall,

    And the reason I need a 64 bit kernel is so I can run 64 bit chroots so I can build 64 bit live cds.

    (As a temporary solution, what I had to do was boot a 64 bit live CD, passing init=/bin/bash as a kernel option, then mounting my drive, then bind mount over the /media/lib/modules/version, then using pivot_root, and then running exec /sbin/init. allowing me to use everything, except for VirtualBox because it's Kernel modules are not installed on the Live CD.)

    My only concern is if DKMS. would work...
    The glass is at 50% of its capacity.


  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,050
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 64 bit Ubuntu kernel for a currently installed 32 bit userspace?

    You could try a force install (dpkg -i --force-all), but that would probably break your system in subtle and not so subtle ways. I would partition your hard drive or add a hard drive and do a proper 64-bit installation, and make it dual boot. That way you still have your working distro and a new, 64-bit distro for making your disks and to migrate to in the future.

    Unlike wikipedia, what you say sounds good in theory, but not in practice.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3
    Join Date
    Apr 2009
    Beans
    298
    Distro
    Kubuntu

    Re: 64 bit Ubuntu kernel for a currently installed 32 bit userspace?

    Quote Originally Posted by tgalati4 View Post
    You could try a force install (dpkg -i --force-all), but that would probably break your system in subtle and not so subtle ways. I would partition your hard drive or add a hard drive and do a proper 64-bit installation, and make it dual boot. That way you still have your working distro and a new, 64-bit distro for making your disks and to migrate to in the future.

    Unlike wikipedia, what you say sounds good in theory, but not in practice.
    Oh.

    I tried forcing multiarch for linux-generic, but ran into weirdness with the kernel headers, and dkms.

    What I guess I'll have to do is install an older kernel with multiarch as 64 bit, and keep the linux-generic as 32 bit.

    I'll switch between kernels from when I need to build my ISOs, and then use my 32 bit to use VirtualBox as it relies on dkms, and I'll still be able to retain using the same userspace and configurations.
    The glass is at 50% of its capacity.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •