help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub-install documentation or override?


From: mgreger
Subject: Re: Grub-install documentation or override?
Date: Sun, 28 Jun 2015 1:18:09 +0000

---- Andrei Borzenkov <address@hidden> wrote: 
> В 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.


Oops, with everything else going on I forgot to recreate my grub.cfg file. It's 
all working now. Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]