В Sat, 27 Jun 2015 15:48:23 +0000 <[email protected]> пишет:
> > Thank you. I'm making real progress now. I tried losetup -P like you > suggested and used the command: grub-install --target=i386-pc > --boot-directory=/boot --modules=part_msdos /dev/loop0 Using current upstream you should not need --modules=part_msdos using partitioned loop. It should detect partition itself. > It completed successfully and the image was able to be booted up to a grub > shell. I can complete the boot by entering grub commands manually. > > One last question: You said 'it will need to search for root instead of > encoding partition directly' > That sounds like what I want to do, but the boot stopped at the grub shell. > How do I get the behavior you described? > > Not sure I understand the question. If you are in GRUB normal mode, everything worked correctly. To boot automatically you need to create grub.cfg in /boot/grub (or /boot/grub2 depending on your distribution) that contains commands to actually boot operating system. grub-mkconfig is one way to generate such file with menu entries for current kernels in /boot. _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
