LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 02-23-2004, 09:06 AM   #1
bluelq
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 9

Rep: Reputation: 0
Need Help Please!! Xp not in Lilo, Mouse not Working


I decided to go with slackware since redhat was acting up, corrupted uprgade, odd errors, and in general felt too much like windows again. I wanted something I could learn on not the windows interface for linux.

I am still happy with choosing Slackware but somethings are not working.

First of all I had Xp-Rh set up through grub for dual boot. Lilo is ok but I do prefer grub, either way I only get Lilo and there is no option to boot on XP.

The system is setup with 2 drives, hda having windows and hdb (i think) having slackware (previously rh). I formatted the partition I put slackware on and choose MBR option for booting.

Question 1--How do I mount windows in lilo so that I have a dual booting option.

Question 2 --Mouse does not work in gnome, and there is are no configuration options in gnome either. System Settings is empty, I was used to RH having everything done though gnome.

I now have a dead computer or rather a sleeping computer to be awakened, no internet access, no mouse no xp to log in and fix problems.

Thanks for your Help.
 
Old 02-23-2004, 09:56 AM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
To get windows in lilo:
read man lilo.conf #no, actually read it. it'll tell you what you're doing.

you need to add a block to /etc/lilo.conf that's something like:
other=/dev/hda1
label="Windoze"

Before changing anything, backup the config file with cp lilo.conf lilo.conf.old

Mouse issues are likely fixable in /etc/X11/XF86Config-4
Post the contents of that file, and tell us the details of what your mouse is - how many buttons, PS/2 or USB, brand, etc - and we'll guide you.

--Rounan
 
Old 02-23-2004, 10:12 AM   #3
bluelq
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks

Thanks Will get lilo up and I will be able to connect to post the config file. Will be posting late afternoon, Thanks again.
 
Old 02-24-2004, 09:24 AM   #4
bluelq
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Ohh my

I have made smal steps towards fixing the problem but have not solved the puzzle. To show how much of a newbie I am, I actually thought you wanted me to use the "read" command. It took over 45 minutes figuring out to only use man. . I finally got the man lilo.conf and I somewaht understood the text, I read through it a couple of times but need to read it and learn it well. I still feel I wont be able to break through and fix the extra boot.

I am not sure if the master boot holds the info on windows anymore. I get the feeling that lilo erased mbr and only includes linux. I also seem to be having a problem with the image= line, I seem I need to add a image= for windows as well. Lost lost and again lost. If anybody has a dual boot for lilo a simple copy of the conf would be very helpfull, just to see which way I need to go. I dont know how to configure the boot sector for windows, at some point it notes a requirement for any extended partitions. So I am not sure.

Any help is appreciated.

Thanks
 
Old 02-24-2004, 09:44 AM   #5
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
Sorry, didn't mean to cause confusion!
get to know the:
man
command. Anytime someone instructs you to use a command you don't recognize or a config file you don't understand, read the:
man <command-or-file>
page. 99.9% of commands in linux have very decent manpages, and all common or essential config files as well.

Some info on the MBR:
The MBR is -VERY- small. It's only one HD sector, which is 512 bytes (I think...) This is the reason you have primary and logical (or extended) partitions - there's only space for four partitions to be defined in the MBR.
There is only EVER room for one "bootloader" in the MBR. It's not big enough to share!
The windows bootloader is just that: a bootloader for windows exclusively. You can't configure it (easily) and it just specifies where Windows is.
Lilo does indeed overwrite the windows bootloader. But that's OK, and desirable, because Lilo is buff - it doesn't care what OS it's loading, it just tells the system where to look for it. In order to boot a multiple-OS system, you need something like lilo or its big brother, GRUB.

So at the moment, you're right - your MBR doesn't contain information on Windows, because you haven't configured Lilo to know that Windows exists - that's what the lilo.conf file is for.
The image= line is specific to Linux: it tells Lilo where on the hard drive to find a kernel image. You want to add a non-linux OS to the boot record: that requires the other= line.

Here's a snippet from my lilo.conf, commented for ya:

-------------------------------------
default=Linux #tells lilo to use the entry labelled "Linux" as default

image=/boot/vmlinuz #inserts this linux kernel into the MBR
label=Linux #labels that kernel Linux
read-only #don't dare change my kernel.

other=/dev/hda2 #inserts "other" OS on this partition (hda2)
label="WinXP(hda2)" #labels this OS as shown

-----------------------------------

Notice that my windows partition is on hda2 - I'm using a dell and they put a tiny "tools" partition at the start of their disks, so the windows install is on hda2 and not hda1. Wasn't worth my time to merge that one, so I left it be. Your Windows might be on hda1, or hda2... if you don't know, run:
cfdisk
and it'll show you your partition scheme. (DON'T CHANGE ANYTHING)

Hope that helps!

--Rounan
 
Old 02-24-2004, 09:57 AM   #6
bluelq
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 9

Original Poster
Rep: Reputation: 0
I added those two lines but is did not give me any options to choose windows. I pressed Tab but no other options were displayed. Is there a a specific position they need to be in? I should of wirtten down the entire file and copied so you could see, will probably do that tonight. I want to thank you for helping me out, I would be lost without your assistance, thanks again.

Have I mentioned how exciting this is to me, I am so happy to have the options to configure everything. Granted I am stuck but still happy.

 
Old 02-24-2004, 10:01 AM   #7
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
heh... sorry, my bad again.

When you boot your computer, and the bootloader screen comes up, no programs have been run. (at least, not in the sense that you're used to - there's no OS up yet, so you're dealing with assembly language talking to the BIOS)
Because of this, there's no way to have lilo check its configuration file at boot time.

What you have to do is RUN the lilo program, in linux where it "lives". This interprets the current lilo.conf file, and translates that into the 0s and 1s that go in the MBR.

So every time you have changes in the lilo.conf file that you want to implement, run:
lilo

Then when you reboot, those changes will be applied.

--Rounan
 
Old 02-24-2004, 10:32 AM   #8
bluelq
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 9

Original Poster
Rep: Reputation: 0
This time its my miss-communication. What I meant to say is that I added the two lines in lilo.conf through linux, rebooted and it did not work. Will try to get you a copy though..
 
Old 02-24-2004, 10:55 AM   #9
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
right, but before you rebooted, did you run:
lilo

(type lilo at the prompt)
 
Old 02-24-2004, 11:10 AM   #10
bluelq
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 9

Original Poster
Rep: Reputation: 0
No I edited the file through emacs and saved, when comp reboots does not it access lilo.conf each time. I mean lilo runs everytime comp starts right.
 
Old 02-24-2004, 11:16 AM   #11
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
no, that's what I tried to explain in my last post - lilo is a linux program, and if linux hasn't yet been loaded, how can you run lilo? The only thing that's run whenever the comp starts is that 512 bytes of 1s and 0s on the first sector of your hard drive.
That isn't changed until you specifically change it - which you do by RUNNING lilo, in linux. Lilo, as a program, is an interpreter that changes the lilo.conf file into 512 bytes of 1s and 0s.

Changed lilo.conf?
run lilo

Otherwise your changes aren't applied.
 
Old 02-24-2004, 12:03 PM   #12
bluelq
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Got it will do. Thanks.
 
Old 02-24-2004, 08:42 PM   #13
bluelq
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Smile

Thank You so MuCh

I am now typing from my home pc, could not believe I would be so happy to log in to windowz.

Next Plan---

Fix Mouse--Any idea what to check for in the config file?

Connect to Internet --Sbc dsl, from what I remember it was not possible
with .22 kernell, will see though.
Re-compile Kernell to 2.6

I cant thank you for your help enough..




 
Old 02-24-2004, 10:06 PM   #14
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
Read the manpage for XF86Config-4 (that should be what it's called, though it may be distro-specific... check /etc/X11 directory, and pick the one that has something to do with "config" )

You should have a pointer device defined in there that should look something like:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "imps/2"
Option "ZAxisMapping" "4 5"
EndSection

It won't be necessarily be exactly like that, but post the section and describe what kind of mouse you have - brand, how many buttons, USB or PS/2 connection, etc.
If you can't figure it out yourself, we'll go from there.

--Rounan
 
Old 02-24-2004, 11:04 PM   #15
mmorales
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
I also need help w/mouse configuration

Sorry I interrupt your conversation like this, but I read your posts and I recon my problem is kind-like the problem with bluelq's mouse.

I, as well, I'm new with this slackware thing, and also with Linux, so to me this problem looks like Mount Everest.

Any way, I cant get my mouse configured to work. I use xf86config to configure my XServer, and at the beginning of the configuration, it makes me select a protocol for my mouse. I tried the 9 choices (I'm running Slackware 8.1, by the way ) and non of them worked when I start my Window Manager:

I run xinit and the X shows up.
A white window at top-left with prompt shows, but I can never get the cursor there, cause it doesn't respond.

I dont know if I should update my Kernel... or I'm doing something wrong (most likely)

again, I'm sorry to ask like this (with no invitation) but I would really like my mouse to be working...

Any way, thank you

PS:
Just in case you wanna help me, I have an PS/2 mouse, with two buttons and a scroll
 
  


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
LILO Problem and Mouse not worning in X Clojster Slackware 10 10-11-2004 07:31 PM
help getting lilo working edman007 Linux - Software 8 07-03-2004 02:19 PM
Slackware mouse, lilo help archish Slackware 3 09-02-2003 01:44 PM
lilo not working gadhiraju Linux - General 6 04-29-2001 05:25 PM
Debain lilo and X windows Mouse config. prashant patel Linux - Software 3 04-18-2001 03:53 AM

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

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