LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   upgrading from 14.0 to 14.1 (http://www.linuxquestions.org/questions/slackware-14/upgrading-from-14-0-to-14-1-a-4175484015/)

TroN-0074 11-09-2013 10:03 AM

upgrading from 14.0 to 14.1
 
Is there a guide on how to upgrade without having to install on top of my current system. It will be a mess installing considering I also have BSD and Arch in the same computer. Boot loader is controlled by Arch.

I will appreciate it. Thanks

ruario 11-09-2013 10:21 AM

read UPGRADE.TXT and CHANGES_AND_HINTS.TXT

---------- Post added 09-11-13 at 17:22 ----------

or have I misunderstood you?

hitest 11-09-2013 10:27 AM

I have successfully upgraded 14.0 to -current prior to the release of 14.1 using slackpkg. That should work.

jtsn 11-09-2013 10:44 AM

Dist-Upgrading via slackpkg isn't recommended, following the instructions in UPGRADE.TXT is the way to go.

Stuferus 11-09-2013 11:01 AM

its kinda recommended as you see here jtsn:

http://docs.slackware.com/howtos:sla...ystemupgrade?s[]=upgrade

hemp4fuel 11-09-2013 11:38 AM

slackpkg worked for me.

Didier Spaier 11-09-2013 11:48 AM

Quote:

Originally Posted by Stuferus (Post 5061373)
its kinda recommended [...]

Kinda? Using slackpkg is an alternate method. UPGRADE.TXT being written by Patrick Volkerding, you can safely consider the method proposed there as recommended ;)

hitest 11-09-2013 11:58 AM

Quote:

Originally Posted by Didier Spaier (Post 5061388)
UPGRADE.TXT being written by Patrick Volkerding, you can safely consider the method proposed there as recommended ;)

Yes. Using the upgrade guide written by Pat is the recommended way to go. You can upgrade via slackpkg, it will work(alternate method).
You will need to add a 14.1 mirror to /etc/slackpkg/mirrors
I would edit /etc/slackpkg/slackpkg.conf and set DOWNLOAD_ALL=off to on.
When you have a 14.1 mirror in place then

# slackpkg update gpg
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system

It should work(YMMV). But, back-up anything you cannot afford to lose. Also run lilo when prompted.

TroN-0074 11-09-2013 12:01 PM

Quote:

Originally Posted by hitest (Post 5061395)
Also run lilo when prompted.

Arch is controlling the Bootloader so currently I am using GRUB2.

I really appreciate all the replies to this thread. Thank you

hitest 11-09-2013 12:06 PM

Quote:

Originally Posted by TroN-0074 (Post 5061397)
Arch is controlling the Bootloader so currently I am using GRUB2.

I really appreciate all the replies to this thread. Thank you

Right. I'm not as familiar with GRUB as lilo. Given that Arch is controlling the boot loader then the upgrade guide may be a better path to follow. I will let other members advise you.
Good luck, man! :)

Bertman123 11-09-2013 12:17 PM

Quote:

Originally Posted by hitest (Post 5061395)
Yes. Using the upgrade guide written by Pat is the recommended way to go. You can upgrade via slackpkg, it will work(alternate method).
You will need to add a 14.1 mirror to /etc/slackpkg/mirrors
I would edit /etc/slackpkg/slackpkg.conf and set DOWNLOAD_ALL=off to on.
When you have a 14.1 mirror in place then

# slackpkg update gpg
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system

It should work(YMMV). But, back-up anything you cannot afford to lose. Also run lilo when prompted.

Going from 14.0 to 14.1 using slackpkg you may need to upgrade to -current first then change the mirror back to one from 14.1.

hitest 11-09-2013 12:20 PM

Quote:

Originally Posted by Bertman123 (Post 5061402)
Going from 14.0 to 14.1 using slackpkg you may need to upgrade to -current first then change the mirror back to one from 14.1.

Yeah. That advice assumed the use of lilo(he is using GRUB). I'm not sure that is the best route to follow.

jtsn 11-09-2013 11:28 PM

Quote:

Originally Posted by Stuferus (Post 5061373)
its kinda recommended as you see here jtsn

You misunderstood, it is not recommended by me. :)

You are still free to do what you want.

The main issue I see with slackpkg for dist-upgrades is the package installation order, which is important.

First you install the new kernel packages using installpkg and boot into the new huge kernel to make sure, it works on your machine. (This is not in the instructions, but I prefer to do it this way.) If anything breaks, you just abort the dist-upgrade.

After having the new Linux up and running, you always start the upgrade by upgrading glibc-solibs and pkgtools, then install packages by series, using upgrade-pkg --install-new without. The latter is an separate step in slackpkg, which is easily forgotten.

slackpkg ist perfectly fine for installing patches though.

Drakeo 11-09-2013 11:56 PM

grub 2 and grub legacy. since you have Arch as your host system Main one. install slackware and then skip lilo.
for grub2 boot to arch run your update-grub it will see the new partition and find the /boot/kernel and hopefully write it in correct.
For grub before you start the install just edit the /boot/grub/menu.lst
Quote:

title Slackware 14.1 (/dev/sda1)
root (hdX,X)
kernel /boot/vmlinuz root=/dev/sdaX ro vga=normal
# Linux bootable partition config ends
that will get you started.
If all else fails you will need to edit grub2 /etc/grub.d/40_custom.

Stuferus 11-10-2013 04:01 AM

Quote:

Originally Posted by jtsn (Post 5061667)
You misunderstood, it is not recommended by me. :)

ok, that makes more sense for me ;) lol


All times are GMT -5. The time now is 06:31 AM.