Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 4486 - mkbootdisk in E-Commerce edition broken
Summary: mkbootdisk in E-Commerce edition broken
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mkbootdisk
Version: 6.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-08-12 00:26 UTC by Martin C. Messer
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-08-12 20:04:04 UTC

Attachments (Terms of Use)

Description Martin C. Messer 1999-08-12 00:26:58 UTC
mkbootdisk-1.2-3 errors with 'open /dev/fd0: No such file or

Though the format, kernel, initrd, and lilo steps appear to
complete using verbose mode, the diskette that is created is
not bootable. This behavior occurs regardless of the device
parameter passed (fd0, fd0H1440).

Whatever changed between 1.2-2 and 1.2-3 is not good. I
assume new installs of the E-Commerce edition will not
display any errors, but will not produce a usable boot
diskette either.

Comment 1 Stephen John Smoogen 1999-08-12 19:58:59 UTC
Here is the fix

[smooge@torgo smooge]$ diff -u /sbin/mkbootdisk ./mkbootdisk.fixed
--- /sbin/mkbootdisk    Tue May 25 17:06:44 1999
+++ ./mkbootdisk.fixed  Thu Aug 12 15:55:03 1999
@@ -144,8 +144,8 @@
 mkdir $MOUNTDIR/etc
 mkdir $MOUNTDIR/dev
 mkdir $MOUNTDIR/boot
-cp -Pa $device $MOUNTDIR/dev
-cp -Pa $rootdev $MOUNTDIR/dev
+cp -Pa $device $MOUNTDIR
+cp -Pa $rootdev $MOUNTDIR
 cp -a /boot/boot.b $MOUNTDIR/boot/boot.b

 cat > $MOUNTDIR/etc/lilo.conf <<EOF

Comment 2 Bill Nottingham 1999-08-12 20:04:59 UTC
fixed in mkbootdisk-1.2.1-1.

Note You need to log in before you can comment on or make changes to this bug.