LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   booting from lilo!! (https://www.linuxquestions.org/questions/linux-newbie-8/booting-from-lilo-86678/)

marek 08-28-2003 01:29 PM

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

Mara 08-28-2003 02:37 PM

What ahppens when you run 'lilo' as root? Do you gat an erro message? If not, does LILO work correctly now?

marek 08-28-2003 05:57 PM

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

zsejk 08-28-2003 06:15 PM

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

Electro 08-28-2003 11:41 PM

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.


All times are GMT -5. The time now is 01:32 AM.