Bug 20610
Summary: | mkbootdisk does not work on default RH7 clean install. | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Christofer C. Bell <cbell> |
Component: | mkbootdisk | Assignee: | Matt Wilson <msw> |
Status: | CLOSED NOTABUG | QA Contact: | Dale Lovelace <dale> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | cbell |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
URL: | http://www.jayahwks.net/~cbell/ | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-07-16 14:56:15 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: |
Description
Christofer C. Bell
2000-11-10 02:23:41 UTC
Sorry, but I couldn't reproduce your problem: (I used your fstab from above on a (nearly) fresh 7.0) [root@istanbul hdeller]# cat /etc/fstab LABEL=/ / ext2 defaults 1 1 LABEL=/boot /boot ext2 defaults 1 2 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 none /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/hdb6 swap swap defaults 0 0 /dev/hda1 /home/cbell/win98 vfat uid=500,gid=500 0 0 [root@istanbul hdeller]# rpm -qa | grep mkbootdisk mkbootdisk-1.2.8-2 [root@istanbul hdeller]# cat /etc/redhat-release Red Hat Linux release 7.0 (Guinness) [root@istanbul hdeller]# mkbootdisk --device /dev/fd0 `uname -r` Insert a disk in /dev/fd0. Any information on the disk will be lost. Press <Enter> to continue or ^C to abort: [root@istanbul mkbootdisk-1.2.8]# rpm -qa | grep perl perl-5.6.0-9 I will try again on a really fresh 7.0.... I've just encountered the identical problem to cbell's with a new RH7.0 system. /etc/fstab similar to above (LABELS for several partitions including /). Same mkbootdisk rpm. '/sbin/mkbootdisk --device /dev/fd0 2.2.16-22' gave same err. msg: Can't find root partition in fstab. BUT, after about 1 hr of searching the net and ending up here at bugzilla I tried it again AND IT WORKED OK -- no err. msg. , disk created OK. Worked OK both using ...`uname -r` syntax and explicitly specifying kernel. Really strange... Maybe this isn't a bug after all: mkbootdisk now [kernel 2.2.19-7.0.1] works fine for user=root. Fails as described above for ordinary users. I don't remember whether I was switching between ordinary and root in my comments above [2001-04-18]. Maybe should change execute permission on /sbin/mkbootdisk to root only to prevent this confusion... mkbootdisk needs to be run as root most of the time, but it is possible to set up your system so that anyone can run it, so I don't want to just change the permissions. |