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

FW: Making Emergency bootable CD on Debian 3.1 2.4.27 kernel



Thanks Mike :
May be I did not make it clear....
I want to prepare emergency boot floppy/CD so that on booting from this
media, I can get at least  root system prompt.

1. I looked at the specified site. I made floppy doing :
    cd /lib/grub/i386-pc  ( I also saw stage1 and stage2 files in
/boot/grub.. Are these same 
                              in both directories)
    dd if=stage1 of=/dev/fd0 bs=512 count=1
    dd if=stage2 of=/dev/fd0 bs=512 seek=1

   Now we changed the BIOs to boot from floppy. It took us only upto
GRUB> prompt. Is the above procedure is supposed to take us into GRUB>
prompt only . So obviously I am missing some steps to bring the system
to root prompt. What should I do further?

2. The second thing I tried :
  a. edited my /boot/grub/menu.lst file to include following :
      title   booting from floppy
      root    fd0
  b. copy the kernel image to brand new floppy :
     dd if=/boot/vmlinuz-2.4.27-2-386 of=/dev/fd0 bs=8192

  c.Now booted from this floppy
    std output says.... Loading.... And the system hangs at 
    " VFS: cannot open root device "" or 03:01
      Please append a correct "root=" boot option
     Kernel panic: VFS: unable to mount root fs on 03:01

Any help is appreciated.

Balbir 



Reply to: