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

Kernel Panic was: System is too Big; son of make menuconfig



OK, now I've done it!

I followed the instructions below and everything seemed to go without
problems. I installed the new kernel package also without problems (it did
seem to go very fast?) and then made a floppy disk and then rebooted to end
up on a frozen screen ending with this message:

...root fs not mounted
VFS: Cannot open root device "307" or 03:07
Please append a correct "Root=" boot option
Kernel panic: VFS: unable to mount root FS on 03:07

To what do I append the correct "Root="? (I believe this should be
Root=/dev/hda7 (the root partition?), and how? ctrl+alt+del does not start
reboot

Best Wishes!
Mike Olds www.buddhadust.org

-----Original Message-----
From: Torsten Wolny [mailto:torwo@torsten-wolny.de]
Sent: Saturday, October 12, 2002 1:37 AM
To: Michael Olds; Debian-User@Lists. Debian. Org
Subject: Re: System is too Big; son of make menuconfig


Hello,

Am Samstag, 12. Oktober 2002 04:39 schrieb Michael Olds:
> Ok, first time rebuilding the kernel so I'm not too upset it's
> going all wrong...but
> my books tell me what to do when I run make zImage and the system
> is too big: run make bzImage. But they don't tell me what to do
> when that too is too big. And how could it be too big? I use the
> M option as my yes key and I didn't select anything that I didn't
> recognize and I have a pretty stripp't down system. I get the
> message: Boot Sector 512 bytes
> System is 601 bytes after make bzImage
>
> What else can I do? Am I correct in assuming that this does not
> have anything to do with my boot partition size? Which just
> happens to be about 512MB. But I've looked, it's hardly being
> used.
>
It seems you are using the normal way to build the kernel (make
clean, make dep, make bzImage)
Try to use the debian-tools.  A short description:
Install packeages bin86, libc-dev, debian-utils, make, bzip2 and
kernel-package
Then copy the config-file to your kernel-sources and run make
menuconfig. Edit the options in your way.
Then run "make-kpkg clean" in /usr/src/linux and then "make-kpkg
-revision=<SOMETHING> kernel_image". If this works without errors
you can find a new kernel... .deb in /usr/src. Install this with
"dpkg -i kernel... .deb" This should work.

> Also, I took a chance and just exited the terminal after this
> message. Am I correct in assuming nothing on my system was
> changed? I rebooted and nothing seems changed.
>
> Since my current configuration seems to be acceptable in size, is
> there a way of just using it as the basis for making changes? The
> book suggests that this be done on subsequent rebuilds, but
> doesn't say anything about using the current configuration for
> the first rebuild.

In  /boot is file called config-<kernel-version>. This contains the
configuration of the installed kernel. Copy this file to
/usr/src/linux/.config and you can use it base-configuration

> Best Wishes!
> Mike Olds www.buddhadust.org

Cheers,
Torsten



Reply to: