🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.setup
Article #58

Re: Red Hat 7.0 & Lilo

#58
From: Elem103
Date: Fri, 06 Apr 2001 02:13
91 lines
4390 bytes
"Markku Tikkanen" <mtikkane@remove.hytti.uku.fi> wrote in message
news:9ah85a$obg$1@luotsi.uku.fi...
> Elem103 <elem103@smokey.aic.net.au> wrote:
>
>
> >> Can Win 2k boot loader run after lilo has taken in? I had the idea that
2k
> >> acts like NT and doesn't boot if it doesn't 'own' the MBR? Am I wrong?
>
> > I'm running my system with NT and Linux and Linux owns MBR.  Also have a
> > system with Win2K and linux and it works fine too.
>
> OK. I'm just making sure that this is possible, because Red Hat guides
> state that: "To create a dual-boot environment on a system that currently
> has NT, you must install LILO on the first sector of the root partition,
> not the MBR."
>
> I have also assumed, that NT or 2k won't boot if it doesn't
> own the MBR. Glad that you made it. How did you install the OS's? First
> the M$ stuff and then Linux, writing the MBR over?

Hmm.. i did this about a year ago.  Hope i still remember how to do it ..
properly.  Anyway, i think this is what i did.

I made sure that everything is in the first 1024 cylinders of the hard
drive, due to the use of old lilo.

ie.

Partition your hard drive with Linux first.  I use fdisk to partition
everything, specifying the correct partition type for each partition.  What
i have is:

/dev/hda1             1       131   1052226    b  Win95 FAT32
/dev/hda2           132       262   1052257+   6  FAT16
/dev/hda3           263       279    136552+  82  Linux swap
/dev/hda4   *       280       526   1984027+   5  Extended
/dev/hda5           280       296    136521   83  Linux
/dev/hda6           297       305     72261   83  Linux
/dev/hda7           306       338    265041   83  Linux
/dev/hda8           339       469   1052226   83  Linux
/dev/hda9           470       526    457821   83  Linux

Win98 goes in /dev/hda1, WinNT goes into /dev/hda2 and Linux root partition
/ goes into ... /dev/hda5 :)  Yeah i know this is messy oh well.

Always always install Win95/98/ME2000 first.  That thing always mess around
with your MBR.

Then install WinNT.

Then it's time to install linux.  Install normally.

/dev/hda5               /
/dev/hda6               /tmp
/dev/hda7               /var
/dev/hda8               /usr
/dev/hda9               /home

Add LILO to MBR with /dev/hda1 as Win98, /dev/hda2 as WinNT and image in
/dev/hda5 as linux.

Then again, i manually edit lilo so that i can boot into those 3 operating
system and i'm using Debian.

eg.

boot=/dev/hda
root=/dev/hda5
install=/boot/boot.b
map=/boot/map
delay=5
default=Linux243
image=/boot/vmlinuz-2.4.3
        label=Linux243
        read-only
other=/dev/hda1
       label=Win95
other=/dev/hda2
       label=WinNT

> Anyway this prob below was odd, I thought that newer lilo's could load
> with that lba32 setting the OS being quite far from beginning of drive. Or
> is that the problem I'm having?

Well, i have not tested lilo much, so i can't really say.  Most of the time,
i just made sure that my boot partition is above 1024.

Cheers,
Elem103
Technical Details
Message-ID: <RC9z6.142$pO2.3859@ozemail.com.au>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.ozemail.com.au!ozemail.com.au!not-for-mail
References: <9a9s0s$19h$1@perki.connect.com.au> <9a9sus$2rc$1@porthos.nl.uu.net> <9a9vqe$415$1@perki.connect.com.au> <9aa0fq$4tn$1@porthos.nl.uu.net> <9abrrv$jcj$1@perki.connect.com.au> <9agsrq$14og$1@luotsi.uku.fi> <iRTy6.2605$MM.108683@ozemail.com.au> <9ah85a$obg$1@luotsi.uku.fi>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,5c9203f2657acd99
X-Google-Attributes: gid102983,public
X-Google-Thread: f9b51,5c9203f2657acd99
X-Google-Attributes: gidf9b51,public
X-Google-ArrivalTime: 2001-04-05 19:13:07 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.ozemail.com.au!ozemail.com.au!not-for-mail
From: "Elem103" <elem103@smokey.aic.net.au>
Newsgroups: comp.os.linux.setup,aus.computers.linux
References: <9a9s0s$19h$1@perki.connect.com.au> <9a9sus$2rc$1@porthos.nl.uu.net> <9a9vqe$415$1@perki.connect.com.au> <9aa0fq$4tn$1@porthos.nl.uu.net> <9abrrv$jcj$1@perki.connect.com.au> <9agsrq$14og$1@luotsi.uku.fi> <iRTy6.2605$MM.108683@ozemail.com.au> <9ah85a$obg$1@luotsi.uku.fi>
Subject: Re: Red Hat 7.0 & Lilo
Lines: 93
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <RC9z6.142$pO2.3859@ozemail.com.au>
NNTP-Posting-Host: h94.unit21.ozemail.com.au
X-Trace: ozemail.com.au 986523185 203.108.13.94 (Fri, 06 Apr 2001 12:13:05 EST)
NNTP-Posting-Date: Fri, 06 Apr 2001 12:13:05 EST
Organization: OzEmail Ltd, Australia
Distribution: world
Date: Fri, 6 Apr 2001 12:13:04 +1000