FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
fc7 bombs out. It complains about /dev/md0 not being defined in the config file (although I built and stuck an mdadm.conf file into /etc with no luck) and then tries to fall back to /dev/hda2 but that doesn't exist because fc7 seems to see hda and hdb as sda and sdb (huh?).
I've booted into the fc7 emergency disk and it finds /dev/md0 with no trouble and I can chroot /mnt/sysimage just fine. I've tried backing up the initrd and making a new one forcing every probe possible and throwing in --with=lvm and --with=raid just for completeness.
Percussion therapy did not work either. Nor did swearing at the machine profusely.
(1) booted with emergency fc7, chroot /mnt/sysimage
(2) changed all (hd0,0) to (sd0,0) - there were no hd(0) or sd(0). Changed #boot=/dev/hda to #boot=/dev/sda
(3) remade the initrd again
(4) on reboot grub complained about there not being an (sd0,0)
(5) using the "a" option in the grub boot screen, I changed (sd0,0) back to (hd0,0) (makes sense...)
(6) hit "b" and off it went.
(7) re-edited the /etc/grub.conf file back to previous config except keeping /dev/sda instead of /dev/hda
Thanks.
I am thinking of updating a remote machine to fc7 that I can't psychically get to for operations at this level (booting emergency disks). Did my problems come only because I was booting from a raid; do I need to change grub.conf to sda on that system (like would it be a formula thing to do); or would it be too risky full stop - better to stay with fc6?
Didn’t mean for you to change the grub root (hdx,y) entries, but you figured that out.
I have done several FC6 to F7 yum upgrades on systems using PATA drives (hda becomes sda) without the problem you described and all had either mdadm raid1 or raid1/raid5 combos, so I don’t think that’s the issue.
Doing a remote upgrade always carries a higher degree of failure-recovery risk, so it’s always a good idea to ask what it will cost for someone on the other end to fix a problem before starting the remote upgrade.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.