Attention: PROnetworks has upgraded our forum from phpbb2 to phpbb3!!

Please head over to our new converted forum at: http://www.pronetworks.org/forums/

This old forum will remain 'read-only' until approximately February 2009. We look forward to seeing you at the new forum!
Author Message
khonjo
PostPosted: Wed Oct 01, 2003 1:12 pm Reply with quote

PRO Level 6
 
 


Joined: 23 Nov 2002
Posts: 242
Location: Atlanta/U.S.A.
I took Advanced Install option and specified the second primary partition to install Lindows but LILO was installed in MBR. How can I install the LILO in the second partition?
 
Back to top
Weaver
PostPosted: Wed Oct 01, 2003 5:24 pm Reply with quote

PROfessional Member
 
 


Joined: 18 Jun 2002
Posts: 2587
Location: /home/weaver/
I don't know what kind of interface they have for installing LILO in Lindows, but the place you will want to install it (not MBR) is generally referred to as the superblock of a partition.

If you need to do it manually, the file is generally called lilo.conf Edit the "boot" parameter to the partition you want it intsalled to.

I'll post a lilo.conf from one of my machines below.

Code:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 100
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# 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
# Linux bootable partition config begins
image = /vmlinuz-2.4.18
  root = /dev/hda1
  label = Linux-2.4.18
  read-only

image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
# Linux bootable partition config ends


-Weaver
 
Back to top
khonjo
PostPosted: Wed Oct 01, 2003 9:57 pm Reply with quote

PRO Level 6
 
 


Joined: 23 Nov 2002
Posts: 242
Location: Atlanta/U.S.A.
Specifically, what I want to do is to install LILO in the first sector of the partition where Lindows is installed. For RedHat Linux installation I could specify location for LILO to install but there was no such option for Lindows. Probably Lindows distribution allows LILO to install only in MBR. I was hoping someone knows a trick to overcome this limitation.
 
Back to top
Weaver
PostPosted: Wed Oct 01, 2003 11:02 pm Reply with quote

PROfessional Member
 
 


Joined: 18 Jun 2002
Posts: 2587
Location: /home/weaver/
If you get to a shell in Lindows, you should be able to open up the lilo.conf file, edit it, and commit the changes. Don't use any "wizards" to set it up, do it manually by editing lilo.conf

-Weaver
 
Back to top
khonjo
PostPosted: Thu Oct 02, 2003 5:06 pm Reply with quote

PRO Level 6
 
 


Joined: 23 Nov 2002
Posts: 242
Location: Atlanta/U.S.A.
Do you mean the location of LILO can be changed by editing lilo conf file? Please note my problem is that lilo is located at a wrong place or at MBR instead of the first sector of the second partition.
 
Back to top
Weaver
PostPosted: Thu Oct 02, 2003 6:17 pm Reply with quote

PROfessional Member
 
 


Joined: 18 Jun 2002
Posts: 2587
Location: /home/weaver/
I have understood your problem from your first post. I am sorry that you have not understood my answers.

Yes, you can change LILO's location by editing LILO's configuration file (generally lilo.conf).

The line you will need to change is the "boot = " line, put the location you want LILO located at after the equals sign as my example above demonstrates.

-Weaver
 
Back to top
khonjo
PostPosted: Thu Oct 02, 2003 8:19 pm Reply with quote

PRO Level 6
 
 


Joined: 23 Nov 2002
Posts: 242
Location: Atlanta/U.S.A.
Let me ask the same question putting it different way: Do you mean that LILO can be moved out of MBR and placed in the second partition by editing a file in the LILO? It is hard for me to believe that that is what you are suggesting. What I need to do is to rewrite the MBR for Windows and install LILO in the second partition where Lindows is istalled. I know how to repair MBR but do not know how to install Lindows LILO in the second partition.
 
Back to top
Weaver
PostPosted: Thu Oct 02, 2003 11:27 pm Reply with quote

PROfessional Member
 
 


Joined: 18 Jun 2002
Posts: 2587
Location: /home/weaver/
Quote:
Do you mean that LILO can be moved out of MBR and placed in the second partition by editing a file in the LILO?


Yes.

Quote:
It is hard for me to believe that that is what you are suggesting.


Believe it.

Quote:
but do not know how to install Lindows LILO in the second partition


Do the exact same thing as I have mentioned 3 times, edit the lilo.conf file and commit the changes.

You are going to run into a problem though. If the Windows bootloader is loaded into the MBR then Windows will be in charge of booting Lindows/Linux. If LILO was loaded to the MBR, then LILO could boot both Windows and Lindows/Linux.

I find it much easier to make Linux boot Windows than make Windows boot Linux.

If you are interested in making Windows boot Linux, and are willing to try new things, then take a look at this thread http://pronetworks.org/forum/viewtopic.php?t=11996

Take a look at the long post over half way down. It will explain the procedure for making Windows boot Linux/Lindows.

-Weaver
 
Back to top
khonjo
PostPosted: Sat Oct 04, 2003 6:50 pm Reply with quote

PRO Level 6
 
 


Joined: 23 Nov 2002
Posts: 242
Location: Atlanta/U.S.A.
I changed lilo.conf as suggested, restored Windows MBR then attempted to boot Lindows by switching active partition from Windows to Lindows, but Lindows failed to boot. What I changed specifically with lilo.conf is:

"boot=device/hda" --> "boot=device/hda3"

Note that Lindows is installed in hda3.
 
Back to top
Weaver
PostPosted: Sun Oct 05, 2003 2:11 am Reply with quote

PROfessional Member
 
 


Joined: 18 Jun 2002
Posts: 2587
Location: /home/weaver/
Quote:
then attempted to boot Lindows by switching active partition from Windows to Lindows


One, how did you go about doing this?

Two, did Windows still boot even though you were expecting Lindows to boot?

-Weaver
 
Back to top
Back to top
Index >> Unix, Linux, & Macintosh >> Lindows: How to avoid installing LILO in MBR

Goto page 1, 2  Next

Page 1 of 2

 


Tired of the Ads? Registered users have 80% less adverts.