Creating a boot disk for an off-USB boot

This little utility enables you to patch a boot disk made by mkbootdisk to boot from your USB disk. Simply call
[jr@reisinger2: utils] mkbootdisk
    .
    .
    .
[jr@reisinger2: utils] sh usbbootdisk
[jr@reisinger2 utils] ./usbbootdisk --root /dev/uda2
>>> found /dev/uda2 mounted on /mnt/usb/disk2
This script is intended to patch a boot disk made with mkbootdisk. It enables
the boot from the USB disk with the driver ide-usb. The root device given as
argument must be mounted, since the kernel from there will be installed as
well as the usb-modules.
This patch will install kernel /mnt/usb/disk2/boot/bzImage-2.2.16-22 on device / dev/uda2
If you do not want to continue, type ^C now
Otherwise the patch will continue
>>> get the original image from floppy disk
>>> installing usbcore.o
>>> installing usb-uhci.o
>>> installing ide-usb.o
>>> creating device entries for uda devices
>>> writing image back
>>> executing lilo
Added linux *
[jr@reisinger2 utils]#
 

Disclaimer

The driver has been developed without support from either Datafab or Ontrack. Use at your own risk. If you have any questions or suggestions, please do not hesitate to contact me

Copyright (c) 2000 Josef Reisinger (josef.reisinger@web.de) This programs are free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Top of page