Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
major partitioning problems
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
dufnutz
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 209

PostPosted: Wed May 19, 2004 5:01 pm    Post subject: major partitioning problems Reply with quote

I'm using the 2004.1 livecd to install gentoo on my ti powerbook g4 i get to the partitioning part and i use mac-fdisk
my partion table looks as follows


Code:
# mac-fdisk -l /dev/hda
/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_Bootstrap bootstrap              1600 @ 64       (800.0k)  NewWorld bootblock
/dev/hda3         Apple_UNIX_SVR2 swap                1048576 @ 1664     (512.0M)  Linux swap
/dev/hda4         Apple_UNIX_SVR2 root               38019840 @ 1050240  ( 18.1G)  Linux native
 
Block size=512, Number of Blocks=39070080
DeviceType=0x0, DeviceId=0x0


then when i do
Code:
 # mkswap /dev/hda3
/dev/hda3: No such file or directory


it doesn't see the partition i've tried restarting and the partition table is still listed as above but gentoo doesn't see the partitions?
any idea what is up?
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Thu May 20, 2004 9:05 pm    Post subject: Reply with quote

sounds like maybe /dev is not there or devfs is not loading ?

Does /dev/hda3 exist in the filesystem ? Also has this disk been used in an x86 machine before (with pc style partitions) ?

If it has been partitioned/formatted in an x86 previously I reccomend zeroing it first .. as the mac partitions info and the PC partition info can co-exist and cause major chaos ... you can probably check this by running normal fdisk and seeing if anythign shows up there ...
Back to top
View user's profile Send private message
dufnutz
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 209

PostPosted: Sat May 22, 2004 2:20 am    Post subject: Reply with quote

how do i go about zeroing it out?
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Sat May 22, 2004 3:30 pm    Post subject: Reply with quote

dd if=/dev/zero of=/dev/hda

if it's a largish drive it may take some time to run
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Tue May 25, 2004 1:50 am    Post subject: Reply with quote

have you looked in /dev... to see whats there (and isnt)?

just a thought....


and is this a problem that has occured accros reboots?


killfire
Back to top
View user's profile Send private message
pfinlay
n00b
n00b


Joined: 26 May 2004
Posts: 21

PostPosted: Thu May 27, 2004 2:32 pm    Post subject: Reply with quote

i have the same problem...i used parted to delete the apple partition map and then swap recognizes /dev/hda2 but it fails to initialize

[edit]

fixed now, just setup the partitions the way i wanted and then rebooted and it worked fine.......that reboot is important for the system to re-recognize what partitions are where
Back to top
View user's profile Send private message
dufnutz
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 209

PostPosted: Thu May 27, 2004 6:28 pm    Post subject: Reply with quote

i was able to fix it by following genfoo's instructions after that i was able to make a working partition table
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