LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-26-2002, 01:19 PM   #1
pixelV
Member
 
Registered: Dec 2002
Distribution: Slackware 8.1
Posts: 123

Rep: Reputation: 15
Unhappy Problem with LILO


How to select 3 OS in lilo ?
I have 3 OS - win 98, win XP, Slackware.
When my comruter start, LILO display:

DOS
LINUX
OS/2

Partition Magic Info:

partition type size mb Pri/Log

win98 fat32 596.1 Primary
winXP NTFS 6471.5 Primary
*: extended 12472.3 Primary
*: linux ext2 3004.3 Logical
Information fat32 9366.0 Logical
*:swp-space linux swap 101.9 Logical

lilo.conf :

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x64k
vga = 791
# 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
# End LILO global section
# DOS bootable partition config begins
other = /dev/hda1
label = Windows XP
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda5
label = Slackware
read-only
# Linux bootable partition config ends
# OS/2 bootable partition config begins
other = /dev/hda0
label = Windows 98
table = /dev/hda
# OS/2 bootable partition config ends

fstab

/dev/hda7 swap swap defaults 0 0
/dev/hda5 / ext2 defaults 1 1
/dev/hda2 /mnt/winXP vfat defaults 1 0
/dev/hda6 /mnt/info vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
 
Old 12-26-2002, 01:24 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Try this in your config as I think but not totally for sure that Lilo doesn't like spaces in the label name:

Code:
# DOS bootable partition config begins
other = /dev/hda1
label = WinXP
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda5
label = Slackware
read-only
# Linux bootable partition config ends
# OS/2 bootable partition config begins
other = /dev/hda0
label = Win98
table = /dev/hda
# OS/2 bootable partition config ends
And always after making changes run lilo to write to the MBR.

/sbin/lilo
 
Old 12-26-2002, 02:33 PM   #3
pixelV
Member
 
Registered: Dec 2002
Distribution: Slackware 8.1
Posts: 123

Original Poster
Rep: Reputation: 15
Doesn't work

--------------------------------------------------------------------------------
# DOS bootable partition config begins
other = /dev/hda1
label = WinXP
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda5
label = Slackware
read-only
# Linux bootable partition config ends
# OS/2 bootable partition config begins
other = /dev/hda0
label = Win98
table = /dev/hda
# OS/2 bootable partition config ends

other = /dev/hda0 --------------------------> DOESN'T WORK !
fatal: open dev/hda0: No such file or directory
-------------------------------------------------------------------------------
In Red Hat 7.2 (Grub) other = /dev/hda0 ------->WORK !
 
Old 12-26-2002, 03:03 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Lilo doesn't won't recognize hda0, your Windows 98 partition would have to reside on another partition. What does the output of fdisk -l give you if you can post that here ?? That should help us determine where Win98 resides at ?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yet another lilo problem killahsmurf Slackware - Installation 6 04-23-2005 11:33 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
LILO problem CommandoHamster Linux - General 4 07-22-2003 11:52 AM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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