* Quick Kernel Question...
@ 2000-07-08 4:00 root
2000-07-08 4:00 ` Quick Kernel Question...(answer) Mathew Lee
2000-07-09 4:00 ` Quick Kernel Question Tony Hammitt
0 siblings, 2 replies; 3+ messages in thread
From: root @ 2000-07-08 4:00 UTC (permalink / raw)
I've just installed Mandrake 7.1 on my first Alpha machine. All is
well, and although I royally screwed up by not making that DOS partition
for milo boot, I'm sure I can fix that after the fact (make that
partition first!).
My question involves compiling a new kernel (to take advantage of my
LX164 board). I've done the following:
make xconfig
make dep
make (make bzImage just doesn't do anything)
make modules
make modules_install
make install (saw this somewhere, doesn't do anything)
make boot (saw this in a Redhat article, seems to do a lot)
But where oh where is this new kernel located? I can't put it into
/boot until I can find it. Any help or suggestions would be greatly
appreciated. I'm sure this is something simple, but alas I'm from the
x86 world....
Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Quick Kernel Question...(answer)
2000-07-08 4:00 Quick Kernel Question root
@ 2000-07-08 4:00 ` Mathew Lee
2000-07-09 4:00 ` Quick Kernel Question Tony Hammitt
1 sibling, 0 replies; 3+ messages in thread
From: Mathew Lee @ 2000-07-08 4:00 UTC (permalink / raw)
<snip>
> But where oh where is this new kernel located? I can't put it into
> /boot until I can find it. Any help or suggestions would be greatly
> appreciated. I'm sure this is something simple, but alas I'm from the
> x86 world....
<snip>
make sure you are doing
make (whatever config you like ex. menuconfig, config, etc..)
make dep
make clean <-- removes your old stuff....etc
make
make boot
make modules
make modules_install
you will find the newly built kernel in /usr/src/linux/arch/alpha/boot
you should copy vmlinuz.gz to /boot
also copy the System.map from the /usr/src/linux directory to the /boot
directory
after completing these steps you will need to reorganize your /boot
directory (get rid of stuff you don't want anymore).
you will also need to edit your /boot/etc/aboot.conf
for more information on the details of the contents of aboot.conf, look at a
milo howto (linuxdoc.org or alphalinux.org)
commands:
cp /usr/src/linux/arch/alpha/boot/vmlinux.gz /boot
cp /usr/src/linux/System.map /boot
vi /boot/etc/aboot.conf
mine looks like the following
#aboot.conf...please note that all files are relative to the path /boot/
0:1/vmlinux.gz root=/dev/sda2
0:2/vmlinux.old.gz root=/dev/sda2
doing this allows me to chose my old kernel in case there is a problem with
the newly built one... (boot -fi 2 or boot -fi 1) <--if using SRM, this
assumes that the remaining variables are set....(default boot device and
flags)
good luck
Mathew Lee
Undergraduate Research Assistant
Mechanical and Aerospage Engineering
Oklahoma State University
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Quick Kernel Question...
2000-07-08 4:00 Quick Kernel Question root
2000-07-08 4:00 ` Quick Kernel Question...(answer) Mathew Lee
@ 2000-07-09 4:00 ` Tony Hammitt
1 sibling, 0 replies; 3+ messages in thread
From: Tony Hammitt @ 2000-07-09 4:00 UTC (permalink / raw)
I'd try compilation in the following order:
make config (or make oldconfig)
make dep
make boot
make modules
make modules_install
cp System.map /boot/System.map-kernel.version.number
cp arch/alpha/boot/vmlinux.gz /boot/vmlinuz-kernel.version.number
cd /boot
ln -sf /boot/System.map-kernel.version.number System.map
ln -sf /boot/vmlinuz-kernel.version.number vmlinuz
Make xconfig is usually broken (maybe CML2 from ESR will help)
so use make config instead. Make oldconfig on an old .config
file is usually the way I'd recommend it. Make bzImage doesn't
mean anything at all on an alpha, it's just for x86's.
So, you still booting MILO off the floppy? No big deal, just
make a back up floppy and try not to boot the machine all that
often. You don't absolutely need the DOS partition.
Hope this helps,
Tony Hammitt
root wrote:
>
> I've just installed Mandrake 7.1 on my first Alpha machine. All is
> well, and although I royally screwed up by not making that DOS partition
> for milo boot, I'm sure I can fix that after the fact (make that
> partition first!).
>
> My question involves compiling a new kernel (to take advantage of my
> LX164 board). I've done the following:
> make xconfig
> make dep
> make (make bzImage just doesn't do anything)
> make modules
> make modules_install
> make install (saw this somewhere, doesn't do anything)
> make boot (saw this in a Redhat article, seems to do a lot)
>
> But where oh where is this new kernel located? I can't put it into
> /boot until I can find it. Any help or suggestions would be greatly
> appreciated. I'm sure this is something simple, but alas I'm from the
> x86 world....
>
> Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-07-09 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-08 4:00 Quick Kernel Question root
2000-07-08 4:00 ` Quick Kernel Question...(answer) Mathew Lee
2000-07-09 4:00 ` Quick Kernel Question Tony Hammitt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox