Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual-Boot Confusion
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
mr2600
n00b
n00b


Joined: 22 Feb 2004
Posts: 54
Location: Florida

PostPosted: Sat Sep 25, 2004 4:18 am    Post subject: Dual-Boot Confusion Reply with quote

Meh! I have searched the forum regarding having OSX and Gentoo installed on the same drive but I cannot seem to add 2+2 together and figure out the proper way to get both on there in the right order.

I do not mind having to re-install OSX, just what order should I install the os'es?

I am using an iMac G3 350mhz with 256mb ram, and 40GB hard drive. OSX installed is 10.3.

Here is the partition map how it was before fiddling
Code:

/dev/hda
        #                    type name                 length   base     ( size )  system
dump: name /dev/hda len 8
/dev/hda1     Apple_partition_map Apple                    63 @ 1        ( 31.5k)  Partition map
/dev/hda2               Apple_HFS untitled           41943040 @ 1544     ( 20.0G)  HFS
/dev/hda3          Apple_Driver43 Macintosh                54 @ 64       ( 27.0k)  Driver 4.3
/dev/hda4          Apple_Driver43 Macintosh                74 @ 118      ( 37.0k)  Driver 4.3
/dev/hda5        Apple_Driver_ATA Macintosh                54 @ 192      ( 27.0k)  Unknown
/dev/hda6        Apple_Driver_ATA Macintosh                74 @ 246      ( 37.0k)  Unknown
/dev/hda7          Apple_FWDriver Macintosh               200 @ 320      (100.0k)  Unknown
/dev/hda8      Apple_Driver_IOKit Macintosh               512 @ 520      (256.0k)  Unknown
/dev/hda9           Apple_Patches Patch Partition         512 @ 1032     (256.0k)  Unknown
/dev/hda10             Apple_Free Extra              36220776 @ 41944584 ( 17.3G)  Free space


I tried to delete the others and renumber the HFS partition to 3, which worked ok... but now I do not have enough space for the Apple_Bootstrap partition!

Code:

        #                    type name                 length   base     ( size )  system
dump: name /dev/hda len 8
/dev/hda1     Apple_partition_map Apple                    63 @ 1        ( 31.5k)  Partition map
/dev/hda2              Apple_Free Extra                  1480 @ 64       (740.0k)  Free space
/dev/hda3               Apple_HFS untitled           41943040 @ 1544     ( 20.0G)  HFS
/dev/hda4              Apple_Free Extra              36220776 @ 41944584 ( 17.3G)  Free space


Apparently I need 800k for that, but I cannot move that existing HFS parition with either mac-fdisk or parted because its HFS+ with journaling (doh!). Looks like I would need to clear everything out...

So... If I start clean which way should I go? OSX then Gentoo, or Gentoo then OSX?

Somewhat lost here... :( Thanks in advance!
Back to top
View user's profile Send private message
linuxopjemac
n00b
n00b


Joined: 23 Aug 2004
Posts: 35
Location: The Hague, The Netherlands

PostPosted: Sat Sep 25, 2004 4:45 am    Post subject: Reply with quote

I would reformat your HD and make an Apple_Free partition for Gentoo later, then install OSX and then Gentoo.
Back to top
View user's profile Send private message
mr2600
n00b
n00b


Joined: 22 Feb 2004
Posts: 54
Location: Florida

PostPosted: Sat Sep 25, 2004 4:52 am    Post subject: Reply with quote

So... I can re-format and leave 20gb at the *start* of the disk and have OSX in the last 20gb? Then I should have plenty of space for Gentoo and the bootstrap partition...

/dev/hda1 Apple_partition_map
/dev/hda2 Apple_Bootstrap
/dev/hda3 swap
/dev/hda4 /
/dev/hda? HFS+ for OSX

This sound good?

Thanks!
Back to top
View user's profile Send private message
linuxopjemac
n00b
n00b


Joined: 23 Aug 2004
Posts: 35
Location: The Hague, The Netherlands

PostPosted: Sat Sep 25, 2004 5:03 am    Post subject: Reply with quote

no. You should format your HD from the OSX cd. You removed the Apple drivers, you need \them!
Back to top
View user's profile Send private message
mr2600
n00b
n00b


Joined: 22 Feb 2004
Posts: 54
Location: Florida

PostPosted: Sat Sep 25, 2004 5:15 am    Post subject: Reply with quote

Oh :oops:

I will give that a try tomorrow and see how that goes, getting late here.

Thanks :)
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Sat Sep 25, 2004 11:16 pm    Post subject: Reply with quote

linuxopjemac wrote:
no. You should format your HD from the OSX cd. You removed the Apple drivers, you need \them!


I think these "drivers partions" are only required if you want to boot OS 9 directly. But in anycase, you should not touch OS X partitions...

Here is my current setup:
Code:

        #                    type name                 length   base     ( size )  system
/dev/hda1     Apple_partition_map Apple                    63 @ 1        ( 31.5k)  Partition map
/dev/hda2         Apple_Bootstrap bootstrap              1600 @ 12584736 (800.0k)  NewWorld bootblock
/dev/hda3          Apple_Driver43 Macintosh                56 @ 64       ( 28.0k)  Driver 4.3
/dev/hda4          Apple_Driver43 Macintosh                56 @ 120      ( 28.0k)  Driver 4.3
/dev/hda5        Apple_Driver_ATA Macintosh                56 @ 176      ( 28.0k)  Unknown
/dev/hda6        Apple_Driver_ATA Macintosh                56 @ 232      ( 28.0k)  Unknown
/dev/hda7          Apple_FWDriver Macintosh               512 @ 288      (256.0k)  Unknown
/dev/hda8      Apple_Driver_IOKit Macintosh               512 @ 800      (256.0k)  Unknown
/dev/hda9           Apple_Patches Patch Partition         512 @ 1312     (256.0k)  Unknown
/dev/hda10              Apple_HFS Macintosh HD       12582912 @ 1824     (  6.0G)  HFS
/dev/hda11        Apple_UNIX_SVR2 swap                1048576 @ 12586336 (512.0M)  Linux swap
/dev/hda12        Apple_UNIX_SVR2 root                8388608 @ 13634912 (  4.0G)  Linux native
/dev/hda13        Apple_UNIX_SVR2 var                 8388608 @ 22023520 (  4.0G)  Linux native
/dev/hda14        Apple_UNIX_SVR2 portage             8388608 @ 30412128 (  4.0G)  Linux native
/dev/hda15        Apple_UNIX_SVR2 home               16777216 @ 38800736 (  8.0G)  Linux native
/dev/hda16        Apple_UNIX_SVR2 PC Backup          22562208 @ 55577952 ( 10.8G)  Linux native


NOTE: My bootstrap partition hda2 is located after all the OS X partitions. See the Base field. Partitions entries in the table do not need to be in the same order as they are on the disk.

Follow these instructions (I usually use mac-fdisk):

1. Boot from OS X installation disk.
2. Split disk in 2 with the disk utility.
3. Install OS X on the first part. Uncheck "install OS 9 drivers partitions" somewhere if you don't want them.
4. Boot Gentoo from CD.
5. Erase the 2nd partition unless it is mark as free?
6. Create bootstrap partition.
7. Create all your Linux partition.
8. In mac-fdisk, do: "reorder partition entry in map" to move the bootstrap entry to the 2nd entry in the table, so it becomes hda2.
9. Install yaboot etc.


BTW, I split this way which seems to work great for me:
/
/var
/usr/portage
/home

splitting /var - avoids compilation overflow
splitting /usr/portage - avoids portage overflow (distfiles and bin packages built).


iTux
Back to top
View user's profile Send private message
mr2600
n00b
n00b


Joined: 22 Feb 2004
Posts: 54
Location: Florida

PostPosted: Sun Sep 26, 2004 1:33 am    Post subject: Reply with quote

Thanks for the info iTux!

I did not realize you could just re-order the parition order like you mentioned to where the bootblock can be physically after OSX but still be /dev/hda2

I will give this a try...
Back to top
View user's profile Send private message
Rawn027
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 286

PostPosted: Thu Sep 30, 2004 1:57 am    Post subject: Reply with quote

Here is the deal....
My G5 bootup (because i have no os9 allowed...)

/dev/sda1 - apple partition map
/dev/sda2 - bootstrap
/dev/sda3 - swap
/dev/sda4 - /
/dev/sda5 - osx
_________________
AMD Athlon 64 1.8
1GB DDR 400 RAM
Nvidia 6600 GT

MacBook Pro Duo 1.67
1GB DDR2 667 RAM
ATI x1600 Mobility
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