LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   GRUB and Slackware 9.1 (https://www.linuxquestions.org/questions/slackware-14/grub-and-slackware-9-1-a-145619/)

Noogie 02-13-2004 07:20 AM

GRUB and Slackware 9.1
 
A little while ago, I had Fedora on this evil box, after a little while I decided to leap to something a little more trickier. And now I'm baffled. :)

I still have GRUB on another partition leftover from Fedora, I'm pretty sure anyway, as it didn't disappear after I wiped Fedora, is there any way I can edit it to boot up Slackware? LILO refuses to work unless it's on a floppy and I find GRUB much more "friendly" anyway.

One other thing, I'm using a Logitech Optical Mouse, USB, but on the included PS/2 adaptor, any way I can get the scroller to work? I tried editing a file which slips my mind at the moment (only adding a line somewhere in the mouse input area, not changing anything else), but to no avail.

Please be as detailed as possible.
Thank you for any help. :)

aaa 02-13-2004 07:34 AM

If the grub configuration file is still on the partition you have, you can add Slackware with this line:
kernel (hd0,0)/path/to/slack/kernel [options]
(hd0,0) == hda1.
For your mouse, the file is /etc/X11/XF86Config. Search here for which lines to add and where.

ekoome 02-13-2004 08:11 AM

I have a similar problem. I just installed Slack9.1 on my second harddisk (/dev/hdb5) but when i boot i can't see it on Grub. I already have REdhat 9 and win2K on the first harddisk.

My question is, what is the usual path to Slack Kernel since i have never used it before for me to update Grub in my first harddisk?

Eric

Noogie 02-13-2004 09:37 AM

Ok, I booted into GRUB, edited the Fedora boot thingies to this:

root (hd0,2)
kernel /boot/vmlinuz-ide-2.4.22 root=/dev/hda3

That got it up and running, even though I got some sort of an error, I am on Slackware now.
Hopefully it saved that, otherwise I'll have to try and mount the GRUB partition or something and get in there.
EDIT: @#$%!!
(Which I don't know exactly how to do, if that's what I do at all)

And with the mouse, I have it like this and it still doesn't work, I'll just post the whole lot and someone can point out what I did wrong, I know it comes up often, but I guess the more who understand, the better.

Quote:

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

# Option "Protocol" "Auto"

# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "PS/2"

# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

Option "Device" "/dev/mouse"
# Option "Device" "/dev/psaux"
# Option "Device" "/dev/ttyS0"
# Option "Device" "/dev/ttyS1"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

Option "ZAxisMapping" "45"

EndSection
Sorry about this. ^^;

kc00l 02-13-2004 11:03 AM

Re: GRUB and Slackware 9.1
 
Quote:

Originally posted by Noogie
A little while ago, I had Fedora on this evil box, after a little while I decided to leap to something a little more trickier. And now I'm baffled. :)

I still have GRUB on another partition leftover from Fedora, I'm pretty sure anyway, as it didn't disappear after I wiped Fedora, is there any way I can edit it to boot up Slackware? LILO refuses to work unless it's on a floppy and I find GRUB much more "friendly" anyway.

One other thing, I'm using a Logitech Optical Mouse, USB, but on the included PS/2 adaptor, any way I can get the scroller to work? I tried editing a file which slips my mind at the moment (only adding a line somewhere in the mouse input area, not changing anything else), but to no avail.

Please be as detailed as possible.
Thank you for any help. :)

Please, can you try searching the forum before asking questions?
You can easily solve your mouse problem reading the thousands of posts on that topic.
And (after a quick forum search) now I'm sure the grub problem is not a unique case.
Sorry for being hard, but the same questions are being asked too frequently.

Zero-0-Effect 02-13-2004 12:00 PM

For your mouse you need to put
Code:

Option "Protocol" "IMPS/2"
replacing Option "Protocol" "PS/2"
And I beleive the ZAxisMapping option needs to have a space between the 4 and 5.. just how Ive always seen it and used it.

aaa 02-13-2004 12:49 PM

Quote:

Option "ZAxisMapping" "45"
put a space between 4 & 5, while using the imps/2 protocol like above. If that doesn't work, try adding:
Option "Buttons" "5"

This useful page turned up in a search:
http://www.linuxquestions.org/questi...hreadid=145012

320mb 02-13-2004 01:08 PM

Quote:

Originally posted by ekoome


My question is, what is the usual path to Slack Kernel since i have never used it before for me to update Grub in my first harddisk?

Eric

/boot/vmlinuz


Now, if you need to make an emergency boot disk, Slackware installs
syslinux. just do this in a term window or CLI
makebootdisk /boot/vmlinuz

and wa la............
!! makebootdisk is ONE word!!

Noogie 02-13-2004 10:24 PM

I did search, I know the mouse thing had come up, I followed what was said in the threads I looked in and none that I read said anything about the mouse type, just the ZAxis bit. And the "45" was where I was getting pissed off when it wouldn't work (thanks Zero-0-Effect by the way, I'll try that).
The mouse bit was supposed to be a tiny question alongside the rest. ^^;

Now if someone has any clue how to edit the boot loader permanently, I'd appreciate it.

aaa 02-14-2004 09:12 AM

What partition is grub on? What partition is Slack on? What arrangement do you currently have?
Try looking around in the grub partition for something like menu.lst (that's an L), that may be the configuration file.

Noogie 02-14-2004 07:22 PM

http://irev.net/noogie/Partitions.png
That's how my partitions are set up, I'm not sure how everything is, but my Windows and Slackware partitions are (obviously) the bigger ones.

aaa 02-14-2004 10:55 PM

Try looking in the /boot for a menu.lst file or similar, however Red Hat usually placed the configuration file at /etc/grub.conf (which appears to be gone...).

Noogie 02-15-2004 03:54 AM

EDIT: Nevermind, I just went and wiped over it with LILO, I can't be bothered tinkering about so much. Thanks for any help given, now I'll try this Affero thingy, because it's obviously deserved in certain cases in my mind. :)


All times are GMT -5. The time now is 07:26 AM.