On 05/07/2013 08:44 PM, Felix Miata wrote:
On 2013-05-08 06:59 (GMT+0400) Andrey Borzenkov composed:
On Tue, 07 May 2013 20:20:26 -0400 Felix Miata composed:
Without some manual intervention with Grub configuration, I can't imagine any reason other than Grub2 automagic to explain the OP's failure to fail (aka running the new kernel).
In case of grub2 update-bootloader (which is called by mkintrd) performs full bootloader installation and re-creates grub.cfg.
Apparently. What I find unexpected is that it seems to have discovered on its own the highly irregular and unusual circumstance of the /boot "move" that should have necessitated all instances of the Grub2 equivalent of Grub Legacy's (x,y) being changed to (x,z). I suspect this only worked for the OP because of two things: 1: Grub2 on MBR instead of /boot, and 2: /boot contents were copied rather than moved. I'm not yet convinced that everything we think happened is in fact what did happen. When I find time and a spare HD I hope to recreate what I think happened, and then try again with Grub2 on /boot instead of MBR, expecting failure from the latter. I also wonder whether if Grub2's configuration management system is smart enough to do both, whether it could also succeed if the movement was to a different HD instead of just to a different partition.
I'm the OP. For the record, I was using grub2 and, I believe, MBR. It was a brand new install and I didn't change any of the defaults in the boot section of the installation dialog. I don't see why "cp" is any different than "mv" in this context. "mv" would just be a copy-then-delete operation, right? I didn't do a "dd" All I did was cp -Rp to the new /boot directory on the root filesystem, then run mkinitrd. There are three disks in the box. The no-longer used ext2 partition is /dev/sdc1, the new /boot is on reiserfs /dev/sdc3. While /dev/sda1 contains the /boot for openSuSE 12.2, with its root on /dev/sda3. The boot to the previous rev works fine, and did when /dev/sdc1 was borked. Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org