Yesterday I wrote:
Does anyone know of a SuSE-capable mkbootdisk? This RedHat utility sounds like a really, really big help for those of us who for one reason or another must make a boot disk.
How embarassing... The RedHat utility is just a nice shell script, easy enough to hack as necessary for the SuSE environment. FWIW. Jim
On Mon, 7 May 2001, Jim Osborn wrote: jo> Yesterday I wrote: jo> >Does anyone know of a SuSE-capable mkbootdisk? This RedHat utility jo> >sounds like a really, really big help for those of us who for one jo> >reason or another must make a boot disk. jo> jo> How embarassing... The RedHat utility is just a nice shell script, jo> easy enough to hack as necessary for the SuSE environment. FWIW. jo> I use the following within my .alias file to do similar function mkbootdisk { fdformat -n /dev/fd0h1440 if [ -f /boot/vmlinuz ]; then echo bootdisk: Kernel found, copying to bootdisk... cp /boot/vmlinuz /dev/fd0 else echo bootdisk: Enter location of kernel read kpath if [ "$kpath" ]; then if [ -f $kpath ]; then echo bootdisk: Kernel found, copying to bootdisk... cp $kpath /dev/fd0/vmlinuz else echo bootdisk: Unable to locate $kpath... fi else echo bootdisk: Unable to locate kernel... fi fi } I also tend to overkill things when I do them. :) jo> Jim jo> jo> -- S.Toms - smotrs@mindspring.com - www.mindspring.com/~smotrs SuSE Linux v7.0+ - Kernel 2.2.18 A "No" uttered from deepest conviction is better and greater than a "Yes" merely uttered to please, or what is worse, to avoid trouble. -- Mahatma Ghandi
participants (2)
-
Jim Osborn
-
S.Toms