PDA

View Full Version : [ubuntu] Do I need to do a fresh install if upgrading my system?



c-m
October 14th, 2011, 10:14 AM
I'm about to upgrade the motherboard in my HTPC, including moving from an old Nvidia 6200 graphics card to an Intel X4500HD.

Now I know on windows that usually involves a fresh installation. But since drivers on Linux are all built into the kernel, does that mean that I can just pop in my old HDD and i'm good to go?

Obviously X will complain about the gfx drivers, but I can sort that from the terminal.

apollothethird
October 14th, 2011, 10:22 AM
I'm about to upgrade the motherboard in my HTPC, including moving from an old Nvidia 6200 graphics card to an Intel X4500HD.

Now I know on windows that usually involves a fresh installation. But since drivers on Linux are all built into the kernel, does that mean that I can just pop in my old HDD and i'm good to go?

Obviously X will complain about the gfx drivers, but I can sort that from the terminal.

The latter has been my experience. I installed Ubuntu on a usb pen drive which I often takes between various computers and laptops that has just about everything different. As long as the computer's bios have a USB boot device option, it boots without problems.

From time to time I have options to fine tune for some hardware differences, but it always works.

I also often take internal hard drives between various computers after system upgrades or other events and don't experience major problems. A few times the nic boots up to eth1 instead of eth0 or the graphics doesn't have the same resolution as on a previous hardware configuration, but it's never something that simple fine tuning doesn't easily resolve.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames (http://www.apollo3.com/%7Eljames)

c-m
October 14th, 2011, 11:05 AM
Cool. That just makes everything so much easier.

c-m
October 14th, 2011, 06:43 PM
Doesn't work. I'm getting this error on boot:

GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

Any ideas?

apollothethird
October 15th, 2011, 12:50 PM
Doesn't work. I'm getting this error on boot:

GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

Any ideas?

You appear to have some glitch with your userid. You can try creating another user account and run it from there. Be sure to give the user account sudoer access.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames

c-m
October 15th, 2011, 04:53 PM
Can't boot the system, so there is no way of creating another account.

The system boots straight into GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

The only option then is to restart the system.

apollothethird
October 15th, 2011, 05:54 PM
Can't boot the system, so there is no way of creating another account.

The system boots straight into GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

The only option then is to restart the system.

Try booting to the Live CD. Mount your Ubuntu partition, then chroot to that partition. Then try to create a new account.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames