LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-29-2003, 03:19 AM   #1
marek
Member
 
Registered: Aug 2003
Location: Poland
Distribution: Slackware 9.1
Posts: 34

Rep: Reputation: 15
lilo and windows


Hi. I have got three systems:
-) Windows XP on /dev/hda1
-) SLackware on /dev/hda7
-) RedHat on /dev/hdd1

I tried to boot this three systems from one bootloader installed either on hda or hdd. But it doesn't work unfortunetely. I show you below my lilo.conf:
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hda
map=/boot/map
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 800x600x256
vga = 771
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
disk=/dev/hda bios=0x80
disk=/dev/hdc bios=0x81
disk=/dev/hdd bios=0x82

# End LILO global section
# Linux bootable partition config begins

image = /boot/vmlinuz
root = /dev/hda7
label = Slackware-9.0
# append="hdc=ide-scsi"
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins

image = /boot/vmlinuz
root = /dev/hdd1
label = RedHat_9.0
# append="hdc=ide-scsi"
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins

other = /dev/hda1
label = Windows_XP
table = /dev/hda
# DOS bootable partition config ends

On the response - after booting - i've recieved something like this:
L 01 010010 01 010 10 - and a few of rows similar signs
When i had my lilo bootloader on hdd there was no of these signs, but i still couldn't get to XP (in this situation without any troble i cuold get to slackware and redhat)
When i reinstalled MBR with diskette wiht fdisk /MBR my XP started to work but this is not a good resolving (i want to have a choise which system i want to get to)

Could you help me????? GREAT THANKS FOR ANY HELP

ps. the only bad information i am given when i execute /sbin/lilo is this message:
warning - unable to determine video adapter in use in present system and lilo adding all of these three systems
 
Old 08-29-2003, 05:13 AM   #2
Dr.Lun
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
Try to use

vga = normal

option.

Also, maybe yout boot partition is to far from begining of drive.

Use lilo -v and see outpout.
 
Old 08-29-2003, 05:15 AM   #3
Dr.Lun
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
And you sholdn't use same image for Slack and RedHat...
 
Old 08-29-2003, 12:10 PM   #4
lt1derful
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1; Gentoo
Posts: 68

Rep: Reputation: 15
Quote:
Originally posted by Dr.Lun
And you sholdn't use same image for Slack and RedHat...
If they're on seperate partitions and locations, that shouldn't matter should it? I boot Slackware, JAMD, Peanut and XP all from the same PC spread across two physical drives. All my Linux images are vmlinuz (and .old and other names for old kernels).

Now to the question:
Obviously LILO is installed to the MBR correct? Is Windows the first installation on the MASTER drive? Windows likes to feel special...I've found that it needs to be #1; first install; first disk. How many physical drives do you have and what are the jumper setting for each disk?

Other than that...try reinstalling LILO to /dev/hda1 for some reason, that fixed an issue of mine on another distro...but in Slack, I've always used /dev/hda

Last edited by lt1derful; 08-29-2003 at 12:11 PM.
 
Old 08-30-2003, 05:52 PM   #5
marek
Member
 
Registered: Aug 2003
Location: Poland
Distribution: Slackware 9.1
Posts: 34

Original Poster
Rep: Reputation: 15
I've got two hard disk one master - 20MB(of course /dev/hda) and second slave - 60MB - on second channel (so that has to be /dev/hdd) (i have chipset from VIA k7VZA and version of Award from three years). Windows is on the first partition on first drive (/dev/hda1). of course i tried installing lilo only in MBR because i now how "flexible" is system from Redmond. Now i am working with lilo installed in a second hard disk (there is absolutely no trouble with work with slackware (x2) and redhat) but i still can't execute XP (except situation when make a changes in BIOS - you now - starting from HDD0 instead HDD1, then XP works fine but i can't work on linux systems). When i tried install lilo in MBR of first drive (/dev/hda) there was shown a very strange signs which i described above. What about errors after executing lilo, i am received only messages which i described above (about problem with my video adapter - the same situation with diferrent settings, normal , 771, ..). That's all.It should works, i read all necessery "fucking" Howto pages and still nothing - windows is sucks.
 
Old 08-30-2003, 07:50 PM   #6
sketchdude
LQ Newbie
 
Registered: Apr 2003
Distribution: slackware 9.1, FreeBSD, WinXP
Posts: 5

Rep: Reputation: 0
Sure hope you mean Gigabytes where you said your disks were 20MB and 60MB.
I have a similar set-up with XP and slackware on the first HD, and FreeBSD on the second.
Your bootloader needs to be installed on the MBR of the first master drive. I know it's frustrating to figure the manuals out, but once you get the hang of it, it won't seem so complicated. Just be sure to have rescue disks for each of your OS's.
Since you already have Redhat installed, why not use grub instead of lilo?
If your Redhat installation has a /boot/grub folder, you can just type:

# grub-install /dev/hda

As root, and it will install to your MBR. Once grub is installed, open a console and type:

#grub

It should give you a shell like this:

grub>

Once you have your shell, type:

grub> read (hd

And then hit <tab> . Grub will show you both of your hard drives:

grub> read (hd
Possible disks are: hd0 hd1

hd0 = /dev/hda, and hd1 = /dev/hdb. You can get information on your partions by adding your drive number and a comma to the grub command line:

grub> read (hd0, <tab>

and grub will show you how your partitions are numbered:

grub> read (hd0,
Possible partitions are:
Partition num: 0, File system is fat, partition type 0xc
Partition num: 1, File system is ex2fs, partition type 0x82
Partition num: 4, File system is ex2fs, partition type 0x82

(hd0,0) = /dev/hda1, (hd0,1) = /dev/hda2, (hd0,4) = /dev/hda5

Now you have all the information you need to fill out your /boot/grub/menu/lst ! And grub will let you use pretty pictures too!
 
Old 08-31-2003, 12:07 AM   #7
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
drop the table = /dev/hda
I found that that is a culprit that causes you to not boot windows.
 
Old 08-31-2003, 03:03 AM   #8
marek
Member
 
Registered: Aug 2003
Location: Poland
Distribution: Slackware 9.1
Posts: 34

Original Poster
Rep: Reputation: 15
Of course GB instead MB (i was tired) what about grub, i used to work with it for a year in redhat, but now i only use slackware, so the only good choise is lilo (i know a lot about grub, but thanks for advices).
I resolved my problem by four rows inside lilo.conf:
map-drive=0x81
to=0x80
map-drive=0x80
to=0x81
[of course in windows part]
and that's all, it works really great

Great thanks for everybody who wrote any advices!!
 
  


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
how to add windows to lilo? mrgrieves Linux - Software 9 06-27-2004 02:09 PM
No windows in LILO ilhbutshm Linux - General 8 11-22-2003 03:13 AM
LILO and Windows ME jbarreir Linux - Newbie 1 08-30-2003 07:13 PM
lilo and windows xp Comreak Linux - Software 5 04-03-2003 12:57 PM
Windows ME and Lilo EvoKen Linux - Software 4 06-26-2001 09:35 AM

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

All times are GMT -5. The time now is 05:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration