Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

help installing on powerbook6,8 w/ dead cd drive

 
   Soft32 Home -> Linux -> Ports PowerPC RSS
Next:  Accepted why 2.18.dfsg-1 (source i386 all)  
Author Message
Ross Gohlke

External


Since: Mar 22, 2009
Posts: 3



(Msg. 1) Posted: Sun Mar 22, 2009 1:20 pm
Post subject: help installing on powerbook6,8 w/ dead cd drive
Archived from groups: linux>debian>ports>powerpc (more info?)

Greetings,

I have tried and failed to install Debian on my powerbook. Please review
my procedure and suggest revisions.

SPECIFICATIONS
powerbook6,8 - 1.5 GHz PowerPC 12"
Mac OS 10.4
Dead SuperDrive
No USB Boot (Open Firmware doesn't recognize external disks)
Internal 150GB drive formatted with Disk Utility years ago into 2 drives
-- 1 UFS, 1 case-sensitive HFS+. Disk Utility also created an 8MB
Apple_Boot partition for each of these partitions, for a total of 4
partitions.
Open Firmware only recognizes Apple_Boot partitions. Presumably it does
not see my HFS+ partition because it is case-sensitive.
I cannot rewrite the disk partition map because I cannot run off-disk (no
CD drive, no bootable external drive).
Debian distro: debian-500-powerpc-businesscard-1.iso, downloaded from
http://www.debian.org/CD/netinst/

SITUATION
The downloaded yaboot assumes the rest of the files are on the same
partition. Open Firmware only sees Apple_Boot partitions, which are too
small to hold vmlinux AND initrd.gz. Modifying yaboot.conf/yaboot requires
ybin, which requires a running Debian, which I don't have.
Manually loading the kernel should work:
http://www.debian.org/ports/powerpc/inst/yaboot-howto/ch9.en.html#s9.3 I
should be able use root=/dev/hda5 (case-sensitive HFS+ partition).

PROCEDURE
MAC OS X
Double-click Debian ISO to mount it.
In Terminal, mount first Apple_Boot partition and copy vmlinux to it: %
mkdir /Volumes/apple_boot
% mount -t hfs /dev/disk1s2 /Volumes/apple_boot
% cp -a /Volumes/Debian:PowerPC_lenny/install/powerpc/vmlinux
/Volumes/apple_boot/
% cp -aR /Volumes/Debian:PowerPC_lenny/install /
Reboot into Open Firmware (cmd-opt-o-f)
0 > boot hd:2,\vmlinux root=/dev/hda5 initrd=/install/powerpc/initrd.gz
initrdsize=10240 append="--"

Loading ELF

Claim failed.

This happens whether I put initrd.gz on HFS+ or on 2nd Apple_Boot.

I also looked into netbooting, but documentation is inconsistent and I
could not find netbootable binaries.

QUESTIONS
Is /dev/hda5 right for root=?
Is HFS+ drive being case-sensitive the reason Open Firmware, vmlinux or
both cannot see it?
Even if I could boot the kernel, would the installer be able to use the
UFS partition?
Am I using the wrong distro?

Any suggestions are greatly appreciated.

Here's to dipping into Debian!
Ross





--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Wartan Hachaturow

External


Since: Aug 11, 2005
Posts: 10



(Msg. 2) Posted: Sun Mar 22, 2009 1:20 pm
Post subject: Re: help installing on powerbook6,8 w/ dead cd drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I used to boot my Powerbook G4 just fine with USB CD drive. The only
problem was to find a correct device path in the OF device tree.

Otherwise, you should be able to netboot easily -- the setup is quite
well documented on the web.

On 3/22/09, Ross Gohlke <developer DeleteThis @grinz.com> wrote:
> Greetings,
>
> I have tried and failed to install Debian on my powerbook. Please review
> my procedure and suggest revisions.
>
> SPECIFICATIONS
> powerbook6,8 - 1.5 GHz PowerPC 12"
> Mac OS 10.4
> Dead SuperDrive
> No USB Boot (Open Firmware doesn't recognize external disks)
> Internal 150GB drive formatted with Disk Utility years ago into 2 drives
> -- 1 UFS, 1 case-sensitive HFS+. Disk Utility also created an 8MB
> Apple_Boot partition for each of these partitions, for a total of 4
> partitions.
> Open Firmware only recognizes Apple_Boot partitions. Presumably it does
> not see my HFS+ partition because it is case-sensitive.
> I cannot rewrite the disk partition map because I cannot run off-disk (no
> CD drive, no bootable external drive).
> Debian distro: debian-500-powerpc-businesscard-1.iso, downloaded from
> http://www.debian.org/CD/netinst/
>
> SITUATION
> The downloaded yaboot assumes the rest of the files are on the same
> partition. Open Firmware only sees Apple_Boot partitions, which are too
> small to hold vmlinux AND initrd.gz. Modifying yaboot.conf/yaboot requires
> ybin, which requires a running Debian, which I don't have.
> Manually loading the kernel should work:
> http://www.debian.org/ports/powerpc/inst/yaboot-howto/ch9.en.html#s9.3 I
> should be able use root=/dev/hda5 (case-sensitive HFS+ partition).
>
> PROCEDURE
> MAC OS X
> Double-click Debian ISO to mount it.
> In Terminal, mount first Apple_Boot partition and copy vmlinux to it: %
> mkdir /Volumes/apple_boot
> % mount -t hfs /dev/disk1s2 /Volumes/apple_boot
> % cp -a /Volumes/Debian:PowerPC_lenny/install/powerpc/vmlinux
> /Volumes/apple_boot/
> % cp -aR /Volumes/Debian:PowerPC_lenny/install /
> Reboot into Open Firmware (cmd-opt-o-f)
> 0 > boot hd:2,\vmlinux root=/dev/hda5 initrd=/install/powerpc/initrd.gz
> initrdsize=10240 append="--"
>
> Loading ELF
>
> Claim failed.
>
> This happens whether I put initrd.gz on HFS+ or on 2nd Apple_Boot.
>
> I also looked into netbooting, but documentation is inconsistent and I
> could not find netbootable binaries.
>
> QUESTIONS
> Is /dev/hda5 right for root=?
> Is HFS+ drive being case-sensitive the reason Open Firmware, vmlinux or
> both cannot see it?
> Even if I could boot the kernel, would the installer be able to use the
> UFS partition?
> Am I using the wrong distro?
>
> Any suggestions are greatly appreciated.
>
> Here's to dipping into Debian!
> Ross
>
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-REQUEST DeleteThis @lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster DeleteThis @lists.debian.org
>
>


--
Regards, Wartan.


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Benjamin Cama

External


Since: Mar 15, 2007
Posts: 8



(Msg. 3) Posted: Sun Mar 22, 2009 1:20 pm
Post subject: Re: help installing on powerbook6,8 w/ dead cd drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Le dimanche 22 mars 2009 à 10:48 -0500, Ross Gohlke a écrit :
> I also looked into netbooting, but documentation is inconsistent and I
> could not find netbootable binaries.

I netbooted my powerbook to install Debian on it, and it went smoothly
(I already had an experience by netbooting some OpenWrt router ; I also
netbooted back my amd64 from my powerbook ... so I may be a bit more
experienced, but with some docs it goes ok)

The files used to netboot lenny and the documentation can be found
here :
http://www.debian.org/distrib/netinst#netboot
I set up dhcp3-server, tftpd-hpa, and can then netboot my PB.

The hardest part was finding the correct way to configure some quirks of
Apple's way of netbooting. In the DHCP server config, you must specify
both next-server and server-identifier to the IP of your netboot server.
Also, setting a filename gets ignored by open-firmware's netbooting
code. So, the correct command to use when in OF on your PB :

boot enet:0,yaboot

This should be enough to get you running the debian installer.

Don't hesitate to ask if you need some more details.

Regards,
benjamin


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Ross Gohlke

External


Since: Mar 22, 2009
Posts: 3



(Msg. 4) Posted: Sun Mar 22, 2009 3:20 pm
Post subject: Re: help installing on powerbook6,8 w/ dead cd drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I have not tried an external CD-ROM, but I have tried various external
hard disks, including ATA, SD and CF.

Spurred by such reports, I have tried every combination of usb* (using
devalias and dir) in Open Firmware, to no avail. I don't think it works
with all models.
What is your Powerbook's Machine Model in System Profiler?

Thanks for the advice.
Ross

> I used to boot my Powerbook G4 just fine with USB CD drive. The only
> problem was to find a correct device path in the OF device tree.
>
> Otherwise, you should be able to netboot easily -- the setup is quite
> well documented on the web.
>
> On 3/22/09, Ross Gohlke <developer.TakeThisOut@grinz.com> wrote:
>> Greetings,
>>
>> I have tried and failed to install Debian on my powerbook. Please review
>> my procedure and suggest revisions.
>>
>> SPECIFICATIONS
>> powerbook6,8 - 1.5 GHz PowerPC 12"
>> Mac OS 10.4
>> Dead SuperDrive
>> No USB Boot (Open Firmware doesn't recognize external disks)
>> Internal 150GB drive formatted with Disk Utility years ago into 2 drives
>> -- 1 UFS, 1 case-sensitive HFS+. Disk Utility also created an 8MB
>> Apple_Boot partition for each of these partitions, for a total of 4
>> partitions.
>> Open Firmware only recognizes Apple_Boot partitions. Presumably it does
>> not see my HFS+ partition because it is case-sensitive.
>> I cannot rewrite the disk partition map because I cannot run off-disk
>> (no
>> CD drive, no bootable external drive).
>> Debian distro: debian-500-powerpc-businesscard-1.iso, downloaded from
>> http://www.debian.org/CD/netinst/
>>
>> SITUATION
>> The downloaded yaboot assumes the rest of the files are on the same
>> partition. Open Firmware only sees Apple_Boot partitions, which are too
>> small to hold vmlinux AND initrd.gz. Modifying yaboot.conf/yaboot
>> requires
>> ybin, which requires a running Debian, which I don't have.
>> Manually loading the kernel should work:
>> http://www.debian.org/ports/powerpc/inst/yaboot-howto/ch9.en.html#s9.3 I
>> should be able use root=/dev/hda5 (case-sensitive HFS+ partition).
>>
>> PROCEDURE
>> MAC OS X
>> Double-click Debian ISO to mount it.
>> In Terminal, mount first Apple_Boot partition and copy vmlinux to it: %
>> mkdir /Volumes/apple_boot
>> % mount -t hfs /dev/disk1s2 /Volumes/apple_boot
>> % cp -a /Volumes/Debian:PowerPC_lenny/install/powerpc/vmlinux
>> /Volumes/apple_boot/
>> % cp -aR /Volumes/Debian:PowerPC_lenny/install /
>> Reboot into Open Firmware (cmd-opt-o-f)
>> 0 > boot hd:2,\vmlinux root=/dev/hda5 initrd=/install/powerpc/initrd.gz
>> initrdsize=10240 append="--"
>>
>> Loading ELF
>>
>> Claim failed.
>>
>> This happens whether I put initrd.gz on HFS+ or on 2nd Apple_Boot.
>>
>> I also looked into netbooting, but documentation is inconsistent and I
>> could not find netbootable binaries.
>>
>> QUESTIONS
>> Is /dev/hda5 right for root=?
>> Is HFS+ drive being case-sensitive the reason Open Firmware, vmlinux or
>> both cannot see it?
>> Even if I could boot the kernel, would the installer be able to use the
>> UFS partition?
>> Am I using the wrong distro?
>>
>> Any suggestions are greatly appreciated.
>>
>> Here's to dipping into Debian!
>> Ross
>>
>>
>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-powerpc-REQUEST.TakeThisOut@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmaster.TakeThisOut@lists.debian.org
>>
>>
>
>
> --
> Regards, Wartan.
>


--



--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Ross Gohlke

External


Since: Mar 22, 2009
Posts: 3



(Msg. 5) Posted: Sun Mar 22, 2009 3:20 pm
Post subject: Re: help installing on powerbook6,8 w/ dead cd drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I think I was looking at outdated documentation. This sounds like it
should work, I will let you know.

Thanks for the prompt reply.
Ross

> Le dimanche 22 mars 2009 à 10:48 -0500, Ross Gohlke a écrit :
>> I also looked into netbooting, but documentation is inconsistent and I
>> could not find netbootable binaries.
>
> I netbooted my powerbook to install Debian on it, and it went smoothly
> (I already had an experience by netbooting some OpenWrt router ; I also
> netbooted back my amd64 from my powerbook ... so I may be a bit more
> experienced, but with some docs it goes ok)
>
> The files used to netboot lenny and the documentation can be found
> here :
> http://www.debian.org/distrib/netinst#netboot
> I set up dhcp3-server, tftpd-hpa, and can then netboot my PB.
>
> The hardest part was finding the correct way to configure some quirks of
> Apple's way of netbooting. In the DHCP server config, you must specify
> both next-server and server-identifier to the IP of your netboot server.
> Also, setting a filename gets ignored by open-firmware's netbooting
> code. So, the correct command to use when in OF on your PB :
>
> boot enet:0,yaboot
>
> This should be enough to get you running the debian installer.
>
> Don't hesitate to ask if you need some more details.
>
> Regards,
> benjamin
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-REQUEST DeleteThis @lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster DeleteThis @lists.debian.org
>
>


--



--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Giulio Canevari

External


Since: Jul 11, 2007
Posts: 3



(Msg. 6) Posted: Sun Mar 22, 2009 3:20 pm
Post subject: Re: help installing on powerbook6,8 w/ dead cd drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In data 22/03/2009 19:14 Ross Gohlke ha scritto:
> I think I was looking at outdated documentation. This sounds like it
> should work, I will let you know.

Also try to take a look:

http://lists.debian.org/debian-powerpc/2006/05/msg00451.html ( and be
sure to read http://lists.debian.org/debian-powerpc/2006/05/msg00453.html

I think now the ethernet drivers should be included, or at least i hope so!

That's what i did with an imac with cdrom drive broken, and it worked.

If you have any questions post here, even if 3 years are already gone!

Good luck!
--
Giulio Canevari


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[gentoo-user] "keyboard problems dead-acute dead-grave dea.. - Dear list, I use Gentoo linux and Xemacs all recntly updated. The swedish keyboard works OK with every application..

Hard drive - dead or dying? - My computer (Ubuntu Feisty) would not boot correctly a few days ago: it seemed to get into a loop with the following..

Dead brand new SCSI drive? - I'm wondering if I have a dead new harddrive... any help would be appreciated. I have a Dell PowerEdge 1600SC with 2...

Installing a new hard drive - I currently dual boot from one hard drive. I installed Fedora Core 1 a few months ago. This past week I replaced FC1..

installing FC2 on different hard drive - Hi, I'm planning to install FC2 on a separate hard drive(an old 4.1GB drive) from the one I have windows XP..

Installing redhat....no CD Drive? - Ok...I want to attempt to install Redhat from a CD that I bought on a computer that currently has no OS and for some..
       Soft32 Home -> Linux -> Ports PowerPC All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]