Re: Install potato & woody from floppy disk
On Sat, Oct 27, 2001 at 12:27:25PM -0700, Osamu Aoki wrote:
> On Sat, Oct 27, 2001 at 01:37:39PM +0800, Liu Tao wrote:
> > Kernel panic: VFS: can't mount root fs on 00:20
> You must have specified "root=/dev/fd1" at boot prompt. Kernel is
> looking for FD at B: side (/dev/fd1).
> If you have single floppy system, "root=/dev/fd0"
Sorry I was BS. I just had the same problem when I was playing with a
rescue disk. If you have replaced the kernel on a rescue disk like me,
you may encounter things like this. 02 is device# for floppy. Some
driver which has something to do with functioning of floppy is missing
in the kernel, I guess.
Here is what I did --- recompiling kernel.
Suppose you have official root disk in /dev/fd0(A:) which was made with
"dd if=rescue.bin of=/dev/fd0" ($ user, # root prompt)
# apt-get install kernel-source-2.2.19
$ cd /usr/src
$ tar xvjf kernel-source-2.2.19.tar.bz2
$ cd kernel-source-2.2.19/
# mount /dev/fd0 /floppy
$ cp /floppy/config .config # good starting point
$ make menuconfig # just enable what you need.
$ make-kpkg clean
$ time fakeroot make-kpkg --append_to_version -boot --revision=rev.01 \
kernel_image # you should be able to do make bzimage instead
$ cd .. mc # Use mc to peek into .deb file
... copy kernel from /boot to linux on floppy
# umount /floppy
This solved my problem. (I do not have where I screwed up originally.
From /floppy/readme.txt
Configure the kernel with the following facilities linked in: initrd,
ramdisk, loop, msdos, fat, elf, ext2fs, procfs.
Make your kernel with "make bzImage".
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~
+ Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D +
+ My debian quick-reference, http://www.aokiconsulting.com/quick/ +
Reply to: