LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-30-2004, 03:08 PM   #1
svar
Member
 
Registered: Jul 2003
Posts: 352

Rep: Reputation: 30
LILO on system with BIOS boot options C,A,CDROM


I am installing SLAC on a system with hda =windows and hdc having a windws partition hdc1 and a swap, boot and root linux partions, root in /dev/hdc4

(hdb is for CDROM)
anyway, SLAC had a recommended option install on root , floppy or MBR, which it warned was not safe. But since this was an old PC with a presumably old BIOS, how do I tell BIOS
to boot from LILO, which is on hdc?
 
Old 10-30-2004, 07:36 PM   #2
Joe Nayares
Member
 
Registered: Nov 2003
Location: california
Distribution: PCLinux OS
Posts: 48

Rep: Reputation: 15
Usually as you reboot there is an opton to go to bios directly ( on my computer I press "delete" as it boots up)
Once in the bios setup select boot order such as :
floppy disk
Cdrom
Ide2 master, etc.
Joe
 
Old 10-30-2004, 10:48 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Which windows do you have. If it is win98, then make a windows rescue disk in case something happen and you need the old MBR back and then put Lilo on the MBR. Also create a linux rescue disk, or use the first install disk if you develop a problem.

I you can't load windows after doing this you just need to boot up with the rescue floppy and run the command FDISK /MBR. Problems seem to be had with Windows XP however.

Last edited by jschiwal; 10-30-2004 at 10:50 PM.
 
Old 10-31-2004, 12:58 AM   #4
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Thanks,
Right now I guess I really need to put LILO on MBR, I see no other way out

jschiwal:windows is 98. Have you tried this with problems on 98 or just XP?
Joe: the problem is that (probably becuase the bios is old) there is a set of bios boot combinations and I do not seem to be able to change them, i.e. page up/down has the following choices
A,C,SCSI
C,A,SCSI
SCSI,C,A,
...
A,C,CDROM
C,A,CDROM
CDROM,A,C
.....
there is nowhere a
D,A,.... choice which I guess is what I need, as LILO is on the
second hd.
 
Old 10-31-2004, 03:03 AM   #5
Joe Nayares
Member
 
Registered: Nov 2003
Location: california
Distribution: PCLinux OS
Posts: 48

Rep: Reputation: 15
Looks like your best bet is to go with the one that starts with "C" Later on you can change it back to start normally.
Joe
 
Old 10-31-2004, 04:27 AM   #6
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Thanks, but not sure I understand:
C ( I guess this means windows C) is hda, which is all windows
hdc has both a windows (hdc1) and linux partitions. If root is in
/dev/hdc4, how does specifying C help me boot linux?
C will search the hda diska nd boot windows without going thru LILO, no??
 
Old 10-31-2004, 04:32 AM   #7
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 32
No unfortunately you need something to start the Linux boot process. Lilo works very well. I have Win XP and Slackware 10.0 each residing on a different drive (windows on /dev/hde1 - still the C drive and Linux on /dev/hdf1). I ran liloconfig and chose the expert option, that way I could specify delay time to boot an OS and the order in which they show up. The LILO code is put on the MBR and that works fine.

As far as your BIOS setting, I would put A,CDROM,C if you have that option. Your computer will attempt to boot in that order and boot the first available.

Last edited by n0xvb; 10-31-2004 at 04:34 AM.
 
Old 10-31-2004, 02:40 PM   #8
Joe Nayares
Member
 
Registered: Nov 2003
Location: california
Distribution: PCLinux OS
Posts: 48

Rep: Reputation: 15
Sorry for confusing you what I meant was choose the option
C,A,CDROM
this will make your system try first all the options on drive hdc where lilo is installed
then when you get going again you can change the lilo.conf file to suit your needs
(don't forget torun lilo again)
Joe
 
Old 11-01-2004, 12:38 AM   #9
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Thanks, one last question then: How do I make a windows rescue disk in case something goes wrong?(win 98)
 
Old 11-01-2004, 01:49 AM   #10
Joe Nayares
Member
 
Registered: Nov 2003
Location: california
Distribution: PCLinux OS
Posts: 48

Rep: Reputation: 15
A good place for that is "http://bootmaster.filerecovery.biz"
Joe
 
Old 11-01-2004, 07:07 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,853

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You can create an emergency disk by going to the
system -> Add/Remove programs -> startup disk tab
or
Download a 98 boot disk from
www.bootdisk.com

Last edited by michaelk; 11-01-2004 at 07:08 AM.
 
Old 11-01-2004, 07:47 AM   #12
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You don't want to change the boot order. Leave it at A,CDROM,C.

The install put lilo ( Actually the 240 byte bootstrap loader ) on the MBR. A lilo menu will let you choose between Linux or Windows.

Reinstalling windows will replace the MBR so you need to produce a linux boot disk, just in case. Unfortunately there is a bit of a snag. If you have a 2.6 kernel, or a 2.4 kernel with several modules compiled in, the compressed kernel will not fit on a floppy.
There are two solutions to this.
1) Installing Lilo on a floppy
2) Producing a Boot or Rescue CD. I don't know which command slackware uses.
On redhat, you use 'mkbootdisk --iso'
On mandrake there isn't an --iso option, but another script 'mkrescue --iso' produces a cd image file you can use to boot up from the hard-drive.

You will need to check the manpage for 'mkbootdisk' to find out for sure. These programs are both scripts, written for the particular distribution.

You need to produce a new boot disk if you change the partitioning.

One thing that can go wrong is if one of the stanzas in the /etc/lilo.conf file is wrong, or if a partition is missing. Then Lilo will fail. When that happens, the MBR is not updated.

Relax though. I've always had luck with Windows 98/Linux dual boot installs. Sometimes XP on desktops have a problem though.
 
Old 11-01-2004, 08:30 AM   #13
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Thanks. Well this is not actually my computer(since it had win98 on it)
and I actually was asked to install linux in addition to 98, so I don;t wast anything to go wrong. I always installed on MBR, but slac says this is very unsafe. I can install on MBR as far as linux goes(I have the
boot floppies made), but what if this messes up Win98?
This is my concern and I want to have a win98 rescue or something
 
  


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
Options for installing Linux without Boot from CD option in BIOS johnnygun Linux - Hardware 2 02-07-2005 01:35 PM
boot options using LILO jmrich Linux - Newbie 4 06-11-2004 12:27 PM
Boot cd from ext usb cdrom (not supported in bios) jcoder24 Linux - General 2 02-16-2004 12:35 PM
Lilo boot options? JMC Linux - General 1 06-05-2002 11:10 PM
LiLo boot+ EZ bios RancidLM Linux - Software 4 10-17-2001 03:30 AM


All times are GMT -5. The time now is 09:07 PM.

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