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

Re: Ramdisk



On Fri, 22 Nov 1996, Nimrod Zimerman wrote:
> 
> I've been trying to setup a ramdisk on a floppy (as a rescue disk). All of
> my tries so far have misreably failed.

One thing that might be causing your problems is that the boot-root and 
rescue images all need to be from the same distribution.  i.e. no debian 
boot root and redhat rescue image combo. ze lo tov

Anyways, here are instructions for how to make a rescue diskette using 
the redhat 3.0.3 boot root and rescue images from the infomagic april 1996 
6 cd set.  

These are instructions that were written for another occasion, but you 
should be able to figure out what you need to do differently for your 
distribution and resources, for example, the boot image might be 
different for you.  I trust you to figure this out for yourself.

Once upon a time, in a land far, far away, there was a horrible operating 
system that spread across the land like a plague.  But despite the evil 
that had taken hold in this land, there was a wonderful little program that 
fought for the good in all operating systems.  It was called RaWrite...

 ------
Ok.... booting the rescue disk... first you need the three
diskette set... you need to use rawrite to do this which trips up on
anything.  It could be possible that a disk that you write you appears to
have a bad sector just because something unrelated glitches rawrite.  As a
result, you may want to temporarily kill as much from your
config.sys/autoexec.bat as possible.  Something as small as the
MS-DOS emm386.sys or the mouse driver might be enough to set rawrite
off.  But anyways... put in InfoMagic CD #2...

run:   d:\dosutils\rawrite 

the first image is:  d:\images\1213\boot0000.img

and of course the target drive is:   a:

once that is done, run rawrite again... only this time...

the second image is:  d:\images\ramdisk1.img

once that is done, run rawrite again... but now...

the third and last image is:  d:\images\rescue.img

Now you should be ready to put the first disk back in...

reboot with the first disk in the drive...

you should get a RedHat 3.0.3 Install diskette screen and a 
LILO prompt... type:   linux    and then enter...

you will be prompted to put in your root/ramdisk...

put in the second disk (ramdisk1.img) and press enter....

eventually you will be prompted to put in the next ramdisk... 
now put in the third disk (rescue.img) and eventually if all goes
well you should be at a root prompt...

  e2fsck /dev/hda3

should work!  See what it does!  Doing just "fsck" won't work... you
need to say "e2fsck".

If at some point during the boot it fails then try re-rawriting the
diskette...

anotherwords, if the kernel fails to boot correctly then try re-rawriting
your boot diskette... if it complains about a sector on the ramdisk1 then
re-rawrite it... if it complains about a sector on the rescue disk then
re-rawrite it.  If it continues to complain about the same diskette then 
try a different diskette.  If it continues to complain then see if there
is anything else you can remove from the config.sys/autoexec.bat
temporarily.  If needed, copy the three image files and the rawrite.exe
to your hard drive and remove the CDROM drivers from bootup and try
rawriting them again.

Anyways... good luck.


        Say union yes!!          Reply to: vnavrat@luc.edu
      ___        \  .    ,.    
  _.-|   |          |\__/,|   (`\  | +++++++++++++++++++++++++++++++ 
 {   |   |          |o o  |__ _) ) |  I don't have the time everyday
  "-.|___|        _.( T   )  `  /  |  to put on makeup.
   .--'-`-.     _((_ `^--' /_<  \  |  I need that time to clean my rifle.
_.+|______|__.-||__)`-'(((/  (((/  |  --Henriette Mantel


References: