Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't install Gentoo on FireWire drive. [SOLVED]
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
Thomas Roberts
n00b
n00b


Joined: 20 Oct 2004
Posts: 13

PostPosted: Thu Jun 01, 2006 8:22 pm    Post subject: Can't install Gentoo on FireWire drive. [SOLVED] Reply with quote

I downloaded and burned the PPC 2006.0 Universal ISO successfully and I am able to boot from the CD, but I am not able to install it on my external FireWire drive. If I type 'mac-fdisk' I can get information on my internal drive, but I have no idea how to find/mount/partition my external drive. I used the OS X Disk Utility to split the external drive into two partitions and I installed Panther on the first Partition. I want to install Gentoo on the second, but I do not know how to get mac-fdisk to find it. I tried using /dev/sda but that did not work. I entered the boot option for FireWire device support and I did not get a message saying I did not enter a valid option so I can only believe FireWire device support was enabled.

Last edited by Thomas Roberts on Mon Jun 05, 2006 3:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424

PostPosted: Thu Jun 01, 2006 9:18 pm    Post subject: Reply with quote

is the ppc arch. right for your system? you sure it's not x86?

try using the minmal installation cd and use fdisk to find out your disk information.

there could be some kernel variables (for the livecd) that could help with the firewire device.

feel free to refer to the latest gentoo handbooks

:)
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Jun 01, 2006 9:48 pm    Post subject: Reply with quote

He said that he has an OS X disk utility and Panther... so I would guess he has the right arch.

On the x86 universal live cd, there is an option for nofirewire, if it is the same on the PPC disc, then firewire support should have been loaded. There should be a readme file on the disc with the available boot options. Do you know what firewire chipset you have? Can you verify that the correct kernel modules have been loaded for that chipset?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Jun 02, 2006 12:59 am    Post subject: Re: Can't install Gentoo on FireWire drive. Reply with quote

Thomas Roberts wrote:
I installed Panther on the first Partition. I want to install Gentoo on the second, but I do not know how to get mac-fdisk to find it. I tried using /dev/sda but that did not work.

If you don't know which device to partition, you can use the same trick with mac-fdisk as you can with the x86 version of fdisk. The -l option lets you list all detected harddrives in the system.
Code:
# mac-fdisk -l
/dev/sdb
        #                    type name                 length   base     ( size )  system
/dev/sdb1     Apple_partition_map Apple                    63 @ 1        ( 31.5k)  Partition map
/dev/sdb2         Apple_Bootstrap bootstrap              1600 @ 64       (800.0k)  NewWorld bootblock
/dev/sdb3         Apple_UNIX_SVR2 root               78138496 @ 1664     ( 37.3G)  Linux native

Block size=512, Number of Blocks=78140160
DeviceType=0x0, DeviceId=0x0

/dev/hda
        #                    type name                 length   base     ( size )  system
/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 root               78138496 @ 1664     ( 37.3G)  Linux native

Block size=512, Number of Blocks=78140160
DeviceType=0x0, DeviceId=0x0

/dev/hda is the internal harddrive of my mac mini, and /dev/sdb is an external firewire harddrive. The partition tables look pretty similar because the firewire harddrive is actually a second mac mini that I booted into "target disk" mode, and then attached using a firewire cable.

ps. If the firewire harddrive doesn't show up with mac-fdisk -l and you don't see it in dmesg either, then make sure you have the following modules loaded :
    ieee1394
    ohci1394
    scsi_mod
    sbp2
    sd_mod
Back to top
View user's profile Send private message
Thomas Roberts
n00b
n00b


Joined: 20 Oct 2004
Posts: 13

PostPosted: Fri Jun 02, 2006 8:21 pm    Post subject: Re: Can't install Gentoo on FireWire drive. Reply with quote

cyrillic wrote:
If the firewire harddrive doesn't show up with mac-fdisk -l and you don't see it in dmesg either, then make sure you have the following modules loaded :
    ieee1394
    ohci1394
    scsi_mod
    sbp2
    sd_mod

How do I determine if the modules you mentioned are loaded? FYI, I am new to Linux.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Jun 02, 2006 8:58 pm    Post subject: Reply with quote

Use the "lsmod" command.
Back to top
View user's profile Send private message
Thomas Roberts
n00b
n00b


Joined: 20 Oct 2004
Posts: 13

PostPosted: Sat Jun 03, 2006 1:55 am    Post subject: Reply with quote

yabbadabbadont wrote:
Use the "lsmod" command.

I ran the "lsmod" command from "root" and from "/dev" and each time the line that appeared after checking each module was

usage: lsmod

so I do not know if they are loaded or not. The way I entered the command was

lsmod [module name]
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Jun 03, 2006 3:57 am    Post subject: Reply with quote

Thomas Roberts wrote:
usage: lsmod

This means that the command is used by itself, and the output is a list of currently loaded modules.
Code:
# lsmod


If you want to load a module, use the modprobe command.
Code:
# modprobe sbp2


Modprobe can list all available modules too.
Code:
# modprobe -l


If some of the modules I mentioned before do not show up in the list of available modules, then it may mean they are compiled into the kernel (i.e. always loaded).
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


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

PostPosted: Sat Jun 03, 2006 9:00 am    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on PPC.
Where the ppc experts hang out :)
_________________
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
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jun 03, 2006 4:15 pm    Post subject: Reply with quote

There are some issues with firewire in the 2006.0 release. I'd recommend using 2005.1 and using the 2006.0 stage tarballs if you want to do a firewire install.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Thomas Roberts
n00b
n00b


Joined: 20 Oct 2004
Posts: 13

PostPosted: Sun Jun 04, 2006 3:53 am    Post subject: Reply with quote

ieee1394 and ohci1394 were loaded and I was able to use modprobe [module name] to load sbp2 and sd_mod, but I got a message saying scsi_mod could not be found. I then did a modprobe -l to see the list of modules available and the only one I saw that had "scsi" in it was a module called scsi_transport_fc.ko but at the time I did not think about getting the entire path so I am not sure for what it could be used.

Where would I go to get the 2005.x version of Gentoo? When I went to DistroWatch I was only able to find the x86 version of 2005.0
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jun 04, 2006 6:11 am    Post subject: Reply with quote

http://gentoo.osuosl.org/releases/historical/ppc/2005.1/installcd/
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Thomas Roberts
n00b
n00b


Joined: 20 Oct 2004
Posts: 13

PostPosted: Sun Jun 04, 2006 8:21 pm    Post subject: Reply with quote

JoseJX wrote:
http://gentoo.osuosl.org/releases/historical/ppc/2005.1/installcd/

Thank you for the link. I am downloading it now.
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Mon Jun 05, 2006 8:57 am    Post subject: Reply with quote

Thomas Roberts wrote:
JoseJX wrote:
http://gentoo.osuosl.org/releases/historical/ppc/2005.1/installcd/

Thank you for the link. I am downloading it now.


Thomas, take a look at this topic which may help you. I had same problems and it's a report about how to install Gentoo PPC in an external firewire disk using 2005.1 livecd and leaving the internal disk with macosx untouched.

https://forums.gentoo.org/viewtopic-p-3313118.html#3313118
Back to top
View user's profile Send private message
Thomas Roberts
n00b
n00b


Joined: 20 Oct 2004
Posts: 13

PostPosted: Mon Jun 05, 2006 3:00 pm    Post subject: Reply with quote

Thanks to everyone's help I succeeded in getting Gentoo onto my external drive and compiling the kernel, but this is as far as I got. I will start another topic thread and explain my problem from there.

Again, thanks for all the help!
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