Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
access newly compiled vmlinux after installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
pablito
n00b
n00b


Joined: 17 Aug 2002
Posts: 9
Location: San Antonio, Texas

PostPosted: Sat Aug 17, 2002 7:18 pm    Post subject: access newly compiled vmlinux after installation Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Aug 17, 2002 7:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
pablito
n00b
n00b


Joined: 17 Aug 2002
Posts: 9
Location: San Antonio, Texas

PostPosted: Sat Aug 17, 2002 7:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
pablito
n00b
n00b


Joined: 17 Aug 2002
Posts: 9
Location: San Antonio, Texas

PostPosted: Sat Aug 17, 2002 8:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
bahkyp
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2002
Posts: 86
Location: Sydney Australia

PostPosted: Sun Aug 18, 2002 3:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Blademan
Developer
Developer


Joined: 05 Oct 2002
Posts: 116

PostPosted: Mon Nov 04, 2002 10:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Mon Nov 04, 2002 11:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Blademan
Developer
Developer


Joined: 05 Oct 2002
Posts: 116

PostPosted: Tue Nov 05, 2002 4:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
rajiv
Developer
Developer


Joined: 04 Aug 2002
Posts: 18
Location: Boston, MA, USA

PostPosted: Fri Nov 08, 2002 8:01 pm    Post subject: Reply with quote

as per http://bugs.gentoo.org/show_bug.cgi?id=10353 and this thread i added details ppc install doc for oldworld machines (copying the kernel and bootx setup).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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