Re: iMac266, OSX Man82ppc installation won't boot

2002-10-09 Thread Damon Garn

   If you're indeed hitting the 1st 2GB issue. (I forget, is this an old
   iMac?), OSX on the 1st 7.5GB is the problem.  You need 1 MB bootstrap
   somewhere in the 1st 2GB.
 
  You're a bit off, it's the first 8 GB!
 
  ;-)
  //ernie
 
 

 In that case, then I don't know why yaboot isn't working on that machine.

 Stew Benedict

It's not working because there is a 2nd partition immediately after the
first, so I have the MacOSX system partition in the first 7.5GB, then a
MacOSX Data partition in the next 7.5GB, and THEN the MandrakePPC bootstrap
following that (with the remaining Mandrake partitions after the
bootstrap)... so the bootstrap is well outside the first 8GB...

So I think I'll try removing only the OSX Data partition, then adding the
Mandrake bootstrap and go from there to see what happens...

Don't know when I'll have time to go at it, but I'll let y'all know. Might
be worth a footnote in the documentation...
Damon





Re: iMac266, OSX Man82ppc installation won't boot

2002-10-04 Thread Stew Benedict


On Thu, 3 Oct 2002, Damon Garn wrote:

 yaboot on it's own partition? I thought it was on the /boot partition for
 Mandrake PPC? And that the Open Firmware would go to the blessed partition
 then get redirected to the /boot where yaboot exists? I'm thinking I'm way
 off base here...
 

bootstrap != /boot

One distro did that (LinuxPPC?), and a lot of people assume that, but it's
not the case. The bootstrap partition holds only the parts of yaboot
needed to boot the machine.  /boot is exactly as it would be on x86.  The
bootstrap is not mounted on the Linux side, and only accessed when you run
ybin.  Folks that have tried to treat the bootstrap as /boot duing the
install end up with a bit of a mess, since we only allocate 1MB for it,
and the kernel/initrd generally take up a bit more than that.

 Can I ask for partitioning suggestions based on the following info:
 OSX on the first 7.5GB
 Data on the second 7.5GB
 

If you're indeed hitting the 1st 2GB issue. (I forget, is this an old
iMac?), OSX on the 1st 7.5GB is the problem.  You need 1 MB bootstrap
somewhere in the 1st 2GB.

 From there my assumption was the blessed partition had its own space, a
 separate /boot partition of about 40MB was needed, a / partition for the
 file system was necessary, the a swap partition for virtual memory. Is that
 wrong? Should the /boot and blessed partitions be the same? Is that where
 I've gone wrong? When I looked at the installer's depiction of the
 partitions I could see the two Mac partitions, then the 4 above listed
 partitions (with the blessed partition just following the two Mac
 partitions)...
 

The above is correct.  A seperate /boot isn't mandatory, but some folks
like to share it between Linux installs.  A seperate bootstrap, or
blessed partition is definitely part of our configuration on NewWorld
machines.

Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc





Re: iMac266, OSX Man82ppc installation won't boot

2002-10-03 Thread Damon Garn

Okay, here's what I've discovered. Booted to rescue mode, did the chroot and
I have NO yaboot.conf in my /etc/ directory! It would appear that I don't
have a valid boot loader installed at all. I haven't been able to find a way
to install it. When I mess with ybin I keep getting an error indicating I
need to specify the deive for the bootstrap partition in the form
boot=/dev/hdaX - that device should be hda8 according to the Mandrake setup
that shows the blessed bootstrap partition as 8. What can I do to get
yaboot going?

To sum up, it appears that the Open Firmware is going to the right partition
and not finding boot info...

I'm pretty sure this is a dumb question, but can I run grub instead?
Damon

On Sunday, September 29, 2002, at 08:43 PM, Damon Garn wrote:

[...]
  Attempted the following:
 1. suggested fix of cmd-opt-o-f and set the OF option to the
 designated partition (*) with 'setenv boot-device hd:8;\\tbxi' then
 'shut-down'

 What is /dev/hda8 (ie. what partition is this?  /boot?  the apple
 bootstrap?)

 [This was the designated partition identified by the M8.2 install as
 the
 blessed partition where the normal startup would go to look for the
 boot
 manager (as I understand the process). The expert mode setup said to
 write
 that partition number down and use the above process in case of a
 failed
 boot. The OSX partitions are previous to that and the 3 Linux
 partitions I
 created follow it. ]


Ok, so you went into OF and did a setenv boot-device hd:8,\\:tbxi?
(My syntax could be slightly off).  I had to do this last night myself,
booting from an 8.2 install CD into rescue mode and running ybin in
chroot as I booted into OS X and changed the startup disk to boot into
OS9 so I could upgrade the version of palmos on my palm.  Does
printenv boot-device show the correct thing?

I'm not really sure what else to suggest.  The strangest behaviour I've
got is when turning on my G4 (after it's been off), it loads up a grey
screen and stalls, and I have to power down again.  Once I power up the
second time, ybin comes up just fine for me.

--
MandrakeSoft Security; http://www.mandrakesecure.net/
lynx - source http://linsec.ca/vdanen.asc | gpg --import
{FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}







Re: iMac266, OSX Man82ppc installation won't boot

2002-10-03 Thread Stew Benedict


On Thu, 3 Oct 2002, Damon Garn wrote:

 Okay, here's what I've discovered. Booted to rescue mode, did the chroot and
 I have NO yaboot.conf in my /etc/ directory! It would appear that I don't
 have a valid boot loader installed at all. I haven't been able to find a way
 to install it. When I mess with ybin I keep getting an error indicating I
 need to specify the deive for the bootstrap partition in the form
 boot=/dev/hdaX - that device should be hda8 according to the Mandrake setup
 that shows the blessed bootstrap partition as 8. What can I do to get
 yaboot going?
 
 To sum up, it appears that the Open Firmware is going to the right partition
 and not finding boot info...
 
 I'm pretty sure this is a dumb question, but can I run grub instead?
 Damon

Nope - can't use grub.  This should get you going - edit appropriately and
make sure the kernel and initrd referenced are in /boot.  This is a new
one, don't think I've seen anyone report this before.

#yaboot.conf - generated by DrakX
init-message=\nWelcome to Mandrake Linux!\n
boot=/dev/hda6
ofboot=hd:6
delay=30
timeout=50
install=/usr/local/lib/yaboot/yaboot
magicboot=/usr/local/lib/yaboot/ofboot
enablecdboot
enableofboot
defaultos=linux
default=linux
image=hd:7,/vmlinuz-2.4.18-6.1mdk
label=linux
root=/dev/hda14
initrd=hd:7,/initrd-2.4.18-6.1mdk.img
append= devfs=mount
read-only


 
 On Sunday, September 29, 2002, at 08:43 PM, Damon Garn wrote:
 
 [...]
   Attempted the following:
  1. suggested fix of cmd-opt-o-f and set the OF option to the
  designated partition (*) with 'setenv boot-device hd:8;\\tbxi' then
  'shut-down'
 
  What is /dev/hda8 (ie. what partition is this?  /boot?  the apple
  bootstrap?)
 
  [This was the designated partition identified by the M8.2 install as
  the
  blessed partition where the normal startup would go to look for the
  boot
  manager (as I understand the process). The expert mode setup said to
  write
  that partition number down and use the above process in case of a
  failed
  boot. The OSX partitions are previous to that and the 3 Linux
  partitions I
  created follow it. ]
 
 
 Ok, so you went into OF and did a setenv boot-device hd:8,\\:tbxi?
 (My syntax could be slightly off).  I had to do this last night myself,
 booting from an 8.2 install CD into rescue mode and running ybin in
 chroot as I booted into OS X and changed the startup disk to boot into
 OS9 so I could upgrade the version of palmos on my palm.  Does
 printenv boot-device show the correct thing?
 
 I'm not really sure what else to suggest.  The strangest behaviour I've
 got is when turning on my G4 (after it's been off), it loads up a grey
 screen and stalls, and I have to power down again.  Once I power up the
 second time, ybin comes up just fine for me.
 
 --
 MandrakeSoft Security; http://www.mandrakesecure.net/
 lynx - source http://linsec.ca/vdanen.asc | gpg --import
 {FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}
 
 
 
 

Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc





Re: iMac266, OSX Man82ppc installation won't boot

2002-10-03 Thread Damon Garn


Hmmm maybe I'm too tired to be doing this... I didn't do the chroot /mnt
correctly the first time and so my lack of a yaboot wasn't really
accurate. Sorry. Anyway, once I discovered this I (correctly) went to the
system's root and verified several things as suggested in previous posts:

1. yaboot.conf looks normal to me; I've reproduced it below:

#yaboot.conf - generated by Drakx
init-message=\nWelcome to Mandrake Linux!\n
boot=/dev/hda8
ofboot=hd:8
delay=30
timeout=50
install=/usr/local/lib/yaboot/yaboot
magicboot=/usr/loca/lib/yaboot/ofboot
enablecdboot
enableofboot
defaultos=linux
default=linux
image=hd:9,/vmlinuz-2.4.18-6.1mdk
label=linux
root=/dev/hda11
initrd=hda:9,/initrd-2.4.18-6.1mdk.img
append= devfs=mount
read-only
image=hd:9,/vmlinuz-2.4.18-6.1mdk
label=failsafe
root=/dev/hda11
initrd=hda:9,/initrd-2.4.18-6.1mdk.img
append= devfs=mount failsafe
read-only
macos=hd:6


2. ran ybin -v and it confirmed installation and configuration. Output as
follows:

ybin: /proc filesystem is not mounted, nvram will not be updated
ybin: installing first stage bootstrap /usr/local/lib/yaboot/ofboot onto
/dev/hda8
ybin: installing primary bootstrap /usr/local/lib/yaboot/yaboot onto
/dev/hda8
ybin: installing /etc/yaboot.conf onto /dev/hda8
ybin: Setting attributes on ofboot...
ybin: Setting attributes on yaboot...
ybin: Setting attributes on yaboot.conf...
ybin: Blessing /dev/hda8 with Holy Penguin Pee...

Could the Holy Penguin Pee have shorted out my system?

3. during the rescue mode boot from CD it finds the following: probable
root partition on /dev/hda11 (type ext3) and Mounting /dev/hda9 on
/mnt/boot type ext2

What about the i386 versions of Linux where the boot info must reside within
the first 1024 cylinders of the drive?
Damon


 On Thu, 3 Oct 2002, Damon Garn wrote:

  Okay, here's what I've discovered. Booted to rescue mode, did the chroot
and
  I have NO yaboot.conf in my /etc/ directory! It would appear that I
don't
  have a valid boot loader installed at all. I haven't been able to find a
way
  to install it. When I mess with ybin I keep getting an error indicating
I
  need to specify the deive for the bootstrap partition in the form
  boot=/dev/hdaX - that device should be hda8 according to the Mandrake
setup
  that shows the blessed bootstrap partition as 8. What can I do to get
  yaboot going?
 
  To sum up, it appears that the Open Firmware is going to the right
partition
  and not finding boot info...
 
  I'm pretty sure this is a dumb question, but can I run grub instead?
  Damon

 Nope - can't use grub.  This should get you going - edit appropriately and
 make sure the kernel and initrd referenced are in /boot.  This is a new
 one, don't think I've seen anyone report this before.

 #yaboot.conf - generated by DrakX
 init-message=\nWelcome to Mandrake Linux!\n
 boot=/dev/hda6
 ofboot=hd:6
 delay=30
 timeout=50
 install=/usr/local/lib/yaboot/yaboot
 magicboot=/usr/local/lib/yaboot/ofboot
 enablecdboot
 enableofboot
 defaultos=linux
 default=linux
 image=hd:7,/vmlinuz-2.4.18-6.1mdk
 label=linux
 root=/dev/hda14
 initrd=hd:7,/initrd-2.4.18-6.1mdk.img
 append= devfs=mount
 read-only


 
  On Sunday, September 29, 2002, at 08:43 PM, Damon Garn wrote:
 
  [...]
Attempted the following:
   1. suggested fix of cmd-opt-o-f and set the OF option to the
   designated partition (*) with 'setenv boot-device hd:8;\\tbxi' then
   'shut-down'
  
   What is /dev/hda8 (ie. what partition is this?  /boot?  the apple
   bootstrap?)
  
   [This was the designated partition identified by the M8.2 install as
   the
   blessed partition where the normal startup would go to look for the
   boot
   manager (as I understand the process). The expert mode setup said to
   write
   that partition number down and use the above process in case of a
   failed
   boot. The OSX partitions are previous to that and the 3 Linux
   partitions I
   created follow it. ]
 
 
  Ok, so you went into OF and did a setenv boot-device hd:8,\\:tbxi?
  (My syntax could be slightly off).  I had to do this last night myself,
  booting from an 8.2 install CD into rescue mode and running ybin in
  chroot as I booted into OS X and changed the startup disk to boot into
  OS9 so I could upgrade the version of palmos on my palm.  Does
  printenv boot-device show the correct thing?
 
  I'm not really sure what else to suggest.  The strangest behaviour I've
  got is when turning on my G4 (after it's been off), it loads up a grey
  screen and stalls, and I have to power down again.  Once I power up the
  second time, ybin comes up just fine for me.
 
  --
  MandrakeSoft Security; http://www.mandrakesecure.net/
  lynx - source http://linsec.ca/vdanen.asc | gpg --import
  {FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}
 
 
 
 

 Stew 

Re: iMac266, OSX Man82ppc installation won't boot

2002-10-03 Thread Stew Benedict


On Thu, 3 Oct 2002, Damon Garn wrote:

 
 Hmmm maybe I'm too tired to be doing this... I didn't do the chroot /mnt
 correctly the first time and so my lack of a yaboot wasn't really
 accurate. Sorry. Anyway, once I discovered this I (correctly) went to the
 system's root and verified several things as suggested in previous posts:
 
 1. yaboot.conf looks normal to me; I've reproduced it below:
 
 #yaboot.conf - generated by Drakx
 init-message=\nWelcome to Mandrake Linux!\n
 boot=/dev/hda8
 ofboot=hd:8
 delay=30
 timeout=50
 install=/usr/local/lib/yaboot/yaboot
 magicboot=/usr/loca/lib/yaboot/ofboot
 enablecdboot
 enableofboot
 defaultos=linux
 default=linux
 image=hd:9,/vmlinuz-2.4.18-6.1mdk
 label=linux
 root=/dev/hda11
 initrd=hda:9,/initrd-2.4.18-6.1mdk.img
 append= devfs=mount
 read-only
 image=hd:9,/vmlinuz-2.4.18-6.1mdk
 label=failsafe
 root=/dev/hda11
 initrd=hda:9,/initrd-2.4.18-6.1mdk.img
 append= devfs=mount failsafe
 read-only
 macos=hd:6
 
 
 2. ran ybin -v and it confirmed installation and configuration. Output as
 follows:
 
 ybin: /proc filesystem is not mounted, nvram will not be updated
 ybin: installing first stage bootstrap /usr/local/lib/yaboot/ofboot onto
 /dev/hda8
 ybin: installing primary bootstrap /usr/local/lib/yaboot/yaboot onto
 /dev/hda8
 ybin: installing /etc/yaboot.conf onto /dev/hda8
 ybin: Setting attributes on ofboot...
 ybin: Setting attributes on yaboot...
 ybin: Setting attributes on yaboot.conf...
 ybin: Blessing /dev/hda8 with Holy Penguin Pee...
 
 Could the Holy Penguin Pee have shorted out my system?
 
 3. during the rescue mode boot from CD it finds the following: probable
 root partition on /dev/hda11 (type ext3) and Mounting /dev/hda9 on
 /mnt/boot type ext2
 
 What about the i386 versions of Linux where the boot info must reside within
 the first 1024 cylinders of the drive?
 Damon
 

There was a problem on some of the old iMacs where yaboot needed to be in
the first 2GB? or so.  Wasn't much of an issue until folks started
upgrading them with big drives.

Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc





Re: iMac266, OSX Man82ppc installation won't boot

2002-10-03 Thread Damon Garn

Hmm This is an upgraded hd with OSX in the first 7.5GB and a data drive in
the second 7.5GB, with the remaining 15 or so GB being free space (and being
where I am attempting to put the blessed partition, the /boot partition,
the / partition and the /swap partition...

How could I get yaboot into the first 2GB without repartitioning? Can it be
installed thru OSX?

Damon
- Original Message -
From: Stew Benedict [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 7:36 PM
Subject: Re: iMac266, OSX Man82ppc installation won't boot



 On Thu, 3 Oct 2002, Damon Garn wrote:

 
  Hmmm maybe I'm too tired to be doing this... I didn't do the chroot /mnt
  correctly the first time and so my lack of a yaboot wasn't really
  accurate. Sorry. Anyway, once I discovered this I (correctly) went to
the
  system's root and verified several things as suggested in previous
posts:
 
  1. yaboot.conf looks normal to me; I've reproduced it below:
 
  #yaboot.conf - generated by Drakx
  init-message=\nWelcome to Mandrake Linux!\n
  boot=/dev/hda8
  ofboot=hd:8
  delay=30
  timeout=50
  install=/usr/local/lib/yaboot/yaboot
  magicboot=/usr/loca/lib/yaboot/ofboot
  enablecdboot
  enableofboot
  defaultos=linux
  default=linux
  image=hd:9,/vmlinuz-2.4.18-6.1mdk
  label=linux
  root=/dev/hda11
  initrd=hda:9,/initrd-2.4.18-6.1mdk.img
  append= devfs=mount
  read-only
  image=hd:9,/vmlinuz-2.4.18-6.1mdk
  label=failsafe
  root=/dev/hda11
  initrd=hda:9,/initrd-2.4.18-6.1mdk.img
  append= devfs=mount failsafe
  read-only
  macos=hd:6
 
 
  2. ran ybin -v and it confirmed installation and configuration. Output
as
  follows:
 
  ybin: /proc filesystem is not mounted, nvram will not be updated
  ybin: installing first stage bootstrap /usr/local/lib/yaboot/ofboot onto
  /dev/hda8
  ybin: installing primary bootstrap /usr/local/lib/yaboot/yaboot onto
  /dev/hda8
  ybin: installing /etc/yaboot.conf onto /dev/hda8
  ybin: Setting attributes on ofboot...
  ybin: Setting attributes on yaboot...
  ybin: Setting attributes on yaboot.conf...
  ybin: Blessing /dev/hda8 with Holy Penguin Pee...
 
  Could the Holy Penguin Pee have shorted out my system?
 
  3. during the rescue mode boot from CD it finds the following: probable
  root partition on /dev/hda11 (type ext3) and Mounting /dev/hda9 on
  /mnt/boot type ext2
 
  What about the i386 versions of Linux where the boot info must reside
within
  the first 1024 cylinders of the drive?
  Damon
 

 There was a problem on some of the old iMacs where yaboot needed to be in
 the first 2GB? or so.  Wasn't much of an issue until folks started
 upgrading them with big drives.

 Stew Benedict

 --
 MandrakeSoft
 PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
 IRC: irc.openproject.net #cooker-ppc







Re: iMac266, OSX Man82ppc installation won't boot

2002-10-03 Thread Stew Benedict


On Thu, 3 Oct 2002, Damon Garn wrote:

 Hmm This is an upgraded hd with OSX in the first 7.5GB and a data drive in
 the second 7.5GB, with the remaining 15 or so GB being free space (and being
 where I am attempting to put the blessed partition, the /boot partition,
 the / partition and the /swap partition...
 
 How could I get yaboot into the first 2GB without repartitioning? Can it be
 installed thru OSX?
 

No way that I know of. I don't have OSX, but yaboot really should be on
it's own partition, though I've seen folks do workarounds. (check the
linuxppc archives).  Problem then becomes doing kernel upgrades when you
can't access it from the Linux side.  My preference is to keep the
seperate OS's as seperate as possible.

 Damon
 - Original Message -
 From: Stew Benedict [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, October 03, 2002 7:36 PM
 Subject: Re: iMac266, OSX Man82ppc installation won't boot
 
 
 
  On Thu, 3 Oct 2002, Damon Garn wrote:
 
  
   Hmmm maybe I'm too tired to be doing this... I didn't do the chroot /mnt
   correctly the first time and so my lack of a yaboot wasn't really
   accurate. Sorry. Anyway, once I discovered this I (correctly) went to
 the
   system's root and verified several things as suggested in previous
 posts:
  
   1. yaboot.conf looks normal to me; I've reproduced it below:
  
   #yaboot.conf - generated by Drakx
   init-message=\nWelcome to Mandrake Linux!\n
   boot=/dev/hda8
   ofboot=hd:8
   delay=30
   timeout=50
   install=/usr/local/lib/yaboot/yaboot
   magicboot=/usr/loca/lib/yaboot/ofboot
   enablecdboot
   enableofboot
   defaultos=linux
   default=linux
   image=hd:9,/vmlinuz-2.4.18-6.1mdk
   label=linux
   root=/dev/hda11
   initrd=hda:9,/initrd-2.4.18-6.1mdk.img
   append= devfs=mount
   read-only
   image=hd:9,/vmlinuz-2.4.18-6.1mdk
   label=failsafe
   root=/dev/hda11
   initrd=hda:9,/initrd-2.4.18-6.1mdk.img
   append= devfs=mount failsafe
   read-only
   macos=hd:6
  
  
   2. ran ybin -v and it confirmed installation and configuration. Output
 as
   follows:
  
   ybin: /proc filesystem is not mounted, nvram will not be updated
   ybin: installing first stage bootstrap /usr/local/lib/yaboot/ofboot onto
   /dev/hda8
   ybin: installing primary bootstrap /usr/local/lib/yaboot/yaboot onto
   /dev/hda8
   ybin: installing /etc/yaboot.conf onto /dev/hda8
   ybin: Setting attributes on ofboot...
   ybin: Setting attributes on yaboot...
   ybin: Setting attributes on yaboot.conf...
   ybin: Blessing /dev/hda8 with Holy Penguin Pee...
  
   Could the Holy Penguin Pee have shorted out my system?
  
   3. during the rescue mode boot from CD it finds the following: probable
   root partition on /dev/hda11 (type ext3) and Mounting /dev/hda9 on
   /mnt/boot type ext2
  
   What about the i386 versions of Linux where the boot info must reside
 within
   the first 1024 cylinders of the drive?
   Damon
  
 
  There was a problem on some of the old iMacs where yaboot needed to be in
  the first 2GB? or so.  Wasn't much of an issue until folks started
  upgrading them with big drives.
 
  Stew Benedict
 
  --
  MandrakeSoft
  PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
  IRC: irc.openproject.net #cooker-ppc
 
 
 
 

Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc





Re: iMac266, OSX Man82ppc installation won't boot

2002-10-03 Thread Damon Garn

yaboot on it's own partition? I thought it was on the /boot partition for
Mandrake PPC? And that the Open Firmware would go to the blessed partition
then get redirected to the /boot where yaboot exists? I'm thinking I'm way
off base here...

Can I ask for partitioning suggestions based on the following info:
OSX on the first 7.5GB
Data on the second 7.5GB

From there my assumption was the blessed partition had its own space, a
separate /boot partition of about 40MB was needed, a / partition for the
file system was necessary, the a swap partition for virtual memory. Is that
wrong? Should the /boot and blessed partitions be the same? Is that where
I've gone wrong? When I looked at the installer's depiction of the
partitions I could see the two Mac partitions, then the 4 above listed
partitions (with the blessed partition just following the two Mac
partitions)...

Damon

- Original Message -
From: Stew Benedict [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 8:02 PM
Subject: Re: iMac266, OSX Man82ppc installation won't boot



 On Thu, 3 Oct 2002, Damon Garn wrote:

  Hmm This is an upgraded hd with OSX in the first 7.5GB and a data drive
in
  the second 7.5GB, with the remaining 15 or so GB being free space (and
being
  where I am attempting to put the blessed partition, the /boot
partition,
  the / partition and the /swap partition...
 
  How could I get yaboot into the first 2GB without repartitioning? Can it
be
  installed thru OSX?
 

 No way that I know of. I don't have OSX, but yaboot really should be on
 it's own partition, though I've seen folks do workarounds. (check the
 linuxppc archives).  Problem then becomes doing kernel upgrades when you
 can't access it from the Linux side.  My preference is to keep the
 seperate OS's as seperate as possible.

  Damon
  - Original Message -
  From: Stew Benedict [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, October 03, 2002 7:36 PM
  Subject: Re: iMac266, OSX Man82ppc installation won't boot
 
 
  
   On Thu, 3 Oct 2002, Damon Garn wrote:
  
   
Hmmm maybe I'm too tired to be doing this... I didn't do the chroot
/mnt
correctly the first time and so my lack of a yaboot wasn't really
accurate. Sorry. Anyway, once I discovered this I (correctly) went
to
  the
system's root and verified several things as suggested in previous
  posts:
   
1. yaboot.conf looks normal to me; I've reproduced it below:
   
#yaboot.conf - generated by Drakx
init-message=\nWelcome to Mandrake Linux!\n
boot=/dev/hda8
ofboot=hd:8
delay=30
timeout=50
install=/usr/local/lib/yaboot/yaboot
magicboot=/usr/loca/lib/yaboot/ofboot
enablecdboot
enableofboot
defaultos=linux
default=linux
image=hd:9,/vmlinuz-2.4.18-6.1mdk
label=linux
root=/dev/hda11
initrd=hda:9,/initrd-2.4.18-6.1mdk.img
append= devfs=mount
read-only
image=hd:9,/vmlinuz-2.4.18-6.1mdk
label=failsafe
root=/dev/hda11
initrd=hda:9,/initrd-2.4.18-6.1mdk.img
append= devfs=mount failsafe
read-only
macos=hd:6
   
   
2. ran ybin -v and it confirmed installation and configuration.
Output
  as
follows:
   
ybin: /proc filesystem is not mounted, nvram will not be updated
ybin: installing first stage bootstrap /usr/local/lib/yaboot/ofboot
onto
/dev/hda8
ybin: installing primary bootstrap /usr/local/lib/yaboot/yaboot onto
/dev/hda8
ybin: installing /etc/yaboot.conf onto /dev/hda8
ybin: Setting attributes on ofboot...
ybin: Setting attributes on yaboot...
ybin: Setting attributes on yaboot.conf...
ybin: Blessing /dev/hda8 with Holy Penguin Pee...
   
Could the Holy Penguin Pee have shorted out my system?
   
3. during the rescue mode boot from CD it finds the following:
probable
root partition on /dev/hda11 (type ext3) and Mounting /dev/hda9 on
/mnt/boot type ext2
   
What about the i386 versions of Linux where the boot info must
reside
  within
the first 1024 cylinders of the drive?
Damon
   
  
   There was a problem on some of the old iMacs where yaboot needed to be
in
   the first 2GB? or so.  Wasn't much of an issue until folks started
   upgrading them with big drives.
  
   Stew Benedict
  
   --
   MandrakeSoft
   PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
   IRC: irc.openproject.net #cooker-ppc
  
  
 
 

 Stew Benedict

 --
 MandrakeSoft
 PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
 IRC: irc.openproject.net #cooker-ppc







Re: iMac266, OSX Man82ppc installation won't boot

2002-10-03 Thread Ben Reser

On Thu, Oct 03, 2002 at 07:49:51PM -0600, Damon Garn wrote:
 Hmm This is an upgraded hd with OSX in the first 7.5GB and a data drive in
 the second 7.5GB, with the remaining 15 or so GB being free space (and being
 where I am attempting to put the blessed partition, the /boot partition,
 the / partition and the /swap partition...
 
 How could I get yaboot into the first 2GB without repartitioning? Can it be
 installed thru OSX?

You can't.  Unless there is a utility like Partition Magic for the Mac.
But I'm not aware of one.Best way to do it is to leave a 1MB
partition on the hard-drive as the first partition.  Then use that as
your boot strap.  Make sure to leave it as Apple_Free.  Otherwise the
installer won't to cooperate with you and use it.

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

Never take no as an answer from someone who isn't authorized to say yes.




Re: iMac266, OSX Man82ppc installation won't boot

2002-10-03 Thread Ben Reser

On Thu, Oct 03, 2002 at 08:30:07PM -0600, Damon Garn wrote:
 yaboot on it's own partition? I thought it was on the /boot partition for
 Mandrake PPC? And that the Open Firmware would go to the blessed partition
 then get redirected to the /boot where yaboot exists? I'm thinking I'm way
 off base here...
 
 Can I ask for partitioning suggestions based on the following info:
 OSX on the first 7.5GB
 Data on the second 7.5GB
 
 From there my assumption was the blessed partition had its own space, a
 separate /boot partition of about 40MB was needed, a / partition for the
 file system was necessary, the a swap partition for virtual memory. Is that
 wrong? Should the /boot and blessed partitions be the same? Is that where
 I've gone wrong? When I looked at the installer's depiction of the
 partitions I could see the two Mac partitions, then the 4 above listed
 partitions (with the blessed partition just following the two Mac
 partitions)...

/boot is on the / partition for Mandrake PPC.  Linux/PPC uses the /boot
as the bootstrap.  Mandrake uses a small 1MB bootstrap partition and
then puts /boot on just the root partition.  Just a fundamentally
different boot design.  Threw me at first too.  But as a result yaboot
basically gets it's own partition, the bootstrap.

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

Never take no as an answer from someone who isn't authorized to say yes.




Re: iMac266, OSX Man82ppc installation won't boot

2002-09-30 Thread Vincent Danen


On Sunday, September 29, 2002, at 08:43 PM, Damon Garn wrote:

[...]
  Attempted the following:
 1. suggested fix of cmd-opt-o-f and set the OF option to the
 designated partition (*) with 'setenv boot-device hd:8;\\tbxi' then
 'shut-down'

 What is /dev/hda8 (ie. what partition is this?  /boot?  the apple
 bootstrap?)

 [This was the designated partition identified by the M8.2 install as 
 the
 blessed partition where the normal startup would go to look for the 
 boot
 manager (as I understand the process). The expert mode setup said to 
 write
 that partition number down and use the above process in case of a 
 failed
 boot. The OSX partitions are previous to that and the 3 Linux 
 partitions I
 created follow it. ]


Ok, so you went into OF and did a setenv boot-device hd:8,\\:tbxi?  
(My syntax could be slightly off).  I had to do this last night myself, 
booting from an 8.2 install CD into rescue mode and running ybin in 
chroot as I booted into OS X and changed the startup disk to boot into 
OS9 so I could upgrade the version of palmos on my palm.  Does 
printenv boot-device show the correct thing?

I'm not really sure what else to suggest.  The strangest behaviour I've 
got is when turning on my G4 (after it's been off), it loads up a grey 
screen and stalls, and I have to power down again.  Once I power up the 
second time, ybin comes up just fine for me.

--
MandrakeSoft Security; http://www.mandrakesecure.net/
lynx - source http://linsec.ca/vdanen.asc | gpg --import
{FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}




PGP.sig
Description: PGP signature


Re: iMac266, OSX Man82ppc installation won't boot

2002-09-29 Thread Damon Garn

- Original Message -
From: Vincent Danen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 12:18 PM
Subject: Re: iMac266, OSX Man82ppc installation won't boot


On Saturday, September 28, 2002, at 08:17 AM, Damon Garn wrote:

 I've just attempted a Mandrake 8.2ppc install on my iMac266, which is
 already running MacOSX. The expert install sequence appeared to
 succeed correctly (it even reported a successful install). Upon reboot
 I get only a grey screen - no boot loader prompt. The machine sits
 idle from that point, forcing a manual restart.

This is yaboot not working properly most likely.

  Attempted the following:
 1. suggested fix of cmd-opt-o-f and set the OF option to the
 designated partition (*) with 'setenv boot-device hd:8;\\tbxi' then
 'shut-down'

What is /dev/hda8 (ie. what partition is this?  /boot?  the apple
bootstrap?)

[This was the designated partition identified by the M8.2 install as the
blessed partition where the normal startup would go to look for the boot
manager (as I understand the process). The expert mode setup said to write
that partition number down and use the above process in case of a failed
boot. The OSX partitions are previous to that and the 3 Linux partitions I
created follow it. ]

  2. followed the documentation suggestion of resetting the pram with
 cmd-opt-p-r and that allows a successful OSX boot. Apple's Disk
 Utility continues to show the two 7.8GB OSX partitions I had as well
 as a greyed-out bootstrap partition (I suspect this to be the
 blessed partition). No Linux partitions show (is it normal for them
 not to show?). I requested /boot at 45MB, / at 10GB, /swap at 400MB
 and it claimed to be building them. I requested ext3 for the /
 partition, if it matters.

No, OS X will not show the Linux partitions.  Unfortunately.  =)

  3. Subscribed to this list. :)

Good move... =)

  No funky hardware - all is stock except for the larger hard drive I
 installed a year or so ago, which I had left with free space so I
 could try this very thing.

My mind is fuzzy, so I'm probably not too much help, but if you can
provide the details of /dev/hda8 that'd be great.

[See above - designated by Mandrake installer as location of boot manager.]

The other option might be to boot off the 8.2 install CD into rescue
mode, then chroot your root partition (usually automatically mounted in
/mnt, so do chroot /mnt) and check your /etc/yaboot.conf file to make
sure it looks ok.  Also try running ybin -v to regenerate the
bootstrap stuff.

The other option, that I've encountered on my newer G4 imac, is I've
had to power down the imac after getting it stalling like you describe,
but on the next power up yaboot always comes up fine.  So for me it's
just a nuisance.

--
MandrakeSoft Security; http://www.mandrakesecure.net/
lynx - source http://linsec.ca/vdanen.asc | gpg --import
{FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}







iMac266, OSX Man82ppc installation won't boot

2002-09-28 Thread Damon Garn




I've just attempted a Mandrake 8.2ppc install on my 
iMac266, which is already running MacOSX. The expert install 
sequenceappeared to succeed correctly (it even reported a successful 
install). Upon reboot I get only a grey screen - no boot loader prompt. The 
machine sits idle from that point, forcing a manual restart. 

Attempted the following:
1. suggested fix of cmd-opt-o-f and set the OF 
option to the designated partition (*) with 'setenv boot-device hd:8;\\tbxi' 
then 'shut-down'

2. followed the documentation suggestion of 
resetting the pram with cmd-opt-p-r and that allows a successful OSX boot. 
Apple's Disk Utility continues to show the two 7.8GB OSX partitions I had as 
well as a greyed-out "bootstrap" partition (I suspect this to be the "blessed 
partition"). No Linux partitions show (is it normal for them not to show?). I 
requested /boot at 45MB, / at 10GB, /swap at 400MB and it claimed to be building 
them. I requested ext3 for the / partition, if it matters. 

3. Subscribed to this list. :)

No funky hardware - all is stock except for the 
larger hard drive I installed a year or so ago, which I had left with free space 
so I could try this very thing.

Damon Garn


Re: iMac266, OSX Man82ppc installation won't boot

2002-09-28 Thread Vincent Danen


On Saturday, September 28, 2002, at 08:17 AM, Damon Garn wrote:

 I've just attempted a Mandrake 8.2ppc install on my iMac266, which is 
 already running MacOSX. The expert install sequence appeared to 
 succeed correctly (it even reported a successful install). Upon reboot 
 I get only a grey screen - no boot loader prompt. The machine sits 
 idle from that point, forcing a manual restart.

This is yaboot not working properly most likely.

  Attempted the following:
 1. suggested fix of cmd-opt-o-f and set the OF option to the 
 designated partition (*) with 'setenv boot-device hd:8;\\tbxi' then 
 'shut-down'

What is /dev/hda8 (ie. what partition is this?  /boot?  the apple 
bootstrap?)

  2. followed the documentation suggestion of resetting the pram with 
 cmd-opt-p-r and that allows a successful OSX boot. Apple's Disk 
 Utility continues to show the two 7.8GB OSX partitions I had as well 
 as a greyed-out bootstrap partition (I suspect this to be the 
 blessed partition). No Linux partitions show (is it normal for them 
 not to show?). I requested /boot at 45MB, / at 10GB, /swap at 400MB 
 and it claimed to be building them. I requested ext3 for the / 
 partition, if it matters.

No, OS X will not show the Linux partitions.  Unfortunately.  =)

  3. Subscribed to this list. :)

Good move... =)

  No funky hardware - all is stock except for the larger hard drive I 
 installed a year or so ago, which I had left with free space so I 
 could try this very thing.

My mind is fuzzy, so I'm probably not too much help, but if you can 
provide the details of /dev/hda8 that'd be great.

The other option might be to boot off the 8.2 install CD into rescue 
mode, then chroot your root partition (usually automatically mounted in 
/mnt, so do chroot /mnt) and check your /etc/yaboot.conf file to make 
sure it looks ok.  Also try running ybin -v to regenerate the 
bootstrap stuff.

The other option, that I've encountered on my newer G4 imac, is I've 
had to power down the imac after getting it stalling like you describe, 
but on the next power up yaboot always comes up fine.  So for me it's 
just a nuisance.

--
MandrakeSoft Security; http://www.mandrakesecure.net/
lynx - source http://linsec.ca/vdanen.asc | gpg --import
{FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}




PGP.sig
Description: PGP signature