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

Re: compiling kernel



"JH" == Josh Holland <jholland3@uswest.net>

   >> Even better, you should copy your new kernel to your kernels
   >> folder in the System Folder, giving it a different name

   JH> How do I copy the new kernel from my Linux partition to Mac
   JH> OS?

I have my MacOS disks mounted automatically at startup, with an
entry in /etc/fstab that looks like

/dev/sda4       /mnt/diziet     hfs      exec,dev,suid,rw 1 1

You'll need to create a directory in /mnt as a mount point
(permissions don't matter, as it will be overwritten when the disk
is mounted) and figure out which disk and partition has your MacOS
System Folder.  If SCSI, /dev/sda is the most likely candidate, if
IDE, the device will be /dev/hda.  MacOS puts a bunch of weird
partitions at the front of the disk, with 4 being the most likely
first candidate (you can also check this for sure with the tool
you used to partition your disk(s)).

You can also mount the disk by hand when you need it.  As root,
type `mount -t hfs /dev/<disk-partition> /mnt/<mount-point>'.

Another alternative would be to copy the kernel to some other
location that you can get to from both MacOS and Linux.  You could
dump it on a Zip disk, or FTP it to another machine, for example.


   >> You can (and should) specify a name using the EXTRAVERSION
   >> field in the top-level Makefile in your kernel source tree.
   >> Make sure you don't have any spaces following the word (just
   >> a carriage return).

   JH> You mean the name you use at the end of your kernel name?

Yes.


   JH> And how do you make a copy of the old kernel config (which
   JH> file is it)?

The kernel configuration file is called ``.config'', and can be
found in /usr/src/linux (or wherever your kernel source tree is).
Be sure to copy it *before* typing `make mrproper' again, as
mrproper wipes out the configuration file.  Very annoying if
you've made a lot of changes.


Just an aside: If you're planning on compiling the latest Alan Cox
kernel, there's a new configuration option, CONFIG_MACE_AAUI_PORT.
If you have a machine like mine (a PowerCenter 132) that has both
an AAUI port and an RJ45 jack, you might be tempted to say Y to
this option.  Don't -- it disables networking.  Apparently it's
only meant for some strange Apple machines that can't figure out
which port to use on their own.

   CMC


+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
 Behind the counter a boy with a shaven head stared vacantly into space, 
 a dozen spikes of microsoft protruding from the socket behind his ear.
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
   C.M. Connelly               c@eskimo.com                   SHC, DS
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ 



Reply to: