| View previous topic :: View next topic |
| Author |
Message |
pablito n00b


Joined: 17 Aug 2002 Posts: 9 Location: San Antonio, Texas
|
Posted: Sat Aug 17, 2002 7:18 pm Post subject: access newly compiled vmlinux after installation |
|
|
Hi all,
Just finished installing Gentoo Linux on my Old World PPC machine, PowerComputing - PowerCenter 150.
Only prob is that BootX can only access the original vmlinux installed in my HFS partition in the Linux Kernel folder, under the System Folder of the Macintosh HD.
How do I copy the new vmlinux to this folder in the HFS partition so that I can actually boot into the Gentoo Linux system?
The new vmlinux is in /boot and /usr/src/linux directories of the ext3 partition of the scsi drive.
I did what the ppc-install guide said but again have no idea how to get BootX to use this new vmlinux image. Where did I go wrong?
Any help is greatly appreciated.
Thanks for time and attention.
-phr  |
|
| Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Aug 17, 2002 7:37 pm Post subject: |
|
|
If you have HFS support in your running kernel, you should be able to mount your HFS partition and copy it over that way.
If that doesn't work, you can try copying it to a floppy.
If that doesn't work, you can try copying it over the network to some other machine, rebooting into MacOS and bringing it back.
If that's not possible, you could try emailing it to yourself and retrieving it in MacOS.
I'm sure somebody else will come along with a few more. _________________ For every higher wall, there is a taller ladder |
|
| Back to top |
|
 |
pablito n00b


Joined: 17 Aug 2002 Posts: 9 Location: San Antonio, Texas
|
Posted: Sat Aug 17, 2002 7:58 pm Post subject: |
|
|
rac, these are all excellent ideas, but I'm still in the Install stage3 / console only since BootX is only using the initial vmlinux image.
The PPC Install Guide does note:
In addition, we provide built in kernel drivers for most Apple hardware, as well as tools to allow you to configure your network and establish outbound ssh connections and download files.
I'm not familiar with these built in drivers and tools; how do I utilize the HFS support from the install state? What commands will inform me if HFS access is available?
Am I able to email at the current state my Gentoo Linux is in?
Either way I'm gonna try to mount a floppy and copy the vmlinux image to it so that I can get in the Linux Kernel folder of the Mac partition.
-phr |
|
| Back to top |
|
 |
pablito n00b


Joined: 17 Aug 2002 Posts: 9 Location: San Antonio, Texas
|
Posted: Sat Aug 17, 2002 8:08 pm Post subject: |
|
|
Hey roc,
I was fiddling with the BootX app and under Options menu, it still had Used specied RAM disk option enabled.
Once I disabled it, saved setting and rebooted, the Root device window was finally cleared.
From there I was able to enter the hard drive and partition number Gentoo Linux has been installed onto.
This would be a nice note to implement for us old world noobs on the next Install doc update.
Thanks for your help and I'm sure I'll post some more questions.
-phr |
|
| Back to top |
|
 |
bahkyp Tux's lil' helper


Joined: 19 Jul 2002 Posts: 86 Location: Sydney Australia
|
Posted: Sun Aug 18, 2002 3:03 am Post subject: |
|
|
Maybe give a listing at codlisting 20 in the PPC FAQ about copying the kernel across in bootX.
| Code: |
# make menuconfig
# make dep && make clean vmlinux modules modules_install
# mkdir /mnt/bootx
# mount -t hfs <boot partition> /mnt/bootx
# cp /usr/src/linux/vmlinux /mnt/bootx/System\ Folder/Linux\ Kernels/gentoo-linux |
I think would do it, as the install kernel has HFS in it. _________________ I'm so small, I can fit under the door.
I was here yesterday, this is a recording. |
|
| Back to top |
|
 |
Blademan Developer

Joined: 05 Oct 2002 Posts: 116
|
Posted: Mon Nov 04, 2002 10:52 pm Post subject: |
|
|
Is the above code listing correct? Or is pablito's better?
Asking because I will run into that in a day or so, when my OldWorld S900 finishes emerge system.
Thanks,
Joe |
|
| Back to top |
|
 |
plate Bodhisattva


Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Mon Nov 04, 2002 11:50 pm Post subject: |
|
|
| Don't know if it's safe, but assuming the Mac OS partition is HFS, bahkyp's idea will certainly work. But you may want to abstain from mounting your Mac's System Folder directly, especially if it's on an HFS+ partition. Having a small HFS partition you can mount from Linux and read from Mac OS will permit you to copy your vmlinux to that partition once you're done compiling, and next time you boot into Mac OS you can copy it from the HFS partition to the System Folder's Linux Kernels. |
|
| Back to top |
|
 |
Blademan Developer

Joined: 05 Oct 2002 Posts: 116
|
Posted: Tue Nov 05, 2002 4:25 pm Post subject: |
|
|
Also regarding Pablito's comments about BootX, I agree. I spent a few minutes rebooting a few times wondering why I kept starting with the emergency CD-ROM kernel. I would suggest something along the following to be included in the docs, after the YaBoot section:
BootX users enter the BootX control panel, select Options, and uncheck the "Used specified RAM disk." When you return to the BootX main screen, you will now find an option to specify you root disk and partition. Specify the partition to use your new Gentoo linux installation.
Joe |
|
| Back to top |
|
 |
rajiv Developer


Joined: 04 Aug 2002 Posts: 18 Location: Boston, MA, USA
|
|
| Back to top |
|
 |
|