Bug 548274
| Summary: | can't boot from hard disk if typing is root=/dev/* on grub | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Freax <holmes86> |
| Component: | dracut | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | harald |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 004-4.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-01-28 00:54:07 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: | |||
dracut-004-4.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/dracut-004-4.fc12 dracut-004-4.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dracut'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1088 dracut-004-4.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: I want to use hard disk boot fedora 12.So I copy LiveOS,vmlinuz0 and initrd0.img of fedora 12 to hard disk.Then in GRUB,I typed the following: root (hd0,0) kernel /vmlinuz0 root=/dev/sda1 liveimg initrd /initrd0.img but fedora 12 can't boot.I uncompress the initrd0.img.Then I found cmdline/30parse-dmsquash-live.sh about handling "liveroot" as following: if getarg liveimg; then liveroot="live:$root" fi if [ "${root%%:*}" = "live" ] ; then liveroot=$root fi [ "${liveroot%%:*}" = "live" ] || return case "$liveroot" in live:LABEL=*|LABEL=*) root="${root#live:}" root="$(echo $root | sed 's,/,\\x2f,g')" root="live:/dev/disk/by-label/${root#LABEL=}" rootok=1 ;; live:CDLABEL=*|CDLABEL=*) root="${root#live:}" root="$(echo $root | sed 's,/,\\x2f,g')" root="live:/dev/disk/by-label/${root#CDLABEL=}" rootok=1 ;; live:UUID=*|UUID=*) root="${root#live:}" root="live:/dev/disk/by-uuid/${root#UUID=}" rootok=1 ;; /dev/*) root="live:${root}" rootok=1 ;; As executed liveroot="live:$root",but "case" sentence haven't about "live:/dev/*".I think this is reason that don't boot from hard disk.So I modify to the following: live:/dev/*|/dev/*) and generate initrd0.img again.Now it can boot from hard disk. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Copy vmliunz0,initrd0.img and LiveOS to hard disk. 2.Type root=/dev/* liveimg,not LABEL or UUID 3. Actual results: can't boot from hard disk Expected results: can boot from hard disk Additional info: