On Wed, Jan 03, 2001 at 07:58:32AM -0900, Ethan Benson wrote: > On Wed, Jan 03, 2001 at 05:53:09PM +0200, starlett wrote: > > Is it possible to use HFS Boot Partition with Debian and load kernel from > > that partition, as LinuxPPC, SuSE and YDL do? Does it reqires only > > changes in yaboot.conf? > > image=vmlinux-2.2.18 > root=/dev/hda3 > read-only > partition=2
another thing, if your concerned about wanting to simply boot a kernel
you have on your macos partition (why anyone would do that is beyond
me, downloading files from the internet is perfectly possible under
GNU/Linux) you can setup a yaboot entry for it, for example lets say
your partitioning is as follows:
/dev/hda2 Apple_Bootstrap 800K
/dev/hda3 Apple_UNIX_SVR2 root filesystem
/dev/hda5 Apple_HFS MacOS
you can have an /etc/yaboot.conf like so:
## Example yaboot.conf for ybin and yaboot >= 0.6
## see man yaboot.conf for more details.
## Change to your bootstrap partition ie: /dev/hda2
boot=/dev/hda2
device=hd:
delay=10
timeout=20
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
## Comment out if you have a newworld compatible nvsetenv (ybin can
## likely detect the incompatible version) when commented out ybin
## will update the boot-device variable in OpenFirmware to the
## bootstrap partition.
#nonvram
image=/vmlinux
label=Linux
root=/dev/hda3
read-only
partition=3
image=/vmlinux
label=macoskenrel
root=/dev/hda3
read-only
partition=5
# ^^^^^^
that is your macos partition, so when you get your yaboot boot: prompt
you enter `macoskernel' and yaboot will boot the kernel `vmlinux' at
the root level of your macos partition. this should also work to keep
kenrels in a `boot' directory at the root level of the macos
partition:
image=/boot/vmlinux
label=macoskenrel
root=/dev/hda3
read-only
partition=5
yaboot uses OpenFirmware's filesystem functions for HFS and HFS+
filesystems, so this should work even if your macos partition is HFS+.
--
Ethan Benson
http://www.alaska.net/~erbenson/
pgpUToR7UMJ7s.pgp
Description: PGP signature

