hd install LILO thing


Forum: HD Install
Topic: hd install LILO thing
started by: rudahsol

Posted by rudahsol on Nov. 19 2003,15:46
SDL is the first of Linux things I've ever laid hands on. I've managed to install it on the hard disk with LILO set up in the MBR. I want LILO set up in the partition instead, and another boot manager in the MBR. How do I do this? What do I use instead of "sudo -u root mkliloboot". Thanks for any help.
Posted by Gilbert Ashley on Nov. 20 2003,20:54
DSL doesn't give you any of the regular lilo options when you first install. However once you've got installed run liloconfig and you will get the regular lilo program that will gice you more options. I do this because I have a multi-boot system including win98 and because of win installer issues I prefer to keep lilo on a floppy disk and also for all my other linux distros. One boot disk for each distro.
After installing DSL you can restore windows MBR with a DOS or windows rescue disk. Just start and type fdisk /MBR
Or install whatever boot manager you want. DSL's liloconfig is not the greatest so I suggest manually editing /etc/lilo.conf
Look for the line:
boot=/dev/xxx
change to    boot=/dev/fd0
then do:
lilo -v -t     #this will test it. it will probably complain about the boot map being on a different disk but that' okay
then just type    lilo    to actually install it to the floppy.
Try it out before you wipe out the MBR. You'll also see in lilo.conf that lilo can boot windows or OS/2 as well.

Posted by KevB on Nov. 21 2003,12:14
If your going to use another boot manager you don't need Lilo do you?
Posted by rudahsol on Nov. 21 2003,16:02
KevB: My boot manager cannot see the partition as bootable without LILO set up in the partition's boot block.
Gilbert: How exactly do I go about editing "lilo.conf" in DSL? How do I log out as user and log in as administrator (command/password) so I can modify the config file and save the changes? What application do I use? Can you help me with this?
Thanks a lot guys!

Posted by Gilbert Ashley on Nov. 21 2003,19:30
If you haven't done so right-click pn the desktop to see the main menu. Choose enhance and you will get the icons for the main dsl applications. Use nedit to open the file called /etc/lilo.conf. Don't change anything except the line
boot=/dev/hd?
change it to  /dev/fd0   (tha't a zero)
Put a fresh formatted floppy in. Then right-click on the desktop and under Xshells choose rxvt. You should get a small black text screen( the command line interface). Inside of there type:   sudo su         This will give you root or superuser priviledges. Then type   lilo   (with the floppy inserted) This will install lilo on the floppy.
If nedit won't let you edit the file(permission denied) then you'll have to use the text editor called vi
From within an rxvt window type vi /etc/lilo.conf
This will open the file. Use the cursor keys to navigate. The x key erases and the insert or i keys will let you insert. The Esc key terminates insertion. When you've made the changes type:     :wq    in order to Write and Quit the program.  Type
less /etc/lilo.conf   in order to see the changes. The program less is a text pager-  SpaceBar to go down, or Shift+PgDn, Shift+PgUp to go up, q   to quit.

Posted by KevB on Nov. 21 2003,20:04
Quote (Gilbert Ashley @ Nov. 21 2003,14:30)
then you'll have to use the text editor called vi
From within an rxvt window type vi /etc/lilo.conf

If you are logged in as root in a terminal you can load any programs you want, you are not limited to vi. Indeed if you need to ask how to edit files under Linux then vi is probably not for you!
Posted by cbagger01 on Nov. 21 2003,22:20
Both of these posts suggest an obvious solution:

(1) Start an Xterminal (rxvt).
(2) Type 'sudo su' to become the root user.
(3) Type 'nedit /etc/lilo.conf

Then you can edit the file using an easy-to-use text editor.

Posted by rudahsol on Nov. 22 2003,18:07
Thanks a lot to all of you.
I'm going to try the various methods tonight. I hope I wont get that 'permission denied' message again.
Again, thank you so much for your help.

Posted by rudahsol on Nov. 22 2003,20:15
I launched rxvt and ran "sudo su". I then ran 'nedit /etc/lilo.conf' to edit the file.I changed 'boot=/dev/hda' to 'boot=/dev/hda6", commented the 'prompt', modified the 'delay' and 'timeout', and deleted the entries for Windows. I saved and exited Nedit. Restarted and booted Windows. Within Windows I fdisked the mbr and then ran my boot manager which detected the ext2 partition as bootable. After setting up the boot manager, I restarted the computer. When I selected the SDL item in the boot menu it booted SDL straight through.
I was able to get what I wanted. (I'll attempt the boot floppy tommorrow.) Thanks a million to you guys.
One last thing. How do I install new programs?
What type of packages should I look for? Where can I usually download these. How do I run these to install?

Posted by KevB on Nov. 22 2003,21:14
Quote (rudahsol @ Nov. 22 2003,15:15)
How do I install new programs?
What type of packages should I look for? Where can I usually download these. How do I run these to install?

You'll need to setup apt-get. Search the forum for the answers to all your questions.
Posted by jester on Dec. 10 2003,15:42
Lilo did not detect all of my partitions on my drive. But you can install XOSL in front of Lilo and use it to boot to whatever you want including Lilo
XOSL < http://www.ranish.com/part/xosl.htm >

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.