LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-17-2004, 06:53 PM   #1
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
upgrading to 10 from 9.1


so i decided to upgrade this here computer form slackware 9.1 to 10
but i didn't wanna scew it up so i wanted to copy everything over to a new partition first
mounted the new partition
cp -aR /* /new/
some difficulties in /dev/ and /var but whatever
lilo it
and rebooted to it
everything seems to work except xfce, or maybe its gnome
maybe its something in /var
now on to the upgrading...
followed the UPGRADE.txt from the slackware.iso
everything seems fine except now there's two cd's
adjusted for that
lilo'ed it
and copyed all the new (*.new) configuration files like PV(the man) said
still no xfce although the gtk apps i've tried seem to work fine
fonts are ugly (un aliased)
had to remake the users and make a new root password
no real question here just generalized ones
***************************************************************
is that password/user thing ok? i mean was it supposed to do that?
i guess a lot of the problems now are from having a new user on the old users home directory
i chowned the home directory but what about /var's permissions? and maybe /tmp's too
how should i have copied the installation over so as not to hang on fifo's and screw up var?
anything anybody want to add on this whole upgrading thing? pointers, do's,dont's,whatnot?
before i do the real upgrade ...
 
Old 10-08-2004, 07:13 PM   #2
SlackMaster
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Whenever I need to do a complete backup/copy of an installation, as you're doing here, I use a PartitionMagic floppy to copy the entire partition into a different hard drive. That way, if the upgrade fails, I can copy the partition back to restore the system exactly as it was just before the major upgrade.

Note that, because of the way that linux assigns partition numbers, the best way to restore a partition in this scenario is:
1. Delete the original, now messed up partition.
2. Copy the partition from the the secondary disk into the same location as the original partition on the primary disk.

This ensures that the restored partition has the same number and other attributes of the original partition. And your existing lilo config should work, with no changes.

As long as you followed the instructions in UPGRADE.TXT exactly, it should have worked fine.

Meaning:
1. Upgrade glibc libraries first.
2. Upgrade pkgtools second.
3. Upgrade/Install New sed-* packages
4. Upgrade everything else

You also might want to check within the /etc/ directory (and its subdirectories) for ".new" files, which are the new versions of config and startup files. You'll want to synch up each of your existing config and startup files with their ".new" counterparts. Basically, migrate your customizations and settings into the newer versions.
I usually use vimdiff to compare the two files and then manually change the appropriate settings in the new files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 01:09 PM
upgrading (or not upgrading) glibc richarde Slackware 9 09-12-2005 01:56 AM
upgrading from cd pranith Ubuntu 2 03-19-2005 05:27 AM
upgrading? clericvash Mandriva 2 09-23-2004 09:42 AM
upgrading 8.1 to 9.0 cerberus Slackware 6 05-13-2003 05:06 PM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration