lilo

John Seth johnseth at phoenixwing.com
Sun Nov 10 11:09:30 EST 2002


this makes it much clearer as to what was going on...
the picture I had was way out of the ballpark...
Sounded like your bios was booting IDE and not SCSI...
Thanks for the clarity, helps me out a bit too ... :)

  - Tony

----- Original Message -----
From: "Cyber Source" <peter at thecybersource.com>
To: <nflug at nflug.org>
Sent: Sunday, November 10, 2002 9:39 AM
Subject: Re: lilo


: Ok, Here is my synopsis on this, I will be a bit more thorough than I
: was yesterday and it should cut down on a lot of the "What the
: *uck??!!!'s" that I voiced during this for someone attempting the same
: thing.......
: 1. The hardware that I have is, 2 existing ide drives on my
motherboards
: primary ide controller, being hda and hdb. hda has my existing linux
: install and hdb has my existing xp install.
: 2. I installed a new scsi drive with a separate controller (not on
: motherboard), being sda
: 3. I installed RedHat 8 on the new scsi drive and the problem arose
when
: lilo did not install correctly, i noticed this on the first boot after
: installing RedHat. This situation can be confused by the fact that you
: can tell BIOS to boot from different devices first. I wanted it to
boot
: the scsi drive first and I wanted lilo installed on that drive and to
: then dual or triple boot from there.
: 4. When I rescue booted the system and then tried to config lilo
: manually and run, it kept giving me errors that lilo was not installed
: on the first drive.
: 5. So the system thinks that the ide drives are first and the scsi
after
: no matter how the system booted and which drives the system booted
from.
: I don't believe this is just a Linux thing but so it goes.
: 6. I then read the man page on lilo.conf and found that you can tell
: lilo that the scsi drive is first with the line "disk=/dev/sda
: bios=0x80". It seems lilo translates by default, first drive
(hda=0x80)
: second drive (hdb=0x81), etc. I then ran lilo and got no errors and
the
: system booted just fine. NOTE: I still have the bios booting from scsi
: first.
: 7. Still had a problem though, could not dual boot to my xp drive.
After
: a lot of trial and error, the following additions to lilo.conf made it
: work, "disk=/dev/hdb bios=0x83" and the following
: other=/dev/hdb1
:         label=Windows
:         table=/dev/hdb
:         map-drive=0x80
:         to=0x83
:         map-drive=0x83
:         to=0x80
: The tricky part here, is that because I told it that the scsi is 0x80,
: the other drives bumped down respectively, i.e. how the hdb drive
became
: 0x83 instead of 0x82.
: 8. After those changes, both boot perfectly, from lilo installed on
the
: scsi drive.
: Hope this keeps the "What the *uck???!!!'s" down, lol.......
:
:
:
: On Sun, 2002-11-10 at 00:38, Charles Rishel wrote:
: > I am taking it that either :
: > 1:  your scsi drive is set as your master drive
: > 2:  Linux recognizes SCSI drives before IDE drives
: >
: > If this is not the case plz post again to this subject, as I have
been
: > considering going to SCSI drives/interface to my current Linux
: > implementation, which is currently on IDE drives.  This would really
help
: > me in case of problems.
: >
: > Thanks,
: > Chaz03
: >
: >
: > At 08:32 PM 11/9/02 -0500, you wrote:
: > >OK Here it is,the solution for all that may be interested or have a
need
: > >to know either now or in the future.
: > >   I have figured it out, to have my linux on my first scsi drive
and my
: > >windows on my first(or in my case second) ide drive.
: > >The lilo.conf file needs to have the following,
: > >disk=/dev/sda bios=0x80
: > >disk=/dev/hdb bios=0x83
: > >as well as having
: > >
: > >other=/dev/hdb1
: > >         label=Windows
: > >         table=/dev/hdb
: > >         map-drive=0x80
: > >         to=0x83
: > >         map-drive=0x83
: > >         to=0x80
: > >and that did it. Now my RedHat 8 is on my first scsi with lilo
being on
: > >the mbr of the scsi drive and pointing to the windows drive on my
slave
: > >on the secondary ide controller.
: > >now, all is well again..................lol
: > >
: > >On Sat, 2002-11-09 at 20:03, Cyber Source wrote:
: > > > Does this help or are you in more of a mess!!!
: > > > I asked about the relationship of scsi vs ide in lilo. I dont
need to
: > > > know about windows. Thanks anyway.....
: > > > On Sat, 2002-11-09 at 17:40, sfielding7 wrote:
: > > > > OK
: > > > >
: > > > > As I understand all operating systems look on the first
partion of the
: > > > > first drive for the boot loader.
: > > > > This file tells you what operating systems are loaded and the
computer
: > > > > where you put them.
: > > > > So normally C but A is available you have the boot loader
normaly I put
: > > > > Windows in first and this goes on C.
: > > > > The next operating system is added this adds one line to
boot.ini and
: > > > > directs the computer to the location.for the next op sys
: > > > >
: > > > > Now lets talk dirty;
: > > > > drive partitioning and tweak UI
: > > > > This is who I set up my drives  -2 one 20gig the other 40gigs
: > > > > Drive one 40gig
: > > > > C= 2gig holds boot and at this time W98
: > > > > E=5gig holds program files for W98
: > > > > F=5gig holds My Docs for W98
: > > > > G=5gig holds video & jpg files
: > > > > H=5gig holds other files normaly fresh down loads
: > > > > I=2gig second op sys W2k or Linux
: > > > > J=2gig second op sys programs
: > > > > K=2gig second op sys My Docs
: > > > > L=Balance
: > > > > Drive one 20gig
: > > > > D=5gig holds page files for both op sys
: > > > > M=7.5gig first back up
: > > > > N=7.5gig second backup
: > > > > *******************************************
: > > > > Now the fun stuff
: > > > > I use tweak UI to relocate W98 programs , My Documents My
Music to the
: > > > > correct drive
: > > > > If I upgrade W98 to W2K I reformat C intall ALL my files are
still in
: > > > > place and available.
: > > > > This also gos for my second op sys it can be blown away and
changed
: > > > > ********************************************
: > > > > Remember Linux allows you to mount Fat drives so it can still
see my W98
: > > > > files
: > > > > When I had W2K I used NTSF and these files where hidden from
W98
: > > > >
: > > > > Backup are done with batch files coping various folds to one
of the back
: > > > > up partitions
: > > > > once a month I burn CD for safe back up storage
: > > > >
: > > > > Does this help or are you in more of a mess!!!
: > > > > Stephen
: > > > >
: > > > > Cyber Source wrote:
: > > > >
: > > > > >"remember your computer must have a common first drive to
dual boot"
: > > > > >I do realize that and then the question went on as to how to
write
: > > > > >lilo.conf so that this can be accomplished. Are you saying,
that in a
: > > > > >dual boot scenario with scsi and ide, that lilo has to be on
the ide? I
: > > > > >found with the disk=/dev/sda bios=0x80 statement that I can
tell the
: > > > > >system that the scsi drive is first but then I have trouble
booting to
: > > > > >the actual ide drive (which has window$ on it)
: > > > > >On Sat, 2002-11-09 at 09:10, sfielding7 wrote:
: > > > > >
: > > > > >
: > > > > >>OH no
: > > > > >>
: > > > > >>lilo goes on the IDE drive boot goes on scsi
: > > > > >>remember your computer must have a common first drive to
dual boot
: > > > > >>the only other way is to use a boot floppy to tell the
system where to
: > > > > >>go to boot
: > > > > >>
: > > > > >>OK
: > > > > >>
: > > > > >>Cyber Source wrote:
: > > > > >>
: > > > > >>
: > > > > >>
: > > > > >>>Ok, here's one for ya....
: > > > > >>>I am redoing my system, just got a new scsi hard drive and
installed
: > > > > >>>RedHat 8 on it. I also have an existing windows xp drive
(on ide
: > > drive)
: > > > > >>>that I used to dual boot with. When connected to the new
system, I
: > > could
: > > > > >>>not successfully install lilo because it would take the ide
drive
: > > as the
: > > > > >>>first drive and the scsi drive after. I read the man page
on lilo and
: > > > > >>>found that the syntax of "disk=/dev/sda bios=0x80" could be
added to
: > > > > >>>lilo.conf to tell the system that this is the first drive
in the
: > > system,
: > > > > >>>even with an ide at hda. That worked fine and then
successfully
: > > > > >>>installed lilo, which booted Linux fine. However, I cannot
figure out
: > > > > >>>how to get it to dual boot now. I use to use the syntax of
: > > > > >>>"map-drive=0x80 to=0x82 map-drive=0x82 to=0x80" but that no
longer
: > > > > >>>works. That use to work with the drive connected on as hde1
(I have a
: > > > > >>>motherboard with additional ATA controllers). I tried
connecting it as
: > > > > >>>hda to simplify things but that didn't work either. Anyone
have any
: > > > > >>>experience with this one?
: > > > > >>>
: > > > > >>>
: > > > > >>>
: > > > > >>>
: > > > > >>>
: > > > > >>>
: > > > > >>>
: > > > > >>>
: > > > > >>>
: > > > > >>--
: > > > > >>Hamilton  Ontario Canada
: > > > > >>
: > > > > >>Remember chin up and put on a SMILE
: > > > > >>You my be surprised who is watching.
: > > > > >>
: > > > > >>
: > > > > >>
: > > > > >
: > > > > >
: > > > > >
: > > > > >
: > > > > >
: > > > > >
: > > > >
: > > > > --
: > > > > Hamilton  Ontario Canada
: > > > >
: > > > > Remember chin up and put on a SMILE
: > > > > You my be surprised who is watching.
: > > > >
: > > >
: >
: > "If you want others to follow, give them leadership that they can
believe in."
:
:
:
:





More information about the nflug mailing list