NeXT Computers Forum Index NeXT Computers
www.NeXTComputers.org
 
Log in to check your private messagesLog in to check your private messages

Log inLog in  RegisterRegister


Profile  Search  Memberlist  FAQ  Usergroups
Boot Openstep 4.2 from Grub

 
Post new topic   Reply to topic    NeXT Computers Forum Index -> White Hardware
View previous topic :: View next topic  
Author Message
wa2flq



Joined: 18 Dec 2008
Posts: 30
Location: Chicagoland

PostPosted: Fri Dec 19, 2008 4:02 pm    Post subject: Boot Openstep 4.2 from Grub Reply with quote

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
View user's profile Send private message
leo



Joined: 18 Aug 2008
Posts: 5

PostPosted: Mon Jan 12, 2009 6:17 am    Post subject: Reply with quote

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
View user's profile Send private message
wa2flq



Joined: 18 Dec 2008
Posts: 30
Location: Chicagoland

PostPosted: Mon Jan 12, 2009 11:47 pm    Post subject: Openstep via GRUB Reply with quote

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! Cool


I guess (heavy on the guess) the Openstep boot loader needs to run from hd0? fd0?
Back to top
View user's profile Send private message
mdriftmeyer



Joined: 19 Feb 2008
Posts: 39
Location: Spokane, WA

PostPosted: Wed Apr 29, 2009 1:03 am    Post subject: Re: Openstep via GRUB Reply with quote

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! Cool


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
View user's profile Send private message Yahoo Messenger
wa2flq



Joined: 18 Dec 2008
Posts: 30
Location: Chicagoland

PostPosted: Sat Aug 08, 2009 9:01 pm    Post subject: Reply with quote

I have not had time to go check out Grub2. Project for another day I guess. Rolling Eyes
Back to top
View user's profile Send private message
Nitro
Site Admin


Joined: 22 Oct 2005
Posts: 421
Location: Littleton, Colorado USA

PostPosted: Sat Apr 24, 2010 7:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Nitro
Site Admin


Joined: 22 Oct 2005
Posts: 421
Location: Littleton, Colorado USA

PostPosted: Wed Sep 03, 2014 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NeXT Computers Forum Index -> White Hardware All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2017 phpBB Group