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

Re: Building kernel for another computer



On Sun, Mar 21, 2004 at 06:55:17PM +0000, Gary wrote:
> the result onto a floppy. I then try and boot the laptop from the floppy (I
> want to be sure the kernel works okay before I replace the one on the hd).
> Everything goes well until it reports a kernel panic because it is "unable
> to mount root fs". Obviously I've missed a step somewhere. Would someone
> please give me a pointer to where? None of my books have anything in them
> regarding building kernels on one computer to run on another.
> 

you should use rdev to tell the kernel on the floppy the partition where
lies your / filesystem or add root=/dev/hd?? to the new kernel command
line.

Where /dev/hd?? is your / filesystem (/dev/hda1 or whatever).

Philippe



Reply to: