LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how to upgrade slackware 13.0 to 13.1 (https://www.linuxquestions.org/questions/slackware-14/how-to-upgrade-slackware-13-0-to-13-1-a-844019/)

wakkana12 11-13-2010 05:51 AM

how to upgrade slackware 13.0 to 13.1
 
is there a way to upgrade from 13.0 using slackpkg or something more simpler?

MS3FGX 11-13-2010 06:08 AM

Every release of Slackware has a file named "UPGRADE.TXT" on the disc that explains how to upgrade from a previous release. The upgrade instructions for Slackware 13.1 can be downloaded here.

wakkana12 11-13-2010 06:45 AM

Quote:

Originally Posted by MS3FGX (Post 4157536)
Every release of Slackware has a file named "UPGRADE.TXT" on the disc that explains how to upgrade from a previous release. The upgrade instructions for Slackware 13.1 can be downloaded here.

thanks.. but is there a way to upgrade my box without downloading the disk?

sahko 11-13-2010 07:32 AM

Quote:

Originally Posted by wakkana12 (Post 4157545)
thanks.. but is there a way to upgrade my box without downloading the disk?

With slackpkg. All you have to do is point the mirror file to a 13.1 mirror. Id read CHANGES_AND_HINTS.TXT if i were you beforehand though.

wakkana12 11-13-2010 05:39 PM

Quote:

Originally Posted by sahko (Post 4157574)
With slackpkg. All you have to do is point the mirror file to a 13.1 mirror. Id read CHANGES_AND_HINTS.TXT if i were you beforehand though.

thanks.. i found this post here on linuxquestions http://www.linuxquestions.org/questi...ssible-812717/

should i upgrade my kernel first? im using 2.6.29.6-smp kernel.

sahko 11-13-2010 05:47 PM

I'd do what UPGRADE.TXT says, but using slackpkg.

Alien Bob 11-14-2010 04:26 AM

And if you are using slackpkg for the 13.0 -> 13.1 upgrade, the first thing to do is upgrade the slackpkg package itself or you'll have a nasty surprise half-way the upgrade process.

Eric

wakkana12 11-14-2010 07:18 AM

Quote:

Originally Posted by Alien Bob (Post 4158250)
And if you are using slackpkg for the 13.0 -> 13.1 upgrade, the first thing to do is upgrade the slackpkg package itself or you'll have a nasty surprise half-way the upgrade process.

Eric

thanks.. right now im updating may kernel to 2.6.36 then update my slackpkg

wakkana12 11-15-2010 05:52 AM

when upgrading my kernel from 2.6.2 to 2.6.36 i followed this link http://www.gidforums.com/t-1990.html all the way to the configuring the lilo and running /sbin/lilo command to add the new kernel.. but when restarting why cant i see the new kernel.. when running
Code:

/sbin/lilo
it returned a message saying that Linux2 was added.. can anyone help?

bnguyen 11-15-2010 07:37 AM

What about unofficial packages? Do they need to be rebuilt? Unofficial packages should be compatible with new versions of libraries but I never had the experience of upgrading a whole Slackware so I am not so sure about this.

MS3FGX 11-15-2010 01:08 PM

There is certainly no guarantee that software compiled against the older libraries will work as expected, or at all, with newer libraries. Forward compatibility is never certain.

Once all of the official packages are updated, you will need to check out each unofficial package manually to see if it still works properly or if you get any errors.

wakkana12 11-17-2010 04:35 AM

Quote:

Originally Posted by MS3FGX (Post 4159689)
There is certainly no guarantee that software compiled against the older libraries will work as expected, or at all, with newer libraries. Forward compatibility is never certain.

Once all of the official packages are updated, you will need to check out each unofficial package manually to see if it still works properly or if you get any errors.

waaaa.. i still cant add the new kernel on lilo.. i tried going through the steps all over again and there was no error...

Alien Bob 11-17-2010 04:58 AM

Quote:

Originally Posted by wakkana12 (Post 4161643)
waaaa.. i still cant add the new kernel on lilo.. i tried going through the steps all over again and there was no error...

Are you on Slackware at all? Slackware never had a 2.6.2 kernel;

Also provide more information than "it does not work" since we do not have crystal balls in this forum.

At least post the contents of your /etc/lilo.conf as well as the output of "ls -la /boot".

Eric

Martinezio 11-17-2010 05:13 AM

some off-topics ;)
 
Quote:

Originally Posted by Alien Bob (Post 4161664)
since we do not have crystal balls in this forum.

Well, but we can have it for very interested price:

http://everythingelse.shop.ebay.com/...=p3286.c0.m282

;D
Sorry for off-top, but I couldn't resists ;D

wakkana12 11-18-2010 06:53 AM

Quote:

Originally Posted by Alien Bob (Post 4161664)
Are you on Slackware at all? Slackware never had a 2.6.2 kernel;

Also provide more information than "it does not work" since we do not have crystal balls in this forum.

At least post the contents of your /etc/lilo.conf as well as the output of "ls -la /boot".

Eric

sorry my kernels is 2.6.29.6 and here's the output of
Code:

ls -la /boot
Code:

lrwxrwxrwx  1 root root      32 2010-11-12 18:53 System.map -> System.map-huge-smp-2.6.29.6-smp
-rw-r--r--  1 root root  993960 2009-08-17 14:18 System.map-generic-2.6.29.6
-rw-r--r--  1 root root 1021936 2009-08-17 13:20 System.map-generic-smp-2.6.29.6-smp
-rw-r--r--  1 root root 1463026 2009-08-17 14:32 System.map-huge-2.6.29.6
-rw-r--r--  1 root root 1495429 2009-08-17 13:53 System.map-huge-smp-2.6.29.6-smp
-rw-r--r--  1 root root    512 2010-11-12 19:11 boot.0302
-rw-r--r--  1 root root    168 2010-11-12 19:11 boot_message.txt
lrwxrwxrwx  1 root root      28 2010-11-12 18:53 config -> config-huge-smp-2.6.29.6-smp
-rw-r--r--  1 root root  96042 2009-08-17 14:18 config-generic-2.6.29.6
-rw-r--r--  1 root root  96218 2009-08-17 13:20 config-generic-smp-2.6.29.6-smp
-rw-r--r--  1 root root  96158 2009-08-17 14:32 config-huge-2.6.29.6
-rw-r--r--  1 root root  96246 2009-08-17 13:53 config-huge-smp-2.6.29.6-smp
-rw-r--r--  1 root root    5040 2008-11-30 02:43 diag1.img
-rw-------  1 root root  108032 2010-11-15 19:46 map
-rw-r--r--  1 root root  15754 2008-02-22 08:08 slack.bmp
lrwxrwxrwx  1 root root      29 2010-11-12 18:53 vmlinuz -> vmlinuz-huge-smp-2.6.29.6-smp
-rw-r--r--  1 root root 2386000 2009-08-17 14:18 vmlinuz-generic-2.6.29.6
-rw-r--r--  1 root root 2495952 2009-08-17 13:20 vmlinuz-generic-smp-2.6.29.6-smp
-rw-r--r--  1 root root 4768048 2009-08-17 14:32 vmlinuz-huge-2.6.29.6
-rw-r--r--  1 root root 4940304 2009-08-17 13:53 vmlinuz-huge-smp-2.6.29.6-smp
-rw-r--r--  1 root root 2708960 2010-11-15 19:45 vmlinuz6


here's my lilo.conf
Code:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/hda2

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda2
  label = Linux
  read-only

image = /boot/vmlinuz6
  root = /dev/hda2
  label = Linux2
  read# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/hda2

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda2
  label = Linux
  read-only

image = /boot/vmlinuz6
  root = /dev/hda2
  label = Linux2
  read-only
# Linux bootable partition config ends-only
# Linux bootable partition config ends



All times are GMT -5. The time now is 05:16 AM.