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

Re: Making Emergency bootable CD on Debian 3.1 2.4.27 kernel



Pabla,Balbir [Ontario] wrote:
1. On Dell PowereEdge 2800 server (no floppy) on this system, I would
like to make emergency bootable CD so that I can bring up the machine
using OLD kernel in case there is problem in booting using new compiled
kernel( I have to recompile the kernel using HIGHMEM64G=y in order
toaccess 8GB memory on system). I want to prepare myself, in case there
is a problem with new OS. I am using GRUB as boot loader.
uname -a
Linux arqiozone 2.4.27-2-686-smp #1 SMP Wed Aug 17 10:05:21 UTC 2005
i686 GNU/Linux

I would make a boot floppy with only GRUB, the stage
files, and configuration file. Boot up using the floppy, and make
sure you can boot your current kernel. Then add the new kernel,
using whatever name you like, and it's initrd if that is different
to /boot, and edit the configuration file on the boot floppy. When
that works, make the same changes to the configuration file on the
hard drive.

2. Similary on my laptop (no CD drive on it), I would like to make
emergency floppy disk. The laptop is running Debian 3.1 with 2.4.27
kernel. A. I tried mkboot, unfortunately it works only for LILO. Is there any
similar tool for GRUB in Debian World?.

Is the following logic OK to make emergency bootable floppy OR there is
anyother better way?
1.Edit my current /boot/menu.lst file to include followingb (put before
my first "title statement" i.e section pertaining to booting from hard
disk) :
+++++++++++++++++++++++++
title  booting Debian from floppy disk
root fdo

Umm, fd0?

chainloader +1

I don't know why this is necessary.

++++++++++++++++++++++
2. Put floppy in drive and type following :
 dd if=/boot/vmlinuz-2.4.27-2-686 of=/dev/fd0 bs=8192

You need to read this http://www.gnu.org/software/grub/manual/html_node/Creating-a-GRUB-boot-floppy.html

3. Turn off system. Put the floppy in and turn the power on. It should
be able to boot from floppy... I hope.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!



Reply to: