Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrading ancient gentoo box
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
vicnumb
n00b
n00b


Joined: 21 Aug 2014
Posts: 4

PostPosted: Thu Aug 21, 2014 10:21 am    Post subject: Upgrading ancient gentoo box Reply with quote

I've a gentoo box 2008.0 which needs upgrading.

I was using tinderbox to substitute some binaries and all worked until this time when tinderbox is discontinued.

Any suggestions, how to upgrade a ancient gentoo?


Oh, forgot one thing here...
It's a colocation server. e.g. any new installations involve here new cloud servers back and forth movements and time.


Last edited by vicnumb on Thu Aug 21, 2014 11:38 am; edited 1 time in total
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Thu Aug 21, 2014 10:53 am    Post subject: Reply with quote

I'd rather start from scratch than spend probably more time with upgrading a system from 2008.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Thu Aug 21, 2014 2:39 pm    Post subject: Reply with quote

There's really no point in even trying to upgrade an install that old - save the home directory and reinstall.

Will
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Aug 21, 2014 3:49 pm    Post subject: Reply with quote

If you prefer the challenge, try the script listed at:

Gentoo: Tips to upgrade your really old installation

Otherwise, I agree with the others that starting over would be better.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3383

PostPosted: Thu Aug 21, 2014 4:10 pm    Post subject: Reply with quote

Out of curiosity, where does "really old" begin?

I have a box that went out of service some time this spring. In another month or so I'm planning on getting a new motherboard and building a new system to replace it. The hard drive is still OK, though it's EIDE, and I'm going to replace it because the new motherboard will be SATA-only. However that's not to stop me from plugging in a pci Promise card, booting the system with a rescue CD, and copying the old stuff over.

But by that time it will be something on the order of 6 months old, not 3 years, but still potentially problematic to upgrade. Several udevs, a big Perl, etc.

So where's the line between upgrade and start over? (I'll almost certainly copy /home, etc.)
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Thu Aug 21, 2014 4:16 pm    Post subject: Reply with quote

vicnumb,

Its easy to make your own tinderbox. Here is an outline I posted in response to a user that was having problems with gcc and glibc.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1746

PostPosted: Thu Aug 21, 2014 8:09 pm    Post subject: Reply with quote

depontius, I have upgraded 6 months old gentoo, it wasn't flawless, but the biggest problem in fact was avoiding upgrade from gnome 2 to 3 without getting rid of gnome. I think I'd rather upgrade it again than reinstall.
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Aug 21, 2014 8:55 pm    Post subject: Reply with quote

szatox wrote:
depontius, I have upgraded 6 months old gentoo, it wasn't flawless, but the biggest problem in fact was avoiding upgrade from gnome 2 to 3 without getting rid of gnome. I think I'd rather upgrade it again than reinstall.


The Problem with GNOME3, has been somewhat fixed with a new profile.

Code:
eselect profile list
  [1]   default/linux/amd64/13.0
  [2]   default/linux/amd64/13.0/selinux
  [3]   default/linux/amd64/13.0/desktop
  [4]   default/linux/amd64/13.0/desktop/gnome
  [5]   default/linux/amd64/13.0/desktop/gnome/systemd *
  [6]   default/linux/amd64/13.0/desktop/kde
  [7]   default/linux/amd64/13.0/desktop/kde/systemd
  [8]   default/linux/amd64/13.0/developer
  [9]   default/linux/amd64/13.0/no-multilib
  [10]  default/linux/amd64/13.0/x32
  [11]  hardened/linux/amd64
  [12]  hardened/linux/amd64/selinux
  [13]  hardened/linux/amd64/no-multilib
  [14]  hardened/linux/amd64/no-multilib/selinux
  [15]  hardened/linux/amd64/x32
  [16]  hardened/linux/musl/amd64
  [17]  default/linux/uclibc/amd64
  [18]  hardened/linux/uclibc/amd64


As you can see, optins 5 and 7, now set the USE Flags to automatically pull in systemd in place of OpenRC. In conjunction with the Gentoo Systemd Wiki, you should have no problem updating the system.

  1. Create a Tinderbox as outlined in Neddy's link. You've got to create at least the packages in the script for step 2.
  2. Perform the Steps listed in the link from my last post, as this will solve major blockers in the toolchain, alleviating the need for a tinderbox
  3. Code:
    emerge --sync

  4. Set a Profile that is systemd enabled, using eselect profile.
  5. Code:
    emerge -uav gentoo-sources
    to pull in a kernel supporting systemd
  6. Configure The Kernel Options described in the Wiki. Most of them are set by switching the profile in Step 1.
  7. Compile new kernel, but do not reboot.
  8. Do not be tempted to do a World update yet.
  9. Perform the installation of systemd only, taking note of the circular dependancy.
  10. Enable the NetworkManager use flag
  11. Code:
    emerge netifrc

  12. Update Grub with the new init line
  13. Reboot
  14. Code:
    systemctl enable NetworkManager

    Code:
    systemctl start NetworkManager
    This assumes you are using dhcpcd to obtain networking info
  15. Perform the World update
  16. Finish the systemd configuration using the wiki


This is of course assuming you want GNOME3.x which now requires systemd
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
vicnumb
n00b
n00b


Joined: 21 Aug 2014
Posts: 4

PostPosted: Fri Aug 22, 2014 8:59 am    Post subject: Reply with quote

eyoung100 wrote:
If you prefer the challenge, try the script listed at:

Gentoo: Tips to upgrade your really old installation

Otherwise, I agree with the others that starting over would be better.



Thank you very much. Unfortunately this site is discontinued and doesn't work any more:
http://tinderbox.dev.gentoo.org/

That was the reason to start this thread.
Back to top
View user's profile Send private message
vicnumb
n00b
n00b


Joined: 21 Aug 2014
Posts: 4

PostPosted: Fri Aug 22, 2014 9:07 am    Post subject: Reply with quote

okay guys these servers use specific configurations and no shells except bash and some facilities for that.
Back to top
View user's profile Send private message
vicnumb
n00b
n00b


Joined: 21 Aug 2014
Posts: 4

PostPosted: Fri Aug 22, 2014 9:07 am    Post subject: Reply with quote

NeddySeagoon wrote:
vicnumb,

Its easy to make your own tinderbox. Here is an outline I posted in response to a user that was having problems with gcc and glibc.



Thank you very much :)
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Fri Aug 22, 2014 1:20 pm    Post subject: Reply with quote

At a guess, six months is about the borderline between rebuild and reinstall. You can rebuild older installs,
but it really gets to be more trouble than its worth. Easier to clear out everything (and lose accumulated crud)
and start over.

Will
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum