LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-06-2012, 04:19 AM   #16
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189

I see. Seems like older versions of lilo have trouble handling xz compressed kernel images...
 
Old 08-06-2012, 04:32 AM   #17
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
The problem was more accurately the maximum number of sectors for kernel setup code being too short in lilo versions < 23.2. As stated by lilo-23-2's CHANGELOG:
Code:
    - Enlarge maximum number of sectors (MAX_SETUPSECS) for
        kernel setup code to 63.   (src/bootsect.S, src/lilo.h)
 
1 members found this post helpful.
Old 08-06-2012, 11:28 AM   #18
MJ12
LQ Newbie
 
Registered: Aug 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
I see, thanks for the answer. I wonder why that happened though? The first time I ran slackpkg upgrade-all and chose to get everything, I ran into that error. After that I ran it again but only grabbing the kernal and lilo this time and didn't get the error. Maybe I somehow unselcted lilo when I scrolled through the upgrade list the first time. Not sure how but hey, things happen.

Well, I think I'm about ready to install Slackware then (as soon as I get a new dvd drive). When I actually install it though I'm planning on just sticking with the stable versions. When a new stable version comes out will a slackpkg update be available so that one can get the updated mirrors?

Last edited by MJ12; 08-06-2012 at 11:40 AM.
 
Old 08-06-2012, 11:47 AM   #19
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Rep: Reputation: 50
Quote:
Originally Posted by MJ12 View Post
I see, thanks for the answer. I wonder why that happened though? The first time I ran slackpkg upgrade-all and chose to get everything, I ran into that error. After that I ran it again but only grabbing the kernal and lilo this time and didn't get the error. Maybe I somehow unselcted lilo when I scrolled through the upgrade list the first time. Not sure how but hey, things happen.

Well, I think I'm about ready to install Slackware then (as soon as I get a new dvd drive). When I actually install it though I'm planning on just sticking with the stable versions. When a new stable version comes out will a slackpkg update be available so that one can get the updated mirrors?
You can easily install from a USB memory stick, if you have one that's big enough.
 
Old 08-06-2012, 11:59 AM   #20
MJ12
LQ Newbie
 
Registered: Aug 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Unfortunately, I don't, I really need to upgrade.
 
Old 08-08-2012, 09:40 PM   #21
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
OT:

Quote:
Originally Posted by 414N View Post
Quote:
Originally Posted by kingbeowulf
Slackware-HOWTO is on the root of the installation DVD/CD. This explains the difference between HUGE and GENERIC kernels. It has nothing to do with memory, that depends on 32bit vs. 64bit kernels.
This is wrong. They are only two terms referring to two different configurations of the Linux kernel: one which has most modules builtin (the huge one) and one which has most modules loadable on request (generic).
This implies that a huge kernel has an image bigger than a generic one. If you look at the kernel packages (under the a/ category), you can see that (referring to Slackware64 13.37) the huge package is 6151KB while the generic one is 3166KB.
This has nothing to do with 32 bit vs 64 bit, PAE kernel or not.
Addressable memory has everything to do with 32- vs 64-bit kernels since an earlier post seemed to confuse "addressable RAM" (how much memory kernel supports) with modules (what hardware can I run).

What I pointed to was our beloved BDFL's explanantion of the difference in generic and huge (and he should know!) and not kernel arch. Isn't it better to point to the information than to just say one kernel is "bigger" than the other. Yes, you are right that the huge kernel has all the modules build in and so takes up more more space both on disk and in memory (feel better?). The generic kernel expects to find the modules elsewhere on hardware detection. Yes, O Great and Wise Slackware Guru, that is the difference. I am humbled that you took the time to respond to this unworthy one.
 
Old 08-09-2012, 01:43 AM   #22
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
@kingbeowulf: no need to be sarcastic. I now see, looking at it again, that I read wrong (actually, very wrong) your previous post, misunderstanding it all.
My humble excuses.
 
Old 08-09-2012, 01:53 AM   #23
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
@414N: No worries. I still have a bit of sarcasm left over from decades of Usenet that spills out from time to time. We all need to slow down to comprehend what we think we are reading...
 
Old 08-09-2012, 02:34 AM   #24
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 225

Rep: Reputation: 53
Why reinstall the slack? The upgrade process is really simply with Slack. I've personally upgraded multiple times from 12.0 to 13.37 without an issue. Just follow the UGRADE.txt and CHANGES_AND_HINTS.txt files and you are good to go.

Linux version is just a set of packages. In newer slack, there are newer versions and some packages are either added or removed. All that information is in the UPGRADE.txt file

So really there is no need to reinstall slack ever.
 
Old 08-09-2012, 10:58 PM   #25
MJ12
LQ Newbie
 
Registered: Aug 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Alright, I'm having trouble with sudo.

I made sure that my normal user account was in the wheel group and used visudo uncomment this line:

Code:
## Uncomment to allow members of group wheel to execute any command
 %wheel ALL=(ALL) ALL
I can use sudo for some things now, but not anything related to package management. I found an old thread on this that said I probably need to put PATH="$PATH:/usr/sbin" in either ~/.profile or ~/.bash_login. Well I did that (both were blank files by the way, not sure if that affects anything) however I am still unable to use package managers with sudo. What am I missing/doing wrong?
 
Old 08-09-2012, 11:20 PM   #26
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
There is no reason to use sudo in Slackware for maintenance of the system. Do everything package management related as root: just type "su" or "su -" in a terminal or xterm to become root.
 
Old 08-09-2012, 11:44 PM   #27
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 69
Quote:
Originally Posted by MJ12 View Post
Alright, I'm having trouble with sudo.

I made sure that my normal user account was in the wheel group and used visudo uncomment this line:

Code:
## Uncomment to allow members of group wheel to execute any command
 %wheel ALL=(ALL) ALL
I can use sudo for some things now, but not anything related to package management. I found an old thread on this that said I probably need to put PATH="$PATH:/usr/sbin" in either ~/.profile or ~/.bash_login. Well I did that (both were blank files by the way, not sure if that affects anything) however I am still unable to use package managers with sudo. What am I missing/doing wrong?
The administrative files are not part of the user's path in Slackware. You can either use /sbin/upgradepkg and such or edit /etc/profile and add /sbin and /usr/sbin to the user's path. Or just use sudo -i if you insist on using sudo.
 
Old 08-10-2012, 12:32 AM   #28
MJ12
LQ Newbie
 
Registered: Aug 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Ah thanks. I don't really have a problem using su most of the time, it's just that I'd prefer to be able to just sudo installpkg instead of logging in as super user just to install a single package.
 
Old 08-10-2012, 02:42 AM   #29
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Quote:
Originally Posted by MJ12 View Post
Ah thanks. I don't really have a problem using su most of the time, it's just that I'd prefer to be able to just sudo installpkg instead of logging in as super user just to install a single package.
You can also use the -c option for su:
Code:
su -c "command to execute as root"
The double quotes are needed if the command needs additional space-separated arguments.
 
Old 08-10-2012, 02:43 AM   #30
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Rep: Reputation: 50
Quote:
Originally Posted by MJ12 View Post
Ah thanks. I don't really have a problem using su most of the time, it's just that I'd prefer to be able to just sudo installpkg instead of logging in as super user just to install a single package.
This is easily accomplished - you'll need to adjust sudoers (using visudo). Have a look here and scroll down to Example Entries.

https://wiki.archlinux.org/index.php/Sudo

If you don't want to use vi use this command to use nano; use su if you need to.

Code:
export EDITOR=nano && visudo
 
  


Reply



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
Damn Small Linux questions rasidrasid Linux - Software 2 01-25-2012 08:44 AM
small questions sskraju Linux - Newbie 4 11-27-2009 10:17 AM
A few small questions Gortex Linux - Server 2 06-28-2007 03:12 AM
A couple of small questions Napalm Llama Linux - Software 6 06-06-2005 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:22 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
Open Source Consulting | Domain Registration