🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.mandrake
Article #536

be my lilo --> grub translator

#536
From: Dan Jacobson
Date: Sun, 10 Dec 2000 22:23
71 lines
3334 bytes
Gee, is there any lilo --> grub translation scripts out there?
I suppose it's not that simple, but I can't find out how to say
> disk=/dev/hda
> bios=0x81
> disk=/dev/hdb
> bios=0x80
in grub.

By the way, Svend's solution was like the equivalent to finding the cure for
cancer
as far as my computer is concerned.  Thanks Svend.

[Re: why can't one boot from /dev/hdb?]
"Svend Olaf Mikkelsen" <svolaf@inet.uni2.dk>
> "Dan Jacobson" <jidanni@kimo.FiXcomTHiS.tw> wrote:
>
> >boot=/dev/fd0
>
> boot=/dev/hdb
> >map=/boot/map
> >install=/boot/boot.b
> >vga=normal
> >default=linux
> >keytable=/boot/us.klt
> >prompt
> >timeout=50
> disk=/dev/hda
> bios=0x81
> disk=/dev/hdb
> bios=0x80
> >message=/boot/message
> >menu-scheme=wb:bw:wb:bw
> >image=/boot/vmlinuz
> > label=linux
> > root=/dev/hdb1
> > initrd=/boot/initrd.img
> > append=" hdc=ide-scsi"
> > read-only
> >other=/dev/hda1
> > label=windows
> > table=/dev/hda
# remove for floppy version
> > map-drive=0x80
> >    to=0x81
> > map-drive=0x81
> >    to=0x80

I found the grub way to say 'map' [which I indeed had to remove to
boot windows from the floppy, it was already mapped apparently],
but I can't find the grub way to say disk=/dev/hda, bios=0x81...

I'm fairly sure then all I need to do is
# grub
root (hd1,1)..... #or wherever one's /boot is
setup (hd1) #write only the MBR of hdb

how does this differ from doing
# lilo
with the above /etc/lilo.conf?
Would lilo here also only write the MBR of hdb?

Just curious, grub is said to be more flexible than lilo.
Do we see any glimpses of these additional flexibilities in the above examples?

[my problem was [before svend fixed it]: I want to set the bios to boot from hdb
where linux lives,
hda is windows.  I currently can boot from the floppy [not a rescue floppy, but
just a grub in the MBR floppy]
--
www.geocities.com/jidanni E-mail: restore ".com."  ???
Tel:+886-4-5854780; starting in year 2001: +886-4-25854780
Technical Details
Message-ID: <911034$e0u$1@taliesin.netcom.net.uk>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.online.be!diablo.netcom.net.uk!netcom.net.uk!pubnews.netcom.net.uk!not-for-mail
References: <90h683$11v$1@taliesin.netcom.net.uk> <3a326e38.7943456@news.inet.tele.dk> <90n52k$jul$2@taliesin.netcom.net.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f73,7e259f2c0465a3f5
X-Google-Attributes: gid109f73,public
X-Google-Thread: f8a83,7e259f2c0465a3f5
X-Google-Attributes: gidf8a83,public
X-Google-Thread: f9b51,7e259f2c0465a3f5
X-Google-Attributes: gidf9b51,public
X-Google-ArrivalTime: 2000-12-10 14:28:57 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.online.be!diablo.netcom.net.uk!netcom.net.uk!pubnews.netcom.net.uk!not-for-mail
From: "Dan Jacobson" <jidanni@kimo.FiXcomTHiS.tw>
Newsgroups: alt.os.linux.mandrake,comp.os.linux.setup,gnu.utils.help
Subject: be my lilo --> grub translator
Date: Mon, 11 Dec 2000 06:23:24 +0800
Organization: Taiwan is Taiwan is not China
Lines: 75
Sender: jidanni@hotmail.com
Message-ID: <911034$e0u$1@taliesin.netcom.net.uk>
References: <90h683$11v$1@taliesin.netcom.net.uk> <3a326e38.7943456@news.inet.tele.dk> <90n52k$jul$2@taliesin.netcom.net.uk>
NNTP-Posting-Host: as6po167.tc.ficnet.net.tw
X-Trace: taliesin.netcom.net.uk 976487333 14366 202.145.51.167 (10 Dec 2000 22:28:53 GMT)
X-Complaints-To: abuse@corp.netcom.net.uk
NNTP-Posting-Date: 10 Dec 2000 22:28:53 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400