Gentoo Archives: gentoo-ppc-user

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