LinuxQuestions.org
Review your favorite Linux distribution.
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 12-30-2011, 03:35 PM   #16
lghizoni
Member
 
Registered: Dec 2011
Location: Denmark
Distribution: Slackware, Debian
Posts: 102

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by honeybadger View Post
Try doing this. Login as root and run 'pkgtool'. It will give you some option one of them would be to run the init scripts again. This time when you select boot mode select textmode. Then run 'startx' or 'startxfce' and you should be able to see the screen. In case you do not then run 'xorgconf' as root and just keep hitting enter until it ends and then run 'startx'. Once you get the desktop you will find prefrences -> administration and then you would be able to set the monitor in a gui mode.
Hope this helps.
Thank you! When I run pkgtool as root I chose "Setup -> Choose Slackware installation scrypts to run again". Is that it?

Then I had a lot of choices, but I didn't find any boot selection, just "Setup LILO to boot Linux"

What scripts should I choose?
 
Old 12-30-2011, 03:38 PM   #17
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member response

Hi,

Post your '/etc/lilo.conf' file. I am sure that you only have one stanza for one boot option and that is for label 'Linux';
Quote:
excerpt from 'man lilo.conf';
When booting, the boot loader will issue its boot: prompt and wait for you to enter the label of
the kernel (and any options) which you wish to boot. At any time you may hit [Tab] to see a list
of kernel/other labels. Alternately, if the menu boot loader is installed, a menu of boot
options will be presented for your selection. The title of this menu is overridden with the menu
title specification in this configuration file. If you enter nothing, then the default kernel
image, the first mentioned, (/boot/zImage-1.5.99) will be booted after a timeout of 15 seconds
(150 deciseconds). There may be at least 16 images mentioned in lilo.conf. (The exact number
depends upon compilation options.)
You can append in the global section or addappend within the image stanza(s);
Quote:
excerpt 'man lilo.conf'
addappend=<string>
(22.6) The kernel parameters from the specified string, are concatenated to the parame-
ter(s) from an append= specification (see below). The string must be enclosed within dou-
ble quotes. Usually, the previous append= will specify parameters common to all kernels
by appearing in the top, or global, section of the configuratin file and addappend= will
be used to add local parameter(s) to an individual image. Addappend= may be used only
once per "image=" section.

append=<string>
Appends the options specified to the parameter line passed to the kernel. This is typi-
cally used to specify hardware parameters that can't be entirely auto-detected or for
which probing may be dangerous. Multiple kernel parameters are separated by a blank space,
and the string must be enclosed in double quotes. A local append= appearing withing an
image= section overrides any global append= appearing in the top section of the configura-
tion file. Append= may be used only once per "image=" section. To concatenate parameter
strings, use "addappend=". Example:

append="mem=96M hd=576,64,32 console=ttyS1,9600"
'Man command' is your friend, learn to use the 'man'.

Two good references Slackware® Essentials & Slackware® Basics.

Another useful resource would be 'Slackware-Links'. More than just Slackware® links!

You will find the following tutorial useful;
Quote:
excerpt from sticky 'So you want to be a Slacker! What do I do next?';

'New tutorials for installing and configuring Slack ' is a thread for a great tutorial: http://genek.net/LinuxAdventures/ins...allation1.html by 2handband. I recommend that all should look at this new tutorial for Slackware. Great for everyone!
http://genek.net/LinuxAdventures/sysadmin/index.html << new temp link

Newbies will learn a lot by following the sections within. As for the experienced users, it's a good place for us to recommend corrections or suggest areas that concern you. I for one participate with 2handband on subjects that I'm interested in: Slackware! Several other members have participated.
HTH!
 
Old 12-30-2011, 03:46 PM   #18
lghizoni
Member
 
Registered: Dec 2011
Location: Denmark
Distribution: Slackware, Debian
Posts: 102

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BlackRider View Post
Any text editor which you could easily use as root will suffice. For simple administrative tasks you can invoke nano.

Code:
$ su -c 'nano /etc/lilo.conf'


The "[options]" were just meant to show you that you can append any booting option you want, and it will be considered a "default". For example, you can pass the "nomodeset" option.



They are set somewhere in /etc/lilo.conf



It is another idea, but running the install scripts again is basically going to automatically comment/uncomment the "vga" options as I told in my first post.
Thank you BlackRider!

As for my append, it shows append="default_utf8=0". Can I change it and insert the one you suggested?
 
Old 12-30-2011, 03:54 PM   #19
BlackRider
Member
 
Registered: Aug 2011
Posts: 295

Rep: Reputation: 101Reputation: 101
Quote:
As for my append, it shows append="default_utf8=0". Can I change it and insert the one you suggested?
I think you are referring to a general "append" in the config file. You'd better let it be and search the particular one for Slackware. If you have no particular "append" for Slackware, then just create it and set the options you require. A plain append="nomodeset" would do the trick for you, but you can place as many options as you want. My example line contains "quiet" and "resume=/swap/partition" just for instructive purposes, you don't really need to set them.

Please, don't do anything to /etc/lilo.conf without understanding what are you doing, you could have your boot mechanism toasted!

Last edited by BlackRider; 12-30-2011 at 04:08 PM.
 
Old 12-30-2011, 04:14 PM   #20
lghizoni
Member
 
Registered: Dec 2011
Location: Denmark
Distribution: Slackware, Debian
Posts: 102

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BlackRider View Post
I think you are referring to a general "append" in the config file. You'd better let it be and search the particular one for Slackware. If you have no particular "append" for Slackware, then just create it and set the options you require. A plain append="nomodeset" would do the trick for you, but you can place as many options as you want. My example line contains "quiet" and "resume=/swap/partition" just for instructive purposes, you don't really need to set them.

Please, don't do anything to /etc/lilo.conf without understanding what are you doing, you could have your boot mechanism toasted!
Ok, I thing I found the right one now:

image = /boot/vmlinuz
root = /dev/root
initrd = /boot/initrd.gz
label = Linux
read-only

So I think I have no particular "append" for Slackware. Is that correct? So I just create it? And what should be the output? The one you suggested?
 
Old 12-30-2011, 06:08 PM   #21
BlackRider
Member
 
Registered: Aug 2011
Posts: 295

Rep: Reputation: 101Reputation: 101
Quote:
So I think I have no particular "append" for Slackware. Is that correct? So I just create it? And what should be the output? The one you suggested?
Yeah, you just have to create your particular "append" entry. It could be something as follows:

Code:
image = /boot/vmlinuz
root = /dev/root
initrd = /boot/initrd.gz
label = Linux
append = "nomodeset"
read-only
Save the file, run "lilo" as root and you are done!
 
Old 12-30-2011, 07:41 PM   #22
Noony
LQ Newbie
 
Registered: Feb 2009
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
Hi all,
Reading your first post, I think you must have an nVidia display card. If so, you will get normal looking boot messages for a little while before it goes black. The normal behavior occurs before the nouveau driver is activated. At the moment when the nouveau driver is activated, it chooses it's own display parameters irrespective of what you asked for. In my case, it changed to a microscopic sized print instead of turning it black.

There is a concept called "blacklisting" a driver, which means preventing a driver from being activated automatically. Slackware has a package called "xf86-video-nouveau-blacklist-noarch-1.txz" which can be installed like any other package. This package is in the "extra" directory on the 4th install CD. If you cd to the appropriate directory and type upgradepkg xf*txz, this package will replace the nouveau driver package. That eliminates the nouveau driver, but you can get it back later, if necessary, by doing the same command on the driver package in the "x" directory on the install CD's.

After doing this you should be able to use "VGA = 773" or whatever, in lilo.conf.
 
Old 12-30-2011, 10:28 PM   #23
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member response

Hi,

Quote:
Originally Posted by BlackRider View Post
Yeah, you just have to create your particular "append" entry. It could be something as follows:

Code:
image = /boot/vmlinuz
root = /dev/root
initrd = /boot/initrd.gz
label = Linux
append = "nomodeset"
read-only
Save the file, run "lilo" as root and you are done!
Sorry, but you should use the 'append=' in the 'Global' section not in the image section. If you wish to use the passing of parameter within the image stanza then one would use the 'addappend=' for passing additional parameters to the kernel. You can only use the 'append=' once in the 'lilo.conf' as per the documentation.
Code:
image = /boot/vmlinuz
root = /dev/root
initrd = /boot/initrd.gz
label = Linux
addappend = "nomodeset"
read-only
You can add parameters options to the 'append=' in the global section then 'addapend=' to pass additional parameters within any of the image stanza(s). Do a 'man lilo.conf' & 'man lilo' to understand how to use properly.

@OP It would help if you posted requested information so we can help without shooting in the dark.
HTH!
 
Old 12-31-2011, 05:57 AM   #24
lghizoni
Member
 
Registered: Dec 2011
Location: Denmark
Distribution: Slackware, Debian
Posts: 102

Original Poster
Rep: Reputation: Disabled
New Slackware user - Some problems

Hello all,

I've already been a Ubuntu and Debian user. Now want to try Slackware, but I'm having 2 initial problems:

1. The first time I installed Slackware I tried to create a /home partition, using FAT16(32M). But then something went wrong (I don't know what) and I reinstalled Slackware, deleting all partitions and creting 2 new ones, / and swap. But know, when I initialize Slackware, it sees two boots, Windows and Linux! Do someone know how can I delete this 'Windows'?

2. When I boot Slackware, it starts normally, but suddennly the monitor goes off and doesn't come back it all. The same thing happens when I boot with LILO. The only way I found to initialize is to run 'linux init 3 nomodeset' in LILO. Do someone know how can I boot Slackware without always have to run 'linux init 3 nomodeset' in LILO? I already asked this question in the forum. Someone told me to edit lilo.conf, but I'm afraid to do some mess...I think I wouls need some detailed explanation.

Sorry for lots of questions and thank you!
 
Old 12-31-2011, 06:21 AM   #25
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Hi,

Welcome to slackware realms

1. I always use the gparted live CD to manage my partitions prior to install with slackware, and I recommend you to do so (even to modify your existing partitions). A possible explanation about why it didn't work with FAT16 (or FAT32) is because FAT systems are old MSDOS fs, which doesn't support file permission and ownership like UNIX expect. You might want to mount a FAT16/32(/NTFS) partition on your FS 'somewhere' if you wanna share that partition, but you shouldn't use it to put Linux specific files...

2. I don't know really what could be your problem, but yes you can modify your lilo.conf quite "safely", making backup and double checking what you do, you'll always be able to mount you drive to fix it in case of problem with your slackware installation disk. BTW, don't forget to launch the 'lilo' command on prompt to make the changes in the lilo.conf active. About your screen problem, maybe it's due to the nouveau driver or something? You'd better tell us more about your graphic hardware, and maybe create a single thread for that problem in the forum.

Good luck !

Garry.
 
Old 12-31-2011, 07:39 AM   #26
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Someone told me to edit lilo.conf, but I'm afraid to do some mess...I think I wouls need some detailed explanation.
First, make sure to have a live CD to boot from, like puppy, so you can undo the changes.
as root make a backup from the original file.
Code:
cp /etc/lilo.conf /etc/lilo.conf.bak
edit
Code:
/etc/lilo.conf
Look for the line
Code:
append=
Make it look like:
Code:
append=" quiet splash vt.default_utf8=1 nomodeset"
run
Code:
lilo -v
reboot
For the problem with the grafic card, do you have an intel card?
If yes, try to use an older version of xf86-video-intel

Quote:
1. The first time I installed Slackware I tried to create a /home partition, using FAT16(32M). But then something went wrong (I don't know what) and I reinstalled Slackware, deleting all partitions and creting 2 new ones, / and swap. But know, when I initialize Slackware, it sees two boots, Windows and Linux! Do someone know how can I delete this 'Windows'?
Seems to me you didn't delete the fat partition, so lilo thinks there is a windows installed.
Remove he FAT partiton, or use gparted to reformat the partition in ext*.
Remove the line in
Code:
/etc/lilo.conf
which is pointing to windows, run
Code:
lilo -v
and reboot.
If needed you can mount the new partiton as /data or /backup and make use of it.
If you are afraid to do this, a reinstall will give you more peace of mind.
Just make sure to use the entire disk, and remove the FAT partition.

Kind regards

Last edited by repo; 12-31-2011 at 07:47 AM.
 
Old 12-31-2011, 07:57 AM   #27
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
BTW, wich version of slackware are you using?

Kind regards
 
Old 12-31-2011, 05:46 PM   #28
Noony
LQ Newbie
 
Registered: Feb 2009
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
Hi,
Could I suggest that you revisit the post that I made in the other thread, which advocated blacklisting the nouveau driver? Don't be afraid to use upgradepkg; it'll be a great friend in the future, so why not go ahead and use it now. When you type "upgradepkg name-of-package", it will simply replace any package that has the same first-half of the name. That's because the second half of the name is usually a version designation.

Incidentally, that nouveau driver wrecks both the X-windows display and the non-gui console display (only if you have an nVidia display card)
p.s. I looked up your computer model, and you have nVidia unless there were other alternatives to choose from (not common in laptops).
 
Old 01-01-2012, 03:08 PM   #29
lghizoni
Member
 
Registered: Dec 2011
Location: Denmark
Distribution: Slackware, Debian
Posts: 102

Original Poster
Rep: Reputation: Disabled
Hello,

I'm using the latest stable version, 13.37.

My PC is a Dell XPS L502X Intel® Core™ i7- 2670QM (2.2GHz)

My graphic card is NVIDIA® GeForce® GT540M 2GB.

I edited lilo.conf and inserted -> append=" quiet splash vt.default_utf8=1 nomodeset"

I also removed the FAT partiton, and now the Windows option doesn't appear anymore.

So, my two problems are solved now!! Thank you very much to all!

About the graphic hardware, what could be the problem?

Also, when I boot Slackware, some text lines appear before the login. The first and second of lines are:

EXT3-fs(sda1):error:couldn't mount because of unsupported optional features
EXT2-fs(sda1):error:couldn't mount because of unsupported optional features

Is that normal? Because after that it goes normally to the login.

Thank you again!
 
Old 01-01-2012, 07:01 PM   #30
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Rep: Reputation: 7
Quote:
Originally Posted by lghizoni View Post
About the graphic hardware, what could be the problem?

Also, when I boot Slackware, some text lines appear before the login. The first and second of lines are:

EXT3-fs(sda1):error:couldn't mount because of unsupported optional features
EXT2-fs(sda1):error:couldn't mount because of unsupported optional features

Is that normal? Because after that it goes normally to the login.

Thank you again!
1. It is related to framebuffer. I have similar problem with Parted Magic or G-Parted, don't remember now. This options, if i remember correctly, disables framebuffer.

2. Well, if you have wrong entries in /etc/fstab than you would have this errors. These lines are related to mounted drives with ext3 and ext2 filesystems but with unsupported options - maybe you typed something wrong. It's a warning but Slackware will boot, it won't boot when wrong features would have been passed to a root filesystem.


Tip - in Slackware you can easily check files with cat (caternate) command from terminal and also easily edit them with mcedit (i dont like visudo ant other, mcedit is quite simple), for an example:

# mcedit /etc/fstab

will allow to modify in mcedit fstab from /etc/fstab. You will be able to write it, it's really easy.

Last edited by firekage; 01-01-2012 at 07:04 PM.
 
  


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
Intro to the new user, Slackware user since 10.0 doctornetwork LinuxQuestions.org Member Intro 2 11-17-2010 09:37 AM
Longtime Linux User, new Slackware user Keynone LinuxQuestions.org Member Intro 1 02-27-2009 01:25 PM
slackware 12 installed multiple problems mostly with user flip_flop Linux - Newbie 4 08-17-2007 07:43 AM
problems with gnome when I change a user's user ID phil.d.g Slackware 5 12-21-2004 03:51 AM
Slackware 10 cdrom/dvd user access problems beyondzero Slackware 7 06-27-2004 05:21 AM

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

All times are GMT -5. The time now is 06:52 PM.

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