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

Bug#79004: SPARC/Potato] 'Wrong disk' message even though correct disk in drive



 If you're using a 1.4MB floppy drive, then the dbootstrap program wants
to read the
 drivers from the "drv14" driver series.  Unfortunately, the floppy
images available for
download were created as "drv14-sun4cdm".  You can work around this by
downloading
the "floppy_split.c" and "floppy_split.h" from
"http://cvs.debian.org/boot-floppies/utilities";
and then

    make floppy_split

to create an executable.  Now strip the headers off your original floppy
image:

    tail -c+513 driver-1.bin >fooey
    tail -c+513 driver-2.bin >>fooey

... and use your new floppy_split program to create new headers:

    ./floppy_split fooey drv14 1440

You should now have two files named "drv14-1.bin" and "drv14-2.bin".
Transfer
these to floppy and try again.

Note that this is only a workaround.  The real fix is to have the
"dbootstrap" program
accept a platform-specific qualifier (e.g, the "-sun4cdm") in the floppy
series name.
This qualifier would have to come from a command-line argument specified
in a
platform-specific "/etc/inittab".  Or, if the goal is to maintain a
single root floppy for
all platforms, from the platform-specific kernel (e.g, via the "/proc"
interface).


-- Reg




Reply to: