Bug 5401
| Summary: | mkbootdisk-1.2-2 and -3 fail to make bootable disk | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Christopher Johnson <ckjohnson> |
| Component: | mkbootdisk | Assignee: | Matt Wilson <msw> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0 | CC: | ckjohnson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-02-09 06:20:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in mkbootdisk-1.2.2-1 in RH 6.1 Fixed in latest release. |
The script uses devices specified with the following syntax: device=/dev/fd0 (ex: `basename $0` --device /dev/fd1 2.0.31) But copies them as follows: mkdir $MOUNTDIR/dev cp -Pa $device $MOUNTDIR/dev cp -Pa $rootdev $MOUNTDIR/dev Resulting in fd0 and root device such as sda being one level below where they belong. e.g. $MOUNTDIR/dev/dev/fd0 This causes lilo running chrooted there to fail with a 'file or directory not found' error. Since this problem exists in base and updated RH 6.0 there must be a lot of folks with floppies that won't boot when they need them to. The script can be fixed by replacing the above two copy statements with the following: cp -Pa $device $MOUNTDIR cp -Pa $rootdev $MOUNTDIR