LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-08-2008, 10:00 AM   #1
a5andy
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
Have loaded Slackware12 and it uses LILO as boot manager


Have loaded Slackware12 and it uses LILO as boot manager. This Question is about LILO (not Windows).

I have two primary Windows partitions on my laptop which are both Windows 98 Second edition.

I also have loaded in the extended part of my partitioned drive three other linux ops in partitions as follows - Ubuntu7.10, Ubuntu7.10 with Xforce loaded, openSUSE 10.3. All use a common /home directory and swap file, plus all my data files are in two other partitions in the extended part of the drive.

When Lilo runs it brings up the boot operating system selection table. However when I make the selection and lilo.conf runs it only recognises the first partition running W98se. This is the first primary partition which is a cut down version of W98se that exists only to get me out of fatal (non) boot errors that sometimes seem to happen. This also makes it easy to make backups of the other version on the second primary partition which is my main operating system for my legacy Windows.

All these operating systems I access using BootMagic v7 (via Partition Magic) and are selectable in the BootMagic menu because each Linux opsys has Lilo or Grub loaded into the / directory and not the MBR which is controlled by BootMagic.

Ideally I would like to move over to Linux, but I have so much data and some unique programs in Windows that I can only move over if I can guarantee continued Windows Legacy access. I would like to dump Bootmagic.

Below is a copy of my lilo.conf file which does not work when it comes to my two Windows primary partitions.

Is there anyone who understands how to get Lilo to recognise and load the second primary partition. I would say here that I have exactly the same problem with GRUB.

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda10
menu-title=" AndysStuff "
#compact # faster, but won't work on all systems.
prompt
#timeout = 300
# VESA framebuffer console @ 1024x768x256
vga = 773
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda10
label = slackware
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda13
label = ubuntu71
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda14
label = xforce
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda15
label = openSuse
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other=/dev/hda2
label=quicksilver
change
automatic
partition=/dev/hda1
set=FAT32_hidden
deactivate
partition=/dev/hda2
set=FAT32_big_normal
activate
# Windows bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
label = selenium
change
automatic
partition=/dev/hda2
set=FAT32_hidden
deactivate
partition=/dev/hda1
set=FAT32_big_normal
activate
# Windows bootable partition config ends

Sincere regards - Andy
 
Old 01-09-2008, 05:57 AM   #2
aus9
LQ Guru
 
Registered: Oct 2003
Distribution: Fedora 25 Gnome (Wayland)
Posts: 5,132

Rep: Reputation: Disabled
before you installed Slackware did the other Ubuntus use lilo or grub?

cos its fairly simple with grub.

grub can be in either mbr or each /boot parition or if /boot is a sub-folder to / , in each / partition

so grub in mbr would chainload to ms but can directly boot all linux types.

see my signature if interested.

You can also have grub in mbr and chainload to grub in each linux distro.

Read my signature if interested, otherwise sorry to inconvenience you.
 
Old 01-12-2008, 03:31 AM   #3
a5andy
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Aus9

LILO

Thanks for your post reply - but even with Grub as with Lilo I have failed to make these boot loaders descriminate between my two bootable primary partitions running Win98se. I have not found any script in either program or notes that explain or deals with this. Both Grub and/or Lilo can only see the first primary Win98se partition. Taking into account the partitioning on my single drive and the fact that each instance of Grub or Lilo is loaded into the / (root) partition with Windows left in control of the MBR. Thanks for your input. andy
 
Old 01-12-2008, 07:13 AM   #4
aus9
LQ Guru
 
Registered: Oct 2003
Distribution: Fedora 25 Gnome (Wayland)
Posts: 5,132

Rep: Reputation: Disabled
well since you have read my signature you know how to convert your ms partitions into grub speak.

taking /dev/hda1 grub speak is (hd0,0)
hda2 is (hd0,1)

So if you want to install grub into mbr.

the menu items for ms would be

title hda1
root (hd0,0)
hide (hd0,1)
makeactive
chainloader +1


title hda2
root (hd0,1)
hide (hd0,0)
makeactive
chainloader +1

2)
There is not enough info to be sure what your kernel is called in slackware but at a guess

title hda10
root (hd0,9)
kernel /boot/vmlinuz-(version) root=/dev/hda10 ro
initrd /boot/initrd.img

to get the kernel stuff use lilo to boot and write down the kernel and initrd names you find in /boot

or use my trouble shooter to ignore title run C for commands then
root (hd0,9)
kernel /boot/vmlinuz AND PRESS TAB to find options then complete line
initrd /boot/initrd AND PRESS TAB to find options then complete line
 
  


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
First boot Slackware12: error messages luca74 Slackware - Installation 3 01-05-2008 08:50 AM
Problem-GRUB and triple boot Slackware12+Fedora7+WinXP Salgeras Linux - Laptop and Netbook 2 08-06-2007 08:24 AM
LILO as BSD Boot Manager??? darkangel29 *BSD 2 12-14-2005 11:44 AM
yenta_socket not being loaded at boot kickflip Linux - Laptop and Netbook 1 04-10-2004 01:38 PM
Corrupted LILO boot manager Floppy, Help! sampsel Linux - Software 3 03-24-2003 10:38 AM


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