LinuxQuestions.org
Visit Jeremy's Blog.
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 02-17-2004, 01:49 PM   #1
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
Dual boot with Lilo not working after install


Here is what I have. I have Mandrake installed on /dev/hda5 (had its boot partition set up on the MBR I believe. I then installed Knoppix 3.3 using /dev/hda3. They shared the swap at /dev/hda2 and boot partition at /dev/hda1. Lilo will not recognize the Mandrake as a bootable partition. Here is the end of my lilo.conf file:

# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
other=/dev/hda5
label=Mandrake
# restricted
table=/dev/hda
alias=3

Am I doing this right? when I do /sbin/lilo, I get:

root@pos-linux:/home/ryan# lilo
Added Linux (alias 1) *
Skipping /vmlinuz.old
Fatal: First sector of /dev/hda5 doesn't have a valid boot signatur

any suggestions?
 
Old 02-17-2004, 02:11 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Other is for a non-Linux OS.

You need something like

image=/boot/mandrake-kernel-name
root=/dev/hda5
label=Mandrake
read-only

(Though I seem to also recall mandrake wanting initrd stuff.) Anyway - the LILO man page may help or you can search here for other people's configs - maybe 'Mandrake LILO configuration' or something.

It's possible there's another issue but you definitely need a Linux-type entry for Mandrake.
 
Old 02-17-2004, 02:23 PM   #3
maillion
Member
 
Registered: Jan 2004
Location: Texas, USA, Terra
Distribution: Debian (currently...)
Posts: 74

Rep: Reputation: 15
Re: Dual boot with Lilo not working after install

Quote:
Originally posted by Gates1026
Here is what I have. I have Mandrake installed on /dev/hda5 (had its boot partition set up on the MBR I believe. I then installed Knoppix 3.3 using /dev/hda3. They shared the swap at /dev/hda2 and boot partition at /dev/hda1. Lilo will not recognize the Mandrake as a bootable partition. Here is the end of my lilo.conf file:

# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
other=/dev/hda5
label=Mandrake
# restricted
table=/dev/hda
alias=3

Am I doing this right? when I do /sbin/lilo, I get:

root@pos-linux:/home/ryan# lilo
Added Linux (alias 1) *
Skipping /vmlinuz.old
Fatal: First sector of /dev/hda5 doesn't have a valid boot signatur

any suggestions?
In addition to what Gates1026 said, look at that "fatal" error. You said above that you have hda1 'shared' for both Mandrake and Knoppix. You need a separate boot partition for each distro. It is fine to share the swap partition, but not the boot one. That is why the fatal error comes up - lilo looks for a boot signature where you say Mandrake is...
 
Old 02-17-2004, 02:36 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Well, actually you can share boot. But, true, dev/hda5 isn't bootable.
 
  


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
Install Lilo in MBR during instalation of SuSE 9.3 (with dual boot Windows XP) cangussu.br Linux - Newbie 2 05-05-2005 10:46 PM
dual boot with windows xp (two hd) and install Lilo (Suse 9.3) cangussu.br Suse/Novell 0 05-05-2005 11:35 AM
Need dual boot help...LILO..Winxp wont boot Scrag Linux - Hardware 2 09-01-2004 12:26 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM


All times are GMT -5. The time now is 05:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration