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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-08-2008, 11:00 AM
|
#1
|
LQ Newbie
Registered: Jan 2008
Posts: 2
Rep:
|
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
|
|
|
01-09-2008, 06:57 AM
|
#2
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
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.
|
|
|
01-12-2008, 04:31 AM
|
#3
|
LQ Newbie
Registered: Jan 2008
Posts: 2
Original Poster
Rep:
|
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
|
|
|
01-12-2008, 08:13 AM
|
#4
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
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
|
|
|
All times are GMT -5. The time now is 08:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|