[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Files for BootX



On Sun, Jan 15, 2006 at 04:09:51PM -0500, Chris Fisichella wrote:
> 
> On Saturday, January 14, 2006, at 06:13 PM, Hans Ekbrand wrote:
> 
> >
> >That sounds nice. I have sent a patch for the problem you (and others)
> >have met, but I welcome any enhancements to that patch. The bug I
> >filed is #344477, available here:
> >
> >http://bugs.debian.org/344477
> 
> Oh, good idea! LIke I said, if I can get this thing to boot up, I would 
> be glad to detail my experiences. I was thinking of putting them on 
> LinuxQuestions.org also.
> >
> >Even if you have already installed Debian, you need to start the
> >debian-installer again. You will not need to reinstall, but there are
> >files (a new kernel and a new initrd) on the partition that you
> >installed Debian on that you need to copy to the MacOS partition so
> >those files can be loaded by BootX.
> >
> >So, restart the debian-installer, and run it until it has identified
> >your hardware (detected the harddisk). At that point you should get a
> >shell prompt. (Either from the debian-installer menu, or by pressing
> >Alt-F2). Now you must mount the partition where debian was installed, 
> >something like this:
> >
> ># mount /dev/hda12 /mnt
> 
> # mkdir /mnt
> # mount /dev/ide/host0/bus0/target0/lun0/part12 /mnt
> >
> >Then "go into" that partition by the following:
> >
> ># chroot /mnt
> 
> # chroot /mnt
> 
> >
> >then mount the MacOS partition, below I asume it is at /dev/hda11.
> >
> ># mount /dev/hda11 /mnt
> 
> # mount /dev/hda10 /mnt
> mount /dev/hda10 has wrong device number or fs type hfs not supported.
> 
> Hans, thanks for the help! I _NEVER_ would thought to do that. But, I 
> think I see where you are going with this. Those two files:
> 
> initrd.img-2.6.8-powerpc
> vmlinux-2.6.8-powerpc
> 
> need to be used by BootX to boot my machine. I thought Debian supported 
> hfs volumes. Oh well, I guess not! :) 

Yes it does! there is a kernel-module for hfs (and even for hfs+). Try

# ls -lR /lib/modules/2.6.8*-powerpc/kernel/fs/hfs*

It might not be loaded automatically in the chroot, though. Try

# modprobe hfs

and then 

# mount /dev/hda10 /mnt

> Moving those files off of that filesystem is a bit tricky at this
> point.

Copying them from the chroot is a known working method (e.g. see
http://lists.debian.org/debian-powerpc/2005/12/msg00293.html)

Good Luck (you're really close now :)

-- 
Hans Ekbrand (http://sociologi.cjb.net) <hans@sociologi.cjb.net>
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.

Attachment: signature.asc
Description: Digital signature


Reply to: