View previous topic :: View next topic |
Author |
Message |
5th_Horseman n00b
Joined: 06 Oct 2004 Posts: 48
|
Posted: Fri Jan 21, 2005 4:17 pm Post subject: Rebuild the kernel problem |
|
|
I am a noob at building kernels and it is just asking weird to me.
I have created a new ultra2 off of the livecd 2004.3.
I got to the step to build the kernel and did everything I was supposed to except make reiserfs part of the kernel (I built it as a module).
I get the message on reboot that VFS: unable to mount root filesystem.
now I went back and booted the livecd and remounted everything and did a change root to get back in to the build.
I go back in to /usr/src/linux do a make menuconfig, load my alternate file that I copied to /boot and change the reiserfs to an Astric.
I save and copy by config file and issue the command that I built the kernel with
make dep && make clean vmlinux image modules modules_install
but it does not produce a vmlinux file in the /usr/src/linux directory.
What am I doing wrong?
Oh btw this is sparc-sources kernel and it is 2.4.28-sparc-r6 |
|
Back to top |
|
|
Gecklord Apprentice
Joined: 17 Mar 2004 Posts: 174
|
Posted: Fri Jan 21, 2005 4:23 pm Post subject: |
|
|
try it without "image"
Code: | make dep && make clean && make vmlinux && make modules modules_install |
btw - do you mean Ronnie aka the Fith Horseman? |
|
Back to top |
|
|
5th_Horseman n00b
Joined: 06 Oct 2004 Posts: 48
|
Posted: Fri Jan 21, 2005 5:46 pm Post subject: |
|
|
That Got it!
Why did it work correctly on the first build but not the retries?
BTW who is ronnie? |
|
Back to top |
|
|
Gecklord Apprentice
Joined: 17 Mar 2004 Posts: 174
|
Posted: Fri Jan 21, 2005 9:12 pm Post subject: |
|
|
Are you sure that you've used "make vmlinux image" the first time?
Ronnie is a character of Terry Pratchett's "Thief of Time" - he is the fith horseman |
|
Back to top |
|
|
5th_Horseman n00b
Joined: 06 Oct 2004 Posts: 48
|
Posted: Fri Jan 21, 2005 9:46 pm Post subject: |
|
|
nope just thought it would be kewl to be the 5th horsman of the apocolypse
I just up arrowed and edited my cmd line so yes I did.
(Documented in the install docs and worked the first time)
make dep && make clean vmlinux image modules modules_install
I changed it to your suggestion of
make dep && make clean && make vmlinux && make modules && make modules_install
and it worked. |
|
Back to top |
|
|
|