Dual booting OSX and Debian on G3 beige

2001-12-05 Thread Wayne Pascoe
Hi all,

This is a repost of a saga that I am currently looking for help on
uk.comp.os.linux. Apologies to anyone who has already seen this.

The machine in question is a beige G3 oldworld machine. I have OSX
installed and I then did this :

I downloaded the first 2 disks for woody and did an FTP base install
of that. Woody's installation appears to be more advanced that
potato's when it comes to quik.

It changed the boot-command and boot-device in my open firmware for
me. However, a reboot just got a message scrolling saying

can't OPEN:  can't OPEN: 

I now have the following in /etc/quik.conf
init-message="Debian GNU/Linux PowerPC (woody)"
default=Linux
timeout=100
root=/dev/hda7

## Do not point image= to a symlink, quik can't follow symlinks
image=/boot/vmlinux-2.2.19-pmac
label=Linux
read-only

/boot/vmlinux-2.2.19-pmac does exist. 

Running quik produces the following warning :
Warning: prior partition (entry 6) is bootable

Rebooting the system with the boot-device and boot-command set to what
debian set them to at install time 
(boot-device /pci/mac-io/[EMAIL PROTECTED]/[EMAIL PROTECTED]:0, boot-command 
begin ['] boot catch 1000 ms cr again boot)

produces:
0> can't OPEN:
 ok
0>

If anyone can help I would _much_ appreciate it. I can't help but feel
I'm close. I have both OS's on the machine, I just can't boot debian
:( If anyone knows of somewhere else I could ask this question, I
would appreciate that information as well!

TIA,

-- 
- Wayne Pascoe
 | If you can't dazzle them with brilliance, 
[EMAIL PROTECTED]  | riddle them with bullets.
http://www.penguinpowered.org.uk | 



Re: Dual booting OSX and Debian on G3 beige

2001-12-05 Thread Chris Tillman
On Wed, Dec 05, 2001 at 11:31:46AM +, Wayne Pascoe wrote:
> Hi all,
> 
> This is a repost of a saga that I am currently looking for help on
> uk.comp.os.linux. Apologies to anyone who has already seen this.
> 
> The machine in question is a beige G3 oldworld machine. I have OSX
> installed and I then did this :
> 
> I downloaded the first 2 disks for woody and did an FTP base install
> of that. Woody's installation appears to be more advanced that
> potato's when it comes to quik.

Yes, potato didn't really work at all. There were some quik and dirty
patches made for woody.

> 
> It changed the boot-command and boot-device in my open firmware for
> me. However, a reboot just got a message scrolling saying
> 
> can't OPEN:  can't OPEN: 
> 
> I now have the following in /etc/quik.conf
> init-message="Debian GNU/Linux PowerPC (woody)"
> default=Linux
> timeout=100
> root=/dev/hda7
> 
> ## Do not point image= to a symlink, quik can't follow symlinks
> image=/boot/vmlinux-2.2.19-pmac
> label=Linux
> read-only
> 
> /boot/vmlinux-2.2.19-pmac does exist. 
> 
> Running quik produces the following warning :
> Warning: prior partition (entry 6) is bootable

Ah hah. You have run quik before, when partition 6 was the root
partition. 

> 
> Rebooting the system with the boot-device and boot-command set to what
> debian set them to at install time 
> (boot-device /pci/mac-io/[EMAIL PROTECTED]/[EMAIL PROTECTED]:0, boot-command 
> begin ['] boot catch 1000 ms cr again boot)
> 
> produces:
> 0> can't OPEN:
>  ok
> 0>
> 
> If anyone can help I would _much_ appreciate it. I can't help but feel
> I'm close. I have both OS's on the machine, I just can't boot debian
> :( If anyone knows of somewhere else I could ask this question, I
> would appreciate that information as well!

What's happening is what quik is warning you about when you run it. By
default, quik finds the first bootable partition on a disk and tries
to mount it as root, and find a kernel there, etc.

You have a boot block on partition 7 also, the quik.conf shows you had
partition 7 mounted as root when you ran the Make Bootable step. One
option for the short term, is to boot partition 7 directly. To do
that, you would change the boot device to be just the same, except at
the end change @0:0 to @0:7 . For me at least, that forces it to
ignore the boot blocks on partition 6.

What's on partition 6? Can it be deleted and re-initialized? (It must
be deleted and become free space before the boot block won't be recognized
any more.)

If you don't delete partition 6, you'll always get that warning. But
if it works that way, you might not care.

-- 
*--v-- Installing Debian GNU/Linux 3.0 For PowerPC -v*
|  |
| debian-imac:   |
|Chris Tillman[EMAIL PROTECTED]  |
| May the Source be with you |
**



Re: Dual booting OSX and Debian on G3 beige

2001-12-06 Thread Wayne Pascoe
Chris Tillman <[EMAIL PROTECTED]> writes:

> > Running quik produces the following warning :
> > Warning: prior partition (entry 6) is bootable
> 
> Ah hah. You have run quik before, when partition 6 was the root
> partition. 

Partition 6 has never been the root partition. Partition 6 is my MacOS
HFS partition with OSX installed on it.

> What's happening is what quik is warning you about when you run it. By
> default, quik finds the first bootable partition on a disk and tries
> to mount it as root, and find a kernel there, etc.

I don't see how it would be finding a Linux kernel there. I would
assume a Mach3 kernel, maybe, but it shouldn't even know how to mount
that partition because it is UFS.

> You have a boot block on partition 7 also, the quik.conf shows you
> had partition 7 mounted as root when you ran the Make Bootable
> step. One option for the short term, is to boot partition 7
> directly. To do that, you would change the boot device to be just
> the same, except at the end change @0:0 to @0:7 . For me at least,
> that forces it to ignore the boot blocks on partition 6.

I'll try that this evening when I get home.

> What's on partition 6? Can it be deleted and re-initialized? (It must
> be deleted and become free space before the boot block won't be recognized
> any more.)

Not really. I need the MacOS X environment. The dev work I am doing is
porting a FreeBSD app to Linux. It already runs on OSX.

> If you don't delete partition 6, you'll always get that warning. But
> if it works that way, you might not care.

What if I installed MacOSX behind Linux ? Would that help at all ? 

-- 
- Wayne Pascoe
 | I'm only in this job until an opening
[EMAIL PROTECTED]  | comes up in the fast food business...
http://www.penguinpowered.org.uk | 



Re: Dual booting OSX and Debian on G3 beige

2001-12-06 Thread Thomas Powell
On Thu, Dec 06, 2001 at 08:52:59AM +, Wayne Pascoe wrote:
> Chris Tillman <[EMAIL PROTECTED]> writes:
> 
> Partition 6 has never been the root partition. Partition 6 is my MacOS
> HFS partition with OSX installed on it.
> 
> > What's happening is what quik is warning you about when you run it. By
> > default, quik finds the first bootable partition on a disk and tries
> > to mount it as root, and find a kernel there, etc.
> 

Can you use mac-fdisk to reorder the partition map to solve the problem?

.Question to the list as well as suggestion..

Tom

(there might be something in the list archives regarding moving Apple_bootstrap 
type
partitions)



Re: Dual booting OSX and Debian on G3 beige

2001-12-06 Thread Chris Tillman
On Thu, Dec 06, 2001 at 08:52:59AM +, Wayne Pascoe wrote:
> Chris Tillman <[EMAIL PROTECTED]> writes:
> 
> What if I installed MacOSX behind Linux ? Would that help at all ? 

Yes, that's what's recommended for dealing with Mac OSX in the yaboot
howto and install manuals. But you have to install OSX first (on a
later partition), then Debian on an earlier partition. I wasn't aware
that OSX would run at all on oldworld machines which use quik.

-- 
*--v-- Installing Debian GNU/Linux 3.0 For PowerPC -v*
|  |
| debian-imac:   |
|Chris Tillman[EMAIL PROTECTED]  |
| May the Source be with you |
**



Re: Dual booting OSX and Debian on G3 beige

2001-12-06 Thread Chris Tillman
On Thu, Dec 06, 2001 at 04:45:38PM -0800, Thomas Powell wrote:
> On Thu, Dec 06, 2001 at 08:52:59AM +, Wayne Pascoe wrote:
> > Chris Tillman <[EMAIL PROTECTED]> writes:
> > 
> > Partition 6 has never been the root partition. Partition 6 is my MacOS
> > HFS partition with OSX installed on it.
> > 
> > > What's happening is what quik is warning you about when you run it. By
> > > default, quik finds the first bootable partition on a disk and tries
> > > to mount it as root, and find a kernel there, etc.
> > 
> 
> Can you use mac-fdisk to reorder the partition map to solve the problem?
> 
> .Question to the list as well as suggestion..
> 

That would probably work... quik looks sequentially through the map.

> (there might be something in the list archives regarding moving 
> Apple_bootstrap type
> partitions)

That's not applicable for quik though.

-- 
*--v-- Installing Debian GNU/Linux 3.0 For PowerPC -v*
|  |
| debian-imac:   |
|Chris Tillman[EMAIL PROTECTED]  |
| May the Source be with you |
**