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 - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2003, 01:29 PM   #1
marek
Member
 
Registered: Aug 2003
Location: Poland
Distribution: Slackware 9.1
Posts: 34

Rep: Reputation: 15
booting from lilo!!


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
 
Old 08-28-2003, 02:37 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
What ahppens when you run 'lilo' as root? Do you gat an erro message? If not, does LILO work correctly now?
 
Old 08-28-2003, 05:57 PM   #3
marek
Member
 
Registered: Aug 2003
Location: Poland
Distribution: Slackware 9.1
Posts: 34

Original Poster
Rep: Reputation: 15
marek

After executing lilo (/sbin/lilo i mean) i have information: Warning - Unable to determine video adapter in use in present system, and lilo adding all the three systems, that's all
and after rebooting i have situation i described
 
Old 08-28-2003, 06:15 PM   #4
zsejk
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 345
Blog Entries: 5

Rep: Reputation: 30
Installing LILO to the MBR might help... I got something similar when I first installed it (I got "L 99 99 99 99 99 99 99 ..."), and that was all gone once I installed it to the MBR.

Can't hurt to try right?



-zsejk
 
Old 08-28-2003, 11:41 PM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You don't need append="hdc=ide-scsi" in your global section. The append goes with the LINUX sections.

Since you have Redhat on the first partition or on /dev/hdd1, you can use that for booting. I suggest you leave Windows partitions alone, but fix the mbr for the Windows partition to make it happy. In your lilo config file use map to flip-flop the drive addressing when booting to Windows. I don't think you need table for Windows too. You can find out if the location for table is correct by
/sbin/lilo -T table=/dev/hda
There are others for /sbin/lilo -T.

Use the verbose option to see what /sbin/lilo is doing.
 
  


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
lilo booting.. babyboss Slackware 4 10-02-2004 02:17 AM
booting from another hd without lilo headlessspider Linux - Newbie 3 09-18-2004 08:31 AM
LILO: LILO lost upon booting. Nevchift Mandriva 3 09-16-2003 07:21 AM
booting from lilo... apax Slackware 10 07-22-2003 04:41 PM
New Lilo Booting hal8000b Linux - General 2 04-02-2001 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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