Glen Snyder wrote:
>
> >For the future install the package mkrboot and create a rescue (set of)
> floppie(s).
>
> Thanks for the tips, Mircea.
>
> I will pick up a new hard drive today and proceed to reinstall Windows on it. In
>the meantime, I ran scandisk again (the drive was riddled with bad clusters) and was
>able to pull up the boot menu again, and to restart linux on hdb (my good drive). I
>installed mkrboot and would like to create a set of rescue floppies. Unfortunately,
>the man-page
> is a bit sketchy and the doc tells me even less. I couldn't find any examples on the
>web. Any suggestions on how to go about this would be appreciated.
>
> Thanks,
> Glen
>
Ok
What I used to create a simple boot floppy that will boot the system on
the HDD was .
apt-get install mkrboot syslinux
mkdir /flop
cp /boot/root.bin /flop
cd /flop
insert floppydisk
mkrboot syslinux /boot/vmlinuz
#note,I recompiled my kernel,default is vmlinuz-2.2.16.storm
Anyway recompiling the kernel is highly recommended since any
default kerenl have a bunch of stuff you don't need and I always
compile the support for my hardware in the kernel and not as module
and compile what I don't need a modules.
Now at restart at the boot prompt you type(in your case)
linux root=/dev/hdb1
this will boot your system from floppy
The file root.bin from /boot is not a root image ,so you can't boot a
rescue system using it(you can probably use a blank file named root.bin
because mkrboot needs that file) but this is a quick (and lazy)way to
get a boot floppy for your system .
For a proper root image you can make yourself one following the howto
at http://www.linuxdoc.org but it's a lengthy process-you do learn a
bunch of things tough .
Note1.You get the same result by using a premade rescue floppy but if
you recompiled or changed the kernel then it won't play too well with
your install .
Note2.Using syslinux has the advantage that you get directly the boot
prompt and you can use something like
linux single root=/dev/hdb1
to boot in single user mode (no X) from floppy.
Ofcourse there are other ways of making a boot floppy but you can be
creative and seaching for better ways does have the advantage of
learning in the process.:-)
--
The best way to escape from a problem is to solve it.
Alan Saporta
My waste of cyberspace=
http://deepblue.dyndns.org :-)
_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list