View previous topic :: View next topic |
Author |
Message |
wa2flq
Joined: 18 Dec 2008 Posts: 30 Location: Chicagoland
|
Posted: Fri Dec 19, 2008 4:02 pm Post subject: Boot Openstep 4.2 from Grub |
|
|
I have been consolidating several of my "fun" OS's on a single White Box.
I have WinXP, Ubuntu and similiar on an IDE drive and use Grub to control the Multiboot.
My Openstep OS's and Data Disks are all SCSI. To boot these, I insert a copy of the floppy installation disk and key in the required commands.
Everything works fine, but its kind of a kludge to have to boot from a floppy.
Anyone ever determine how to use Grub to boot directly. Grub doesn't recongize the NeXT UFS partitions. I've tried to just chainloader +1 the MBR records from disk directly. It actually starts the boot loader..
Starting up ....
OPENSTEP boot1 v40.13.1 (same version as floppy boot)
and then it just hangs.
Anyone use GRUB or a similiar utility and willing to share the details?Thanks in advance! |
|
Back to top |
|
 |
leo

Joined: 18 Aug 2008 Posts: 5
|
Posted: Mon Jan 12, 2009 6:17 am Post subject: |
|
|
Have you tried with the MBR of the SCSI disk? (it must be 512 bytes)
I booted Openstep with:
System Commander.
Windows XP.
next bootloader.
I think grub can boot Openstep without problems.
Bye
Leo |
|
Back to top |
|
 |
wa2flq
Joined: 18 Dec 2008 Posts: 30 Location: Chicagoland
|
Posted: Mon Jan 12, 2009 11:47 pm Post subject: Openstep via GRUB |
|
|
leo wrote: | Have you tried with the MBR of the SCSI disk? (it must be 512 bytes)
I booted Openstep with:
System Commander.
Windows XP.
next bootloader.
I think grub can boot Openstep without problems.
Bye
Leo |
Leo,
Thanks for some encouragement. I figured there has to be a way, but ran of inspiration. I've used System Commander myself. GRUB tends to focus on partitions, but doesn't understand Openstep partitions. But your note sent me back to the problem.
I finally figured out a way that works.
With an IDE (Linux, XP) and SCSI (Openstep) the commands that work are:
Grub:
rootnoverify (hd1) // Scsi disk
map (hd0) (hd1) // Virtual BIOS swap of ide and scsi
map (hd1) (hd0)
chainloader +1 // load the MBR
boot
At the Openstep prompt
hd()mach_kernel rootdev=sd0a //Thinks its booting off an IDE (?)
or just
rootdev=sd0a
Success!
I guess (heavy on the guess) the Openstep boot loader needs to run from hd0? fd0? |
|
Back to top |
|
 |
mdriftmeyer
Joined: 19 Feb 2008 Posts: 39 Location: Spokane, WA
|
Posted: Wed Apr 29, 2009 1:03 am Post subject: Re: Openstep via GRUB |
|
|
wa2flq wrote: | leo wrote: | Have you tried with the MBR of the SCSI disk? (it must be 512 bytes)
I booted Openstep with:
System Commander.
Windows XP.
next bootloader.
I think grub can boot Openstep without problems.
Bye
Leo |
Leo,
Thanks for some encouragement. I figured there has to be a way, but ran of inspiration. I've used System Commander myself. GRUB tends to focus on partitions, but doesn't understand Openstep partitions. But your note sent me back to the problem.
I finally figured out a way that works.
With an IDE (Linux, XP) and SCSI (Openstep) the commands that work are:
Grub:
rootnoverify (hd1) // Scsi disk
map (hd0) (hd1) // Virtual BIOS swap of ide and scsi
map (hd1) (hd0)
chainloader +1 // load the MBR
boot
At the Openstep prompt
hd()mach_kernel rootdev=sd0a //Thinks its booting off an IDE (?)
or just
rootdev=sd0a
Success!
I guess (heavy on the guess) the Openstep boot loader needs to run from hd0? fd0? |
Is this specific to GRUB or have you tried GRUB2?
- Marc |
|
Back to top |
|
 |
wa2flq
Joined: 18 Dec 2008 Posts: 30 Location: Chicagoland
|
Posted: Sat Aug 08, 2009 9:01 pm Post subject: |
|
|
I have not had time to go check out Grub2. Project for another day I guess.  |
|
Back to top |
|
 |
Nitro Site Admin

Joined: 22 Oct 2005 Posts: 422 Location: Littleton, Colorado USA
|
Posted: Sat Apr 24, 2010 7:47 pm Post subject: |
|
|
mdriftmeyer wrote: |
Is this specific to GRUB or have you tried GRUB2?
- Marc |
I haven't tried Grub2 yet. Here's what I added to my grub1 file to get things working with Ubuntu 9.04. OPENSTEP is located on the first fdisk style partition (IDE drive).
/boot/grub/menu.lst
title OPENSTEP 4.2
root (hd0,0)
chainloader +1
I also have Ubuntu set up to automount my OPENSTEP partition with the following fstab entry.
/etc/fstab
/dev/sda1 /mnt/OPENSTEP1 ufs ro,ufstype=openstep 0 0 _________________ Nitro |
|
Back to top |
|
 |
Nitro Site Admin

Joined: 22 Oct 2005 Posts: 422 Location: Littleton, Colorado USA
|
Posted: Wed Sep 03, 2014 12:49 pm Post subject: |
|
|
I was able to get OPENSTEP to multi-boot using Grub 2 from the first fdisk style partition on an IDE drive. Append the following code to /etc/grub.d/40_custom:
menuentry “OPENSTEP 4.2” {
set root=(hd0,1)
chainloader +1
}
Note that Grub 1 considers the first partition “0” and Grub 2 considers the first partition “1”. OPENSTEP can be made the default boot OS by changing the appropriate value in /etc/default/grub. _________________ Nitro |
|
Back to top |
|
 |
|