LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-26-2008, 08:19 AM   #1
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Rep: Reputation: 15
problem with configuring lilo on slackware 12 - video controller


hello, slackers


please give me some ideas

i've got a problem with my newly installed slackware. i've tried several times to reconfigure lilo, but every time it gives me an error of finding the video controller! i tried to choose different frame resolutions, even the recommended one, but it's the same thing - my pc doesn't want to boot at all

maybe i should run the slack with a boot usb and install some drivers for the video options first?
 
Old 05-26-2008, 10:33 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Welcome to SlackwareŽ and LQ!

How to Ask Questions the Smart Way would be a good place to start.

Post your '/etc/lilo.conf'. What error?

You need to post information relative to your problem, that includes relative system information. dmesg output that pertains to the problem.

When posting long lists or large information files please use the vbcode tags to allow easier review of the data. You can use the 'QUOTE' and 'CODE' tags at the top of the reply window.
 
Old 05-26-2008, 11:19 AM   #3
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Original Poster
Rep: Reputation: 15
hi, onebuck

no, i'm not configuring like that the lilo.conf, i'm not writing in the file, so i cannot post it.

i'm just in the beginning of installing slack, and it is asking me how to install lilo, i choose "simple mode" and after that i have an option for video frames resolution. but no matter what i choose, it gives me an error of lilo config - "cannot find a video controller", so i cannot boot my pc!

i hope i explained it well that time.

it's just like here:

http://www.slackbook.org/html/booting.html#BOOTING-LILO

should i install some drivers for the video card first?

Last edited by martysha; 05-26-2008 at 11:20 AM.
 
Old 05-26-2008, 12:05 PM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
try expert mode and go through all of the steps. When it asks you about framebuffer console just say "no" for now (vga=normal). You can change it later.
 
Old 05-26-2008, 12:14 PM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
martysha, try choosing the "normal" option. If you can't get it to work through the installer (or through `liloconfig`), try booting your computer and pressing Tab at the LILO screen. Type "Linux vga=normal" and press enter (note that I'm assuming your kernel entry is called Linux, which is the default. You can press Tab at the boot: prompt to see if that is the case). This will boot a standard VGA display without a framebuffer. It should almost always work (though it may be a bit on the ugly side).
 
Old 05-26-2008, 09:10 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by martysha View Post
hi, onebuck

no, i'm not configuring like that the lilo.conf, i'm not writing in the file, so i cannot post it.

i'm just in the beginning of installing slack, and it is asking me how to install lilo, i choose "simple mode" and after that i have an option for video frames resolution. but no matter what i choose, it gives me an error of lilo config - "cannot find a video controller", so i cannot boot my pc!

i hope i explained it well that time.

it's just like here:

http://www.slackbook.org/html/booting.html#BOOTING-LILO

should i install some drivers for the video card first?
As others have already stated. Just use the expert mode and setup with the 'vga = normal'. You can change this once you get your system installed. You were not clear in your presentation. You could read the post I referenced on how to ask questions. That will help you in the future to formulate your questions relative to your problems(s).
 
Old 05-27-2008, 04:32 AM   #7
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Original Poster
Rep: Reputation: 15
thank you - it worked i'm very happy about that.


now, after succesfully running lilo, and booting my slack, yes!.... i decided to install windows on the second partition...

and after installing it of course lilo was not working anymore

i was aware that it can happen so i've prepared a usb boot stick especially for that.. but surprise it doesn't work (bios is well configured)

so that evening i will try to repair my lilo

any ideas? i have sda1-slackware sda3-windows sda5-swap

tried to boot with cd and open liloconfig, doesn't work
 
Old 05-27-2008, 05:51 AM   #8
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
Quote:
Originally Posted by martysha View Post
(bios is well configured)
Obviously not, or you did something wrong while creating the boot stick.

Well. As it has already been mentioned, it would have been really helpful if you had posted your lilo.conf.

Boot your system as explained on the Slackware CDs first boot screen. Then edit your /etc/lilo.conf file:
  • Don't change the part that boots Slackware.
  • Add another part for windows like that:
    Code:
    # Windows bootable partition config begins
    other = /dev/sda3
      label = Windows
      table = /dev/sda
    # Windows bootable partition config ends
  • Run lilo.
 
Old 05-27-2008, 01:06 PM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by martysha View Post
thank you - it worked i'm very happy about that.


now, after succesfully running lilo, and booting my slack, yes!.... i decided to install windows on the second partition...

and after installing it of course lilo was not working anymore

i was aware that it can happen so i've prepared a usb boot stick especially for that.. but surprise it doesn't work (bios is well configured)

so that evening i will try to repair my lilo

any ideas? i have sda1-slackware sda3-windows sda5-swap

tried to boot with cd and open liloconfig, doesn't work
You should install the M$ Win product first therefore preventing any problems. M$ Win likes to be the first OS. You can fool it but most newbies find the technique confusing.

I would suggest that you first install the M$ product on your first partition then install your Slackware on the other. That way you should not encounter a problem.

You can boot your Linux install with the install cd/dvd. You are given the option at the 'boot:'.
 
Old 05-27-2008, 01:09 PM   #10
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
If you don't boot into your system directly from the cd you can still use the cd to fix LILO. After you have booted into the cd as usual login as root and mount your linux partition. You should pick an unused folder or create a folder under /mnt to mount it to

example (change this to suit your situation)
Code:
mount -t ext3 /dev/sda1 /mnt/mountpt
I don't know if you are using ext3 since you never mentioned it or posted your lilo.conf, so again change what you need to.

After your linux partition is mounted you will need to cd into its directory and then chroot. Chroot makes your root '/' the directory you chroot into.
Code:
cd /mnt/mountpt
chroot .
Then you can modify lilo using a text editor such as nano. When you are done simply run lilo. Then you can exit and reboot.

Now you can see why it is generally suggested that you install Windows before a Linux bootloader. Windows always overwrites whatever is on the MBR.

Also, Windows usually prefers to have the first partition on the master hard disk for its system partition. Sometimes Windows can act weird otherwise. For instance, if you have any partitions before your Windows partition that your Windows OS can interpret then it might automatically assign your system drive as D: instead of C:, which can potentially cause problems for programs that assume C: is the main drive. You may not have problems with this, but I just wanted to give you a heads up.

Last edited by shadowsnipes; 05-27-2008 at 05:52 PM. Reason: change in red
 
Old 05-27-2008, 01:55 PM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

I would create a unique directory to mount your installation too. That means not to use the '/mnt'. No harm to create '/slacktemp' then 'mount /dev/your_device_with_Slackware_install /slacktemp'.
Then 'cd /slacktemp' and then do the chroot. You can then do a 'cd /slacktemp/etc' and edit your 'vi /slacktemp/etc/lilo.conf'. Make the required changes then run 'lilo' again to update the configuration.
 
Old 05-27-2008, 05:54 PM   #12
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by onebuck View Post
Hi,

I would create a unique directory to mount your installation too. That means not to use the '/mnt'. No harm to create '/slacktemp' then 'mount /dev/your_device_with_Slackware_install /slacktemp'.
Then 'cd /slacktemp' and then do the chroot. You can then do a 'cd /slacktemp/etc' and edit your 'vi /slacktemp/etc/lilo.conf'. Make the required changes then run 'lilo' again to update the configuration.
I clarified my previous post. The mount point folder doesn't really matter as long as you know where it is and that it is not being used for something else.
 
Old 05-28-2008, 01:16 PM   #13
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Original Poster
Rep: Reputation: 15
hiii, everyone

guess what? following your smart advices, i succeeded to configure lilo and now i have my slack and my linux both of them booting perfectly! yes! and i feel a little bit smarter also

anyway, now i am still in the beginning, so ... wait for the next big-big problem!

no, i am kidding


thank you again guys! i'll be reading near here. i find it quite interesting, really
 
Old 05-28-2008, 09:00 PM   #14
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by shadowsnipes View Post
I clarified my previous post. The mount point folder doesn't really matter as long as you know where it is and that it is not being used for something else.
Just a habit on my part to not use /mnt when using the Slackware install cd1/dvd thus preventing anything from happening. Especially if you are doing something with the install.
 
Old 05-30-2008, 03:57 PM   #15
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by onebuck View Post
Hi,


Just a habit on my part to not use /mnt when using the Slackware install cd1/dvd thus preventing anything from happening. Especially if you are doing something with the install.
As you have said in the past, "There's nothing wrong with being careful with one's equipment".
 
  


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
Problem with Lilo on Slackware 11 IX_EquilibriuM Linux - Newbie 8 10-21-2007 07:55 AM
Configuring Jahshaka video editor problem. Chuong Linux - Software 3 12-18-2006 06:53 AM
Problem with configuring php on Slackware 10.2 JockVSJock Slackware 38 11-11-2006 09:10 AM
LILO problem - Slackware 7.1 underberg Slackware 2 09-07-2003 07:49 AM
Slackware 7.0 LILO problem... Citizen Bleys Linux - General 2 10-01-2001 04:54 PM

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

All times are GMT -5. The time now is 04:27 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