[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grub-install documentation or override?
From: |
Andrei Borzenkov |
Subject: |
Re: Grub-install documentation or override? |
Date: |
Sat, 27 Jun 2015 18:57:04 +0300 |
В Sat, 27 Jun 2015 15:48:23 +0000
<address@hidden> пишет:
>
> 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.
- Re: Grub-install documentation or override?, (continued)
- Re: Grub-install documentation or override?, Andrei Borzenkov, 2015/06/25
- Re: Grub-install documentation or override?, mgreger, 2015/06/25
- Re: Grub-install documentation or override?, Andrei Borzenkov, 2015/06/26
- Re: Grub-install documentation or override?, mgreger, 2015/06/26
- Re: Grub-install documentation or override?, Andrei Borzenkov, 2015/06/26
- Re: Grub-install documentation or override?, mgreger, 2015/06/26
- Re: Grub-install documentation or override?, Andrei Borzenkov, 2015/06/26
- Re: Grub-install documentation or override?, mgreger, 2015/06/26
- Re: Grub-install documentation or override?, Andrei Borzenkov, 2015/06/27
- Re: Grub-install documentation or override?, mgreger, 2015/06/27
- Re: Grub-install documentation or override?,
Andrei Borzenkov <=
- Re: Grub-install documentation or override?, mgreger, 2015/06/27