Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Forgot to create bootstrap partition
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
Lord_Jeremy
n00b
n00b


Joined: 06 Apr 2009
Posts: 13

PostPosted: Thu Apr 09, 2009 6:57 pm    Post subject: [solved]Forgot to create bootstrap partition Reply with quote

Hey. I'm an idiot. I'm in the midst of a Gentoo installation on a PowerMac G4. I'm installing Gentoo on an empty 20 GB second hard drive. When I partitioned, I forgot to create a tiny first partition for the bootloader. Now when I reboot and hold Option my Gentoo install in progress does not show up in the Apple boot selector. Am I completely screwed - do I need to start over? Or is there some way for me the salvage this royal mess?

Last edited by Lord_Jeremy on Fri Apr 10, 2009 2:02 am; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Apr 09, 2009 7:01 pm    Post subject: Reply with quote

If you have 600kb of unpartitioned space left you can create a bootstrap partition using that space. If needed you can also change the order of the partitions so that the bootstrap partition is the second partition in the partition table. If you don't have enough unpartitioned space you can try resizing one with parted to free up some space
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Lord_Jeremy
n00b
n00b


Joined: 06 Apr 2009
Posts: 13

PostPosted: Thu Apr 09, 2009 7:06 pm    Post subject: Reply with quote

Ah thanks for the speedy reply! I *think* mac-fdisk is the only tool I have available right now, and I don't know how to use it too well. I'll do some poking around to figure out what's available.

EDIT:
My partition map is as follows:
Code:
#    type    name    length    base    ( size )    system
/dev/hdb1    Apple_partition_map    Apple    63 @ 1    ( 31.5k)    Partition map
/dev/hdb2    Apple_UNIX_SVR2    swap    2097152 @ 64    (  1.0G)    Linux swap
/dev/hdb3    Apple_UNIX_SVR2    root    38091744 @ 2097216    ( 18.2G)    Linux native

Anyone have any ideas?

2ND EDIT:
Ok I deleted the swap partition, put a bootstrap partition in the free space, and recreated the swap partition in the remaining free space. I'm not sure if that'll work but it's worth a try I think.

3RD EDIT:
Well damn... I accidentally ran mkswap on my root partition. I'm guessing it's completely nuked, so I'm gonna start over with this whole process. Thanks for your help anyway!
Back to top
View user's profile Send private message
bmaass
n00b
n00b


Joined: 15 Mar 2008
Posts: 25

PostPosted: Fri Apr 10, 2009 9:40 am    Post subject: Reply with quote

Also, I remember some user reporting that the bootstrap partition works even if it's not the first.
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