Gentoo Archives: gentoo-ppc-user

From: Michael Hanna <taojones@×××××××××.ca>
To: gentoo-ppc-user@l.g.o
Cc: "Michael Stilson Jr." <michael.stilson@×××××.edu>
Subject: [gentoo-ppc-user] mac-fdisk: Can't read block 0 from file (Is a directory)
Date: Mon, 16 Feb 2004 16:58:24
Message-Id: 50AC265E-60A1-11D8-9B79-000A95B34330@sympatico.ca
1 When I try:
2
3 mac-fdisk /dev/scsi/host1/bus0/target6/lun0
4
5 I get:
6
7 mac-fdisk: Can't read block 0 from file (Is a directory)
8
9 just thought you may have seen this before
10
11
12 On 16-Feb-04, at 10:38 AM, Michael Stilson Jr. wrote:
13
14 > hmmm...
15 >
16 > The drives I have are IDE...I'll poke around though and see if I can
17 > dig anything up...
18 >
19 > - michael
20 >
21 > On Monday, February 16, 2004, at 10:32 AM, Michael Hanna wrote:
22 >
23 >> :)
24 >>
25 >> Thanks for the advice. I'm actually stuck at the point where I need
26 >> to mac-fdisk the SCSI HD. I can't seem to determine the /dev location
27 >> of it. If I go dmesg|more I don't get very useful information on the
28 >> SCSI bus. It has reported /dev/sdb with other kernels but there's no
29 >> /dev/sdb so when I try that, it says there's no such entry.
30 >>
31 >> I've also tried
32 >>
33 >> mac-fdisk /dev/scsi/host1/bus0/target6/lun0
34 >>
35 >> this has also failed. Any ideas on how I can get the device address
36 >> of the scsi HD at ID 6?
37 >>
38 >> On 16-Feb-04, at 9:11 AM, Michael Stilson Jr. wrote:
39 >>
40 >>> Hey,
41 >>>
42 >>> I used ext3 for my Linux partitions, well except for swap,
43 >>> obviously. You can get at those filesystems via OS X, but will have
44 >>> to emerge atalkd on the gentoo Mac and configure it for AppleTalk
45 >>> file sharing.
46 >>>
47 >>> You don't need a bootstrap. That's for New World machines.
48 >>>
49 >>> You can also mount your OS 9 partition using the type "hfsplus". So
50 >>> you can copy the Linux kernel and such you build during install over
51 >>> to System Folder:Linux Kernels.
52 >>>
53 >>> And, yes, you may buy me beer.
54 >>>
55 >>> : )
56 >>>
57 >>> - michael
58 >>>
59 >>>
60 >>> On Friday, February 13, 2004, at 03:59 PM, Michael Hanna wrote:
61 >>>
62 >>>> What filesystem did you use and which partitions did you make? I'm
63 >>>> not sure if I need a bootstrap or not.
64 >>>>
65 >>>> I'm thinking of using ext3, but can I still access the files on the
66 >>>> ext3 hard disk via appletalk from other OS X-based macs on the
67 >>>> network?
68 >>>>
69 >>>> Michael
70 >>>>
71 >>>> On 12-Feb-04, at 5:07 PM, Michael Stilson Jr. wrote:
72 >>>>
73 >>>>> Hey Michael,
74 >>>>>
75 >>>>> My apologies for the delayed response...
76 >>>>>
77 >>>>> I believe I have finally reconstructed how I set up gentoo on this
78 >>>>> "pizza box" Mac I got here...
79 >>>>>
80 >>>>> OK, first, I started up into Mac OS, after installing BootX, and I
81 >>>>> created a folder in my "System Folder" called "Linux Kernels".
82 >>>>> Then I copied all of the files (no folders) in the root of the
83 >>>>> LiveCD to the "Linux Kernels" folder.
84 >>>>>
85 >>>>> Rebooted.
86 >>>>>
87 >>>>> BootX pops up...now for the nitty gritty...check this page out:
88 >>>>> http://www.gentoo.org/doc/en/gentoo-ppc-install.xml
89 >>>>>
90 >>>>> Specifically, the content under the heading "CD flavor: kde/gnome
91 >>>>> livecd ", second paragraph...and also "2. Booting"
92 >>>>>
93 >>>>> BootX should have automatically found vmlinux in the "Linux
94 >>>>> Kernels" folder. What you need to do next is specify and initrd
95 >>>>> image under the "Options..." button. You can use the one that is
96 >>>>> in the "Linux Kernels" folder. Make sure you set the initial size
97 >>>>> to 11000.
98 >>>>>
99 >>>>> In the field for "Root device:", type the text "ram". Check the
100 >>>>> box that says "No video driver" and then put the following text in
101 >>>>> the "More kernel arguments" field:
102 >>>>>
103 >>>>> init=/linuxrc
104 >>>>>
105 >>>>> Optionally, you can click "Save to prefs" and then click the Linux
106 >>>>> button.
107 >>>>>
108 >>>>> After that you should be good to go and you should see your box
109 >>>>> booting Linux for the first time.
110 >>>>>
111 >>>>> Hope this helps. Good luck!
112 >>>>>
113 >>>>> - michael
114 >>>>>
115 >>>>> On Thursday, February 5, 2004, at 11:53 PM, Michael Hanna wrote:
116 >>>>>
117 >>>>>> I need to find the device address of my SCSI CD-ROM ..OK... I
118 >>>>>> need help decoding the output of various kernels..
119 >>>>>>
120 >>>>>> yellow dog linux 2.6:
121 >>>>>> http://sandcastle.cosc.brocku.ca/~mh99ao/P1010002.JPG
122 >>>>>>
123 >>>>>> I have tried /dev/scsi/host1/bus0/target6/lun0 in BootX and it
124 >>>>>> didn't boot gentoo from the liveCD
125 >>>>>>
126 >>>>>> linux-bk 2.4:
127 >>>>>> http://sandcastle.cosc.brocku.ca/~mh99ao/P1010003.JPG
128 >>>>>>
129 >>>>>> linux-bk 2.2:
130 >>>>>> http://sandcastle.cosc.brocku.ca/~mh99ao/P1010004.JPG
131 >>>>>>
132 >>>>>>
133 >>>>>> any ideas of what my scsi cd-rom could be?
134 >>>>>>
135 >>>>>> Michael
136 >>>>>>
137 >>>>>> On 3-Feb-04, at 12:43 PM, Michael Stilson Jr. wrote:
138 >>>>>>
139 >>>>>>> Hey Michael,
140 >>>>>>>
141 >>>>>>> I am thinking that /dev/sda3 would mean you are looking to
142 >>>>>>> utilize "s"CSI "d"evice "a", partition "3".
143 >>>>>>>
144 >>>>>>> >From my experience with hard drives, the first SCSI device is
145 >>>>>>> usually mounted on /dev/sda, the second on /dev/sdb, etc.
146 >>>>>>>
147 >>>>>>> Not sure if this tangent I am going off on is logical...but I am
148 >>>>>>> thinking that SCSI cd rom on bus ID 3, would equate to
149 >>>>>>> /dev/sdc...maybe? Or if it is the only SCSI device on the
150 >>>>>>> system, it might just be /dev/sda.
151 >>>>>>>
152 >>>>>>> Hope this helps. I have no hardware to test my hypothesis, sorry.
153 >>>>>>>
154 >>>>>>> Good luck,
155 >>>>>>>
156 >>>>>>> - michael
157 >>>>>>>
158 >>>>>>> On Tuesday, February 3, 2004, at 08:34 AM, Michael Hanna wrote:
159 >>>>>>>
160 >>>>>>>> Hi I'm trying to boot from the livecd-ppc-grp-1.4-cd1.iso that
161 >>>>>>>> I burned to a disc. It's in SCSI CD-ROM drive on the main SCSI
162 >>>>>>>> bus on ID 3.
163 >>>>>>>>
164 >>>>>>>> In bootX I need to put in a /dev/<id> parameter. I don't know
165 >>>>>>>> what this parameter is, so how do I find out?
166 >>>>>>>>
167 >>>>>>>> I've looked through the output of bootup procedure and I've
168 >>>>>>>> tried various codes such as sda3, scsi1 but to no avail.
169 >>>>>>>>
170 >>>>>>>> The bootup procedure gives me an error saying can't find device
171 >>>>>>>> "" or "<erroneous id here>" and root="" so will reboot in 180
172 >>>>>>>> seconds...I think I'm not able to enter any commands...
173 >>>>>>>>
174 >>>>>>>> Michael
175 >>>>>>>
176 >>>>>
177 >>>>>