Ask Your Question
0

How do I upgrade to a 64bit Linux kernel from a 32-bit installation while keeping my files and installed programs!

asked 2018-05-06 04:45:40 -0500

Aligator gravatar image

I am currently having issues with my 32-bit Linux kernel installation and I think a 64-linux kernel will be better, how do I upgrade and keep my files and installed programs as well

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-05-06 05:51:15 -0500

Guus gravatar image

updated 2018-05-06 05:57:34 -0500

Not sure what kind of problems you are are having (you don't specify), but switching to a 64 bit kernel is possible. You will have to do a new install of the kernel. As you have to do a new install, you cannot keep your currently installed programs, but you can install them after installing the new kernel. If you have 32-bit programs that need to stay 32 bit (usually wine etc) they should also work on the 64 bit kernel. Now, whether you can keep your data depends on your file system setup. I can see 2 possibilities:

  1. Your data is part of the same file system / partition as your system software (kernel).
  2. Your data is on a separate file system / partition.

In case 1 you will have to backup your data and install the system. It might be an idea to create a separate mount point for your data. I usually tend to create a different partition or disk for my /home directory which I then mount. So it should be part of your /etc/fstab.

In case 2 you already have your system software and your data separate, so you could just install the new kernel on the system partition. Don't forget to save your configuration files if they are different from default and restore them after installation. Take care to check whether the configuration files had a change that is relevant to your setup. A backup of your data files is never a bad idea, even if your setup is to separate data and system.

Hope this helps you.

P.S. If your problems turn out to be hardware related, switching to 64 bits might not help.

edit flag offensive delete link more

Comments

The problem am having at hand, is that my Fedora gdm will not take me to the desktop login page, it's giving errors. I was able to get to the virtual terminal were I realized that the problem is partly with the 32-bit kernel running on a 64-bit system.

please, is there a command to upgrade the Linux kernel to 64bit

Thank you!

Aligator gravatar imageAligator ( 2018-05-06 06:51:12 -0500 )edit

Try to uncomment the line

WaylandEnable=false

in /etc/gdm/custom.conf

On my system wayland stopped working, although it was working in FC28-beta until a few weeks before the official FC28 was released.

villykruse gravatar imagevillykruse ( 2018-05-06 10:02:51 -0500 )edit

@Aligator You can upgrade a system with dnf, even across releases, but ..... you cannot upgrade from 32 bits to 64 bits, because the binary systems of 32 and 64 are not compatible. The system itself is either fully 32 bits or fully 64 bits. As for your problem: it does not sound like a 32-bit problem. It sounds like a bug in the software or a configuration error. @villykruse's comment indicates it might be a software problem. Try to find out more about the cause of the problem, that should help give you an idea how to solve it. For now you could follow the advice of @villykruse.

Guus gravatar imageGuus ( 2018-05-06 11:19:00 -0500 )edit

Please how do uncomment the lineWaylandEnable =false in etc/gdm/custom.conf

Aligator gravatar imageAligator ( 2018-05-06 11:48:03 -0500 )edit

I tried getting into the file from the virtual console but It will not allow me: saying Permission denied

Aligator gravatar imageAligator ( 2018-05-06 11:49:19 -0500 )edit
0

answered 2018-05-07 09:11:40 -0500

florian gravatar image

Backup your personal data and then reinstall Fedorax8664.

The likelihood you end up with a mess when trying to convert your system and even programs is just too high. Do a clean reinstall and you spend much less time fixing.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-05-06 04:45:40 -0500

Seen: 104 times

Last updated: May 07