TIP: Click on subject to list as thread! ANSI
echo: os2user-l
to: All
from: Felix Miata
date: 2004-06-07 18:57:24
subject: Re: Using GRUB to boot OS/2

paulm{at}waitrose.com wrote:
 
> I have a need to use GRUB to boot several operating systems, including
> OS/2. I compiled v0.93 and installed it, both to a floppy disk and to
> the boot sector of a Linux disk (originally I was using Boot Manager to
> select the Linux partition and Grub from there). Now, I need to use
> Grub to boot Linux, Windows and OS/2. And I'm having trouble getting it
> to boot OS/2, even though I have follwed the instructions in the docs.
 
> I've tried this from the grub command line:
 
> rootnoverify (hd0,5)
> makeactive - and this is the point where the problems start...
> chainloader +1
> boot

I'm pretty sure the problem is actually the first line. It isn't
followed by a line with an equivalent to /boot/os2_d.b used by Lilo to
boot an OS/2 logical. I'm pretty sure Grub isn't smart enough to load
OS/2 from a logical without this help, which ordinarily is provided by
IBM BM.
 
> The 'makeactive' command returns an invalid device error, even though

Makeactive has no relevance to a logical. Active isn't even necessary to
either WinDOS or OS/2 booted from a primary, as long as there is only
one primary active per HD, and no more than one primary per HD visible.
When IBM BM is installed, it is the active primary, not any DOS or OS/2
primary.

> it is the correct device. And any further steps fail. With windows (on
> a FAT32 partition, I don't even need the 'makeactive' command, simply
> 'chainloader +1' and 'boot' do the job.

Correct, but only on a primary AFAIK.
 
> It looks almost as though Grub is failing due to not understanding
> HPFS, but there is nothing that I can find in the docs that suggests
> there should be any problem.

It doesn't know how NAICT, without as I wrote above.
 
> So, has anyone used Grub to boot OS/2 on an HPFS partition? If so, how
> about letting me in on the secret? :0

I've never figured out how to get Grub to boot a logical OS/2 partition
of any type, but I've had no problems I can recall getting it to boot a
primary. Why can't you continue to use IBM BM, and have it load your
Grub as necessary? That's how I normally do it.
-- 
"For since the creation of the world God's invisible qualities -- his
eternal power and divine nature -- have been clearly seen, being
understood from what has been made, so that men are without excuse."
                                                Romans 1:20 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/partitioningindex.html



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/E8folB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

 To visit your group on the web, go to:
     http://groups.yahoo.com/group/os2user/

 To unsubscribe from this group, send an email to:
     os2user-unsubscribe{at}yahoogroups.com

 Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 


---
* Origin: Waldo's Place USA Internet Gateway (1:3634/1000)
SEEN-BY: 633/267 270
@PATH: 3634/1000 12 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.