Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgraded Jag to Panther: Bootloader borked?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Sat Jan 29, 2005 3:07 am    Post subject: Upgraded Jag to Panther: Bootloader borked? Reply with quote

Hi all!

I just recently upgraded my iBook from Jaguar to Panther...and now, when I boot...it doesn't give me the option of booting mac or linux.

I know I've seen something on the forums here on how to re-install your bootloader..but, must be using the wrong search terms and can't find anything pertinate.

Can someone give me some quick pointers on how to get the bootloader back to giving me a choice? Links or instructions very welcome!!

TIA,

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jan 29, 2005 6:55 am    Post subject: Reply with quote

Boot from the LiveCD and follow the Handbook instructions for installing Yaboot. Thats it!

Good luck!
Back to top
View user's profile Send private message
Tolstoi
l33t
l33t


Joined: 20 May 2004
Posts: 678

PostPosted: Sun Jan 30, 2005 11:43 am    Post subject: Reply with quote

I upgraded from 10.2 to 10.3 also without problems. You could try to
load yaboot from OF to get it working again.
Back to top
View user's profile Send private message
feliperal
Apprentice
Apprentice


Joined: 09 Mar 2003
Posts: 168

PostPosted: Sun Jan 30, 2005 3:01 pm    Post subject: Reply with quote

i had the same problem as you. My panther upgrade disks replaced the boot loader with Apple's own. All you need to do is to reinstall yaboot.


ybin -v
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Thu Jul 07, 2005 6:45 pm    Post subject: Wow.... Reply with quote

feliperal wrote:
i had the same problem as you. My panther upgrade disks replaced the boot loader with Apple's own. All you need to do is to reinstall yaboot.


ybin -v


Wow...didn't realized it had been this long since I put this project off. I booted off the latest Gentoo ppc livecd. I couldn't remember what exactly was where on my partitions. I just did an fdisk /dev/hda to look at the partitions. I got an error messages saying that there was no 'label' on the disks....and showed NO partition information. It did say, however, I had one whole disk with 30G available.

I booted with a mac install disk, and fired up the Disk tool...weird there too..it only shows the 10G partition I have OSX on....out of the 30G disk. It for some reason shows NO other partitions..foreign or not.

What are my options here? The only one shown by the OSX disk tool...is to erase the whole disk...and start over. I used the OSX tool originally, to partition off the disk...and until my OSX upgrade...it used to show the other unknown partions I had my Linux stuff on.

Any ideas what happened here? Any chance my Linux install is still there at all??

Just hoping I don't have to start from scratch...although I do not have a TON of stuff to backup off the OSX side...I'm not anxious to do a whole rebuild of OSX and Gentoo compile from scratch...that blows a whole weekend...this is only a 800 Mhz G3....

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
zeekec
n00b
n00b


Joined: 24 Feb 2004
Posts: 56
Location: Athens, GA, USA

PostPosted: Thu Jul 07, 2005 7:09 pm    Post subject: Re: Wow.... Reply with quote

cayenne wrote:
Wow...didn't realized it had been this long since I put this project off. I booted off the latest Gentoo ppc livecd. I couldn't remember what exactly was where on my partitions. I just did an fdisk /dev/hda to look at the partitions. I got an error messages saying that there was no 'label' on the disks....and showed NO partition information. It did say, however, I had one whole disk with 30G available.


Try
Code:
mac-fdisk -l


Erik
_________________
Against stupidity the very gods
Themselves contend in vain.
-Johann Christoph Friedrich von Schiller (1801)
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Wed Jul 13, 2005 12:26 am    Post subject: Re: Wow.... Reply with quote

zeekec wrote:
cayenne wrote:
Wow...didn't realized it had been this long since I put this project off. I booted off the latest Gentoo ppc livecd. I couldn't remember what exactly was where on my partitions. I just did an fdisk /dev/hda to look at the partitions. I got an error messages saying that there was no 'label' on the disks....and showed NO partition information. It did say, however, I had one whole disk with 30G available.


Try
Code:
mac-fdisk -l


Erik


mac-fdisk -l gives me command not found.???

Just typing fdisk from the mac commandline...doesn't act like I'm used to....tried to just check if it is partitioned, something like fdisk -t /dev/disk0 gives /dev/disk0 is not a character device or regular file...

I'm very puzzled at all this....the partitions used to show up when you used the disk manager....but, can't find anything any more...

C
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
zeekec
n00b
n00b


Joined: 24 Feb 2004
Posts: 56
Location: Athens, GA, USA

PostPosted: Wed Jul 13, 2005 6:10 am    Post subject: Re: Wow.... Reply with quote

cayenne wrote:
mac-fdisk -l gives me command not found.???

Just typing fdisk from the mac commandline...doesn't act like I'm used to....tried to just check if it is partitioned, something like fdisk -t /dev/disk0 gives /dev/disk0 is not a character device or regular file...

I'm very puzzled at all this....the partitions used to show up when you used the disk manager....but, can't find anything any more...

C


I get:
Code:
> mac-fdisk -l
/dev/hda
        #                    type name                  length   base      ( size )  system
/dev/hda1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
/dev/hda2          Apple_Driver43 Macintosh                 54 @ 64        ( 27.0k)  Driver 4.3
/dev/hda3          Apple_Driver43 Macintosh                 74 @ 118       ( 37.0k)  Driver 4.3
/dev/hda4        Apple_Driver_ATA Macintosh                 54 @ 192       ( 27.0k)  Unknown
/dev/hda5        Apple_Driver_ATA Macintosh                 74 @ 246       ( 37.0k)  Unknown
/dev/hda6          Apple_FWDriver Macintosh                200 @ 320       (100.0k)  Unknown
/dev/hda7      Apple_Driver_IOKit Macintosh                512 @ 520       (256.0k)  Unknown
/dev/hda8           Apple_Patches Patch Partition          512 @ 1032      (256.0k)  Unknown
/dev/hda9               Apple_HFS untitled            24576000 @ 1544      ( 11.7G)  HFS
/dev/hda10        Apple_Bootstrap bootstrap               1600 @ 24577544  (800.0k)  NewWorld bootblock
/dev/hda11        Apple_UNIX_SVR2 swap                 1310720 @ 24579144  (640.0M)  Linux swap
/dev/hda12        Apple_UNIX_SVR2 root                41943040 @ 25889864  ( 20.0G)  Linux native
/dev/hda13        Apple_UNIX_SVR2 home                52270296 @ 67832904  ( 24.9G)  Linux native

Block size=512, Number of Blocks=120103199
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 118 for 36, type=0xffff
3: @ 192 for 21, type=0x701
4: @ 246 for 34, type=0xf8ff

with fdisk I get
Code:
> fdisk -l

Disk /dev/hda: 61.4 GB, 61492838400 bytes
16 heads, 63 sectors/track, 119150 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Disk /dev/hda doesn't contain a valid partition table


It's more than a little strange that your LiveCD doesn't contain mac-fdisk. It's the recommended way of partitioning a PPC drive. (You are booting with the LiveCD, right?)

Sorry I can't be of any more help,
Erik
_________________
Against stupidity the very gods
Themselves contend in vain.
-Johann Christoph Friedrich von Schiller (1801)
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Fri Jul 15, 2005 1:11 am    Post subject: Geez... Reply with quote

feliperal wrote:
i had the same problem as you. My panther upgrade disks replaced the boot loader with Apple's own. All you need to do is to reinstall yaboot.


ybin -v


Howdy!

Duh...me...I was trying to do mac-fdisk -l from OSX....did it on Gentoo LiveCD...and found the harddrives.

Now, one question...do I chroot into the gentoo drive /mnt/gentoo (I've already mounted it) before I do the ybin -v?

TIA,

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Fri Jul 15, 2005 8:46 am    Post subject: Reply with quote

this are the steps you have to do:

Code:

$ mount /dev/xdax /mnt/gentoo
$ mount -o bind /dev/ /mnt/gentoo/dev
$ chroot /mnt/gentoo/ /bin/bash
$ ybin -v
$ exit
$ ...
Back to top
View user's profile Send private message
zeekec
n00b
n00b


Joined: 24 Feb 2004
Posts: 56
Location: Athens, GA, USA

PostPosted: Fri Jul 15, 2005 1:23 pm    Post subject: Reply with quote

corsair wrote:
this are the steps you have to do:

Code:

$ mount /dev/xdax /mnt/gentoo
$ mount -o bind /dev/ /mnt/gentoo/dev
$ chroot /mnt/gentoo/ /bin/bash
$ ybin -v
$ exit
$ ...


Might need to add:
Code:
mount -t proc none /mnt/gentoo/proc
mount -t sysfs none /mnt/gentoo/sys

before chrooting. I got errors and warnings while fixing a recent problem without them. (I forgot to run ybin after deleting some old kernels and adding new ones.:oops: )
_________________
Against stupidity the very gods
Themselves contend in vain.
-Johann Christoph Friedrich von Schiller (1801)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
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