Linux upgrades
-
Topic authorcartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
Linux upgrades
In the past, when I upgraded my linux os's, I installed it parallel to my current version. I don't have the disk space to do that now. I don't even have the disk space to back up my home folder in one peice..I downloaded Suse 10.1 dvd and was wondering, before I start this, if I can upgrade Suse 10 to 10.1 and save my home folder from being erased in the process. I've never did it this way. I don't even know if it can be done. I used to run Suse 9.2 and 9.3 in parallel but never tried to upgrade 9.2 . Has anyone ever upgraded their linux system in this way? I'm going to backup my home folder in peices but I was hoping that upgrading the system will leave the data in my home folder untouched. I would appreciate any comments.
cartrite
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 4 months
- Location: Lyon (France)
I always upgrade my linux system this way:
- backup /etc to my home folder
- format the / filesystem and do a clean install and just leave /home unchanged.
It takes a bit of time to restore the /etc settings manually and re-install all the applications missing from the default install, but I never trusted the distributions' upgrade systems.
The good side of it is that since your personnal settings are all stored in your home, at least that doesn't need to be redone. My .kde probably dates back from the KDE 2.0 era, I've switched distribution several times since then and never had a problem with this method.
- backup /etc to my home folder
- format the / filesystem and do a clean install and just leave /home unchanged.
It takes a bit of time to restore the /etc settings manually and re-install all the applications missing from the default install, but I never trusted the distributions' upgrade systems.
The good side of it is that since your personnal settings are all stored in your home, at least that doesn't need to be redone. My .kde probably dates back from the KDE 2.0 era, I've switched distribution several times since then and never had a problem with this method.
Christophe
-
- Posts: 435
- Joined: 25.08.2004
- With us: 20 years 3 months
- Location: Brittany, close to the Ocean
Christophe wrote:I always upgrade my linux system this way:
- backup /etc to my home folder
- format the / filesystem and do a clean install and just leave /home unchanged.
...
I usually follow a similar method.
I also backup installed application-specific files in /usr/share and usr/local/share so that I am able to copy back everything after clean install of the new version of the OS.
I have a dozen apps that have survived upgrades from Mandrake 9 to Mandriva 2006. Will do the same soon to upgrade to Mandy 2007.
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu
-
Topic authorcartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
Christophe wrote:
How is that done?I thought that formats were done on partitions. If /home is in the partition being formated then that gets formatted as well?
Thanks guys for mentioning the backup of /etc . I probally would have forgot that. I think I'll back up /local as well. I always forget to back up something.
format the / filesystem and do a clean install and just leave /home unchanged.
How is that done?I thought that formats were done on partitions. If /home is in the partition being formated then that gets formatted as well?
Thanks guys for mentioning the backup of /etc . I probally would have forgot that. I think I'll back up /local as well. I always forget to back up something.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4
-
- Posts: 435
- Joined: 25.08.2004
- With us: 20 years 3 months
- Location: Brittany, close to the Ocean
Any decent installer should allow you to choose which partition to install the system to.
For maximum flexibility and safety, I always split my Linux drives into at least 4 partitions (plus swap obviously).
- /root (not meant as "root" user" but as the very top level /the root/ of the filesystem)
- /usr
- /usr/local
- /home
For maximum flexibility and safety, I always split my Linux drives into at least 4 partitions (plus swap obviously).
- /root (not meant as "root" user" but as the very top level /the root/ of the filesystem)
- /usr
- /usr/local
- /home
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Christophe wrote:I always upgrade my linux system this way:
- backup /etc to my home folder
- format the / filesystem and do a clean install and just leave /home unchanged.
It takes a bit of time to restore the /etc settings manually and re-install all the applications missing from the default install, but I never trusted the distributions' upgrade systems.
The good side of it is that since your personnal settings are all stored in your home, at least that doesn't need to be redone. My .kde probably dates back from the KDE 2.0 era, I've switched distribution several times since then and never had a problem with this method.
I consider it highly dangerous to reuse the whole content of the /etc dir for the upgraded version...
For SuSE <10, the whole SuSEconfig stuff, modprobe, X11-conf and hotplug etc is e.g. located there. For sure these config files change with every upgrade. For Suse >=10 lots of config files change relative to <10.
I usually save /etc somewhere and then carefully examine all config files in /etc one-by-one.
Also, I have /lots/ of custom applications in /usr/local which is best mounted on a separate partition, just like /home, of course. Then, one may indeed format the whole / partition such that the contents of /usr/local and /home remain untouched.
But in any case, upgrading a Linux distribution is always VERY tedious. It takes usually quite some time until everything is as desired and all the NEW bugs of the upgraded distribution are found and fixed!
Bye Fridger
-
Topic authorcartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
Boux wrote:
That's a great idea. Too late for Suse 10 now because I have it all on the one partition. But I'll do that when I install 10.1. Thanks.I always split my Linux drives into at least 4 partitions (plus swap obviously).
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4
-
- Posts: 435
- Joined: 25.08.2004
- With us: 20 years 3 months
- Location: Brittany, close to the Ocean
cartrite wrote:Boux wrote:That's a great idea. Too late for Suse 10 now because I have it all on the one partition. But I'll do that when I install 10.1. Thanks.I always split my Linux drives into at least 4 partitions (plus swap obviously).
Yeah, it is good practice to do so.
Concerning /etc, I do agree with t00fri. Not much stuff from it is re-usable actually.
Xorg.conf and fstab are two files that I always backup for reference.
When those two are known to be working, they can be life savers.
There are a few others: all the module and mod-something files can be useful to check which modules were required and loaded by the previous install.
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu
-
Topic authorcartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
t00fri wrote:
I been there. Scary thought. I still get scared today when Suse updates my kernel. After I have to reinstall my graphics drivers.But in any case, upgrading a Linux distribution is always VERY tedious. It takes usually quite some time until everything is as desired and all the NEW bugs of the upgraded distribution are found and fixed!
The one file I need to back up, and probally would have forgotten, is a file in the x system that I modified to recognize my monitor. It contains my monitors h-sync and v-sync info among other things as the defaut monitor settings. Otherwise, with Suse 10 at least, my monitor is impossible to start up in x mode and I got to do everything in text mode to get started.For SuSE <10, the whole SuSEconfig stuff, modprobe, X11-conf and hotplug etc is e.g. located there. For sure these config files change with every upgrade. For Suse >=10 lots of config files change relative to <10.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 4 months
- Location: Lyon (France)
t00fri wrote:I usually save /etc somewhere and then carefully examine all config files in /etc one-by-one.
Yes, that what I meant by "restore the /etc settings manually", just copying your old etc over is sure to break your system!
Having /usr/local or /opt on a separate patition might be a good idea too, but you can just as well make them symbolic links to someplace on /home.
By the way, I just upgraded from Dapper to Edgy. I'm now running xorg 7.1 with the beta NVidia drivers and everything, including Celestia, is working fine.
Christophe
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 4 months
- Location: Lyon (France)
-
Topic authorcartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
Thanks again for the tips guy's. It will take a while to work up the courage to do this. Some old memories started coming back today while I was looking into another problem I had a while back. It took a while to get this system stable and configured correctly. The main reason I was wanting to do this was an antisapated upgrade to ISIS3 that will be built and tested on the Suse 10.1 platform. Not out yet, so I still got a little time.
What's going on there with the x.org 7.1 thing? That looks weird. Does it spin around? Is that like a 3d cube or something?
What's going on there with the x.org 7.1 thing? That looks weird. Does it spin around? Is that like a 3d cube or something?
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 4 months
- Location: Lyon (France)
Yes, xorg 7.1 introduces the concept of a compositing window manager, a kind of "super" window manager which allows all kind of effects similar to the ones found on OSX or Windows Vista.
See the wikipedia compiz article for links to videos.
See the wikipedia compiz article for links to videos.
Christophe
-
Topic authorcartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
It seems that Suse 10.1 has a similar pakage that can do this called xgl. Apparently this currently is a little different.
http://en.opensuse.org/Xgl
http://principe.homelinux.net/
I'll have to study this thoroughly before I do this upgrade.
Is all of this part of Xorg 7?
No, Xgl is developed inside the Xorg community, but in a different branch. The merge is most likely to happen after Xorg 7.1 has been released.
http://en.opensuse.org/Xgl
http://principe.homelinux.net/
I'll have to study this thoroughly before I do this upgrade.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4
-
- Posts: 435
- Joined: 25.08.2004
- With us: 20 years 3 months
- Location: Brittany, close to the Ocean
cartrite wrote:It seems that Suse 10.1 has a similar pakage that can do this called xgl. Apparently this currently is a little different.http://en.opensuse.org/XglIs all of this part of Xorg 7?
No, Xgl is developed inside the Xorg community, but in a different branch. The merge is most likely to happen after Xorg 7.1 has been released.
http://principe.homelinux.net/
I'll have to study this thoroughly before I do this upgrade.
A beta driver has been released last week by Nvidia for users to test and report bugs about compiz and all.
http://www.nvnews.net/vbulletin/forumdisplay.php?f=14
There is a howto and a very interesting thread over there.
You will see that there are still many issues, not only with Xorg and its various extensions, but also with the driver.
All this stuff is in beta phase.
When it works, it will be a kind of revolution in the UI department.
Otherwise, the new driver works beautifully, with a new, more functional control panel. I recommend upgrading.
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu
-
Topic authorcartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
Bouxx wrote:
My current version of Suse 10.0 doesn't have compiz and is using xorg 6.8 so I'll have to wait till after the upgrade.
A beta driver has been released last week by Nvidia for users to test and report bugs about compiz and all.
My current version of Suse 10.0 doesn't have compiz and is using xorg 6.8 so I'll have to wait till after the upgrade.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4
-
- Posts: 435
- Joined: 25.08.2004
- With us: 20 years 3 months
- Location: Brittany, close to the Ocean
cartrite wrote:Bouxx wrote:My current version of Suse 10.0 doesn't have compiz and is using xorg 6.8 so I'll have to wait till after the upgrade.A beta driver has been released last week by Nvidia for users to test and report bugs about compiz and all.
No, no, this driver works beautifully on a current 6.x or 7.x Xorg without compiz and fancy stuff.
Very stable and a new control panel!
No joke, just try it
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu
-
Topic authorcartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
Boux wrote:
Which driver did you upgrade from? I was running 8774. i seen the control panel added a screen size setting and a few other things , but other then that it don't look much different from the driver 8774 control panel. i'll run it for a while to see if it gives me any problems..
Very stable and a new control panel!
Which driver did you upgrade from? I was running 8774. i seen the control panel added a screen size setting and a few other things , but other then that it don't look much different from the driver 8774 control panel. i'll run it for a while to see if it gives me any problems..
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4