[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



Thanks Mike for your advice.
root fd0         .. This entry added in /boot/grub/menu.lst. GRUB
complains about 
                   it"Unrecognised
                     device string"; we also tried /dev/fd0...noluck.
Although in normal boot 
                     copying to /dev/fd0 works fine. So I am sure that
"fd0" is the device 
                      name for my floppy.

So what I need for above statatemnt in order to boot from floppy.

Balbir Pabla


-----Original Message-----
From: Mike McCarty [mailto:Mike.McCarty@sbcglobal.net] 
Sent: Tuesday, April 04, 2006 12:06 PM
To: debian-user@lists.debian.org
Subject: 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-f
loppy.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!


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: