Re: Cannot boot 9.1 after OSX installation

2003-11-06 Thread Stew Benedict

Fwiw, I've read of occasions where MacOS* has renumbered the partitions 
also, so perhaps your partitions are no longer arranged as you think they 
are.

-- 
Stew Benedict

--
MandrakeSoft




Re: Cannot boot 9.1 after OSX installation

2003-11-06 Thread Brice Figureau
On Thu, 2003-11-06 at 13:19, Andreas wrote:
> > On Thu, 2003-11-06 at 12:19, Andreas wrote:
>  Hi all!
> 
>  "mount /dev/hda13 /mnt" and
>  "chroot /mnt"
>  "ybin -v"
>  ..
>  After reboot no bootmanager again.
> >>>
> >>> I'm surprised ybin didn't complain about no /proc mounted.  Normally
> >>> you
> >>> need to mount /proc in the chroot also.   You wouldn't normally want 
> >>> to
> >>> mount the bootstrap, if that's what you're referring to on hda11.

Yes, Stew is right, you must mount your root partition AND /proc to the
chroot if you want to run ybin (yaboot needs to access to the nvram to
update the boot-device):

boot in rescue from the CD
$ mount /dev/hdaXX /mnt
where XX is the partition number of /
if /usr is on another partition, mount it too
$ mount /dev/hdaYY /mnt/usr

$ mount -t proc proc /mnt/proc
to mount the /proc partition

$ chroot mnt /usr/sbin/ybin -v
(can't remember exactly where is ybin, I don't have my mac here at
work).

Send us the output of the last command if it failed.

$ umount /mnt/proc
$ umount /mnt/usr
$ umount /mnt
$ reboot

I hope this will help you,

Brice





Re: Cannot boot 9.1 after OSX installation

2003-11-06 Thread Brice Figureau
On Thu, 2003-11-06 at 13:19, Andreas wrote:
> > On Thu, 2003-11-06 at 12:19, Andreas wrote:
> >> What had I best do? New installation?
> >
> > No.
> > It seems ybin didn't write to the OF the right command for the boot,
so
> > do it yourself:
> >
> > Jump to Open Firmware by pressing COMMAND-OPTION-O-F (apple key +
alt
> > key and the O and F key depressed) and reboot.
> > This will bring you the Open Firmware 'shell', then enter the
following
> > command:
> >
> >  printenv
> >
> > locate the boot-device entry then enter the following command (from
> > memory, basically the last part should be the same as what is shown
by
> > the printenv except that the partition number is added (aka 11 in
your
> > case)):
> >
> >  setenv boot-device hd:11,:\\tbxi
> >
> > Then reboot by entering the mac-shutdown command (or something like
> > that)...

> Won´t work!
> 
> After reboot now there is a little folder-icon with an question mark
on 
> it, than the mac-icon, and than the "apple" in the middle of the
screen 
> for booting OSX.

It means that there are no usable yaboot files on your hda11 partition.
Are you sure your boot (I mean the apple bootstrap partition, not the
partition where vmlinux (usually /boot)) partition is hda11 ?

Try the setenv thing and change the partition number...
Can you still boot MacOSX ?
If yes mount hda11 under MacOSX and have a look to see if it contains
the yaboot files...

Brice






Re: Cannot boot 9.1 after OSX installation

2003-11-06 Thread Stew Benedict

On Thu, 6 Nov 2003, Andreas wrote:

> 
> Today I tried "mkofboot", no errors but no bootmanager too. After 
> reboot always OSX is starting
> 
> What had I best do? New installation?
> 

You looked at the link fleny68 posted also?  I'm not quite sure how the 
kernel would have anything to do with it, since the kernel isn't active 
yet at that point, but worth a try I suppose.

-- 
Stew Benedict

--
MandrakeSoft




Re: Cannot boot 9.1 after OSX installation

2003-11-06 Thread Andreas
On Thu, 2003-11-06 at 12:19, Andreas wrote:
Hi all!

Yesterday I installed the new OSX "Panther" on my ibook. Now I 
cannot
boot Linux.

My boot partition is on /dev/hda11, swap on 12 and my system on 13.
I tried the rescue-system with
"mount /dev/hda11 /mnt" --> dont work, because must specifie the
partition type
then
"mount /dev/hda13 /mnt" and
"chroot /mnt"
"ybin -v"
..
After reboot no bootmanager again.
Any ideas?

I'm surprised ybin didn't complain about no /proc mounted.  Normally
you
need to mount /proc in the chroot also.   You wouldn't normally want 
to
mount the bootstrap, if that's what you're referring to on hda11.

--
Stew Benedict
--
MandrakeSoft

Today I tried "mkofboot", no errors but no bootmanager too. After
reboot always OSX is starting
What had I best do? New installation?
No.
It seems ybin didn't write to the OF the right command for the boot, so
do it yourself:
Jump to Open Firmware by pressing COMMAND-OPTION-O-F (apple key + alt
key and the O and F key depressed) and reboot.
This will bring you the Open Firmware 'shell', then enter the following
command:
 printenv

locate the boot-device entry then enter the following command (from
memory, basically the last part should be the same as what is shown by
the printenv except that the partition number is added (aka 11 in your
case)):
 setenv boot-device hd:11,:\\tbxi

Then reboot by entering the mac-shutdown command (or something like
that)...
Brice
Won´t work!

After reboot now there is a little folder-icon with an question mark on 
it, than the mac-icon, and than the "apple" in the middle of the screen 
for booting OSX.

I have done the same procedure (installing new system) before, but i 
forgot how it functioned ;-(

Andreas



Re: Cannot boot 9.1 after OSX installation

2003-11-06 Thread Brice Figureau
On Thu, 2003-11-06 at 12:19, Andreas wrote:
> >> Hi all!
> >>
> >> Yesterday I installed the new OSX "Panther" on my ibook. Now I cannot
> >> boot Linux.
> >>
> >> My boot partition is on /dev/hda11, swap on 12 and my system on 13.
> >> I tried the rescue-system with
> >> "mount /dev/hda11 /mnt" --> dont work, because must specifie the
> >> partition type
> >> then
> >> "mount /dev/hda13 /mnt" and
> >> "chroot /mnt"
> >> "ybin -v"
> >> ..
> >> After reboot no bootmanager again.
> >>
> >> Any ideas?
> >>
> >
> > I'm surprised ybin didn't complain about no /proc mounted.  Normally 
> > you
> > need to mount /proc in the chroot also.   You wouldn't normally want to
> > mount the bootstrap, if that's what you're referring to on hda11.
> >
> > -- 
> > Stew Benedict
> >
> > --
> > MandrakeSoft
> >
> >
> 
> Today I tried "mkofboot", no errors but no bootmanager too. After 
> reboot always OSX is starting
> 
> What had I best do? New installation?

No. 
It seems ybin didn't write to the OF the right command for the boot, so 
do it yourself:

Jump to Open Firmware by pressing COMMAND-OPTION-O-F (apple key + alt
key and the O and F key depressed) and reboot.
This will bring you the Open Firmware 'shell', then enter the following
command:

 printenv

locate the boot-device entry then enter the following command (from
memory, basically the last part should be the same as what is shown by
the printenv except that the partition number is added (aka 11 in your
case)):

 setenv boot-device hd:11,:\\tbxi

Then reboot by entering the mac-shutdown command (or something like
that)...

Brice






Re: Cannot boot 9.1 after OSX installation

2003-11-06 Thread Andreas
Hi all!

Yesterday I installed the new OSX "Panther" on my ibook. Now I cannot
boot Linux.
My boot partition is on /dev/hda11, swap on 12 and my system on 13.
I tried the rescue-system with
"mount /dev/hda11 /mnt" --> dont work, because must specifie the
partition type
then
"mount /dev/hda13 /mnt" and
"chroot /mnt"
"ybin -v"
..
After reboot no bootmanager again.
Any ideas?

I'm surprised ybin didn't complain about no /proc mounted.  Normally 
you
need to mount /proc in the chroot also.   You wouldn't normally want to
mount the bootstrap, if that's what you're referring to on hda11.

--
Stew Benedict
--
MandrakeSoft

Today I tried "mkofboot", no errors but no bootmanager too. After 
reboot always OSX is starting

What had I best do? New installation?

Bye!

Andreas