Re: GRUB always enters a rescue shell.

2017-07-27 Thread Hao Lee
Hi, Thanks to all of you and sorry for the delayed response. I have addressed this problem. Using `kpartx` instead of `losetup` to mount partition and I finally make a bootable disk image. The explanation of this problem together with the solution is here:

Re: GRUB always enters a rescue shell.

2017-07-24 Thread Aruna Hewapathirane
> > > On 22.07.2017 19:35, Aruna Hewapathirane wrote: > [...] > >>> sudo losetup -o $((2048*512)) /dev/loop1 hd.img > >> > >> should'nt it be 63*512 ? > >> > > > > nope should be 2048 and this is why --> > > https://superuser.com/questions/352572/why-does-the-

Re: GRUB always enters a rescue shell.

2017-07-24 Thread Kamil Konieczny
On 22.07.2017 19:35, Aruna Hewapathirane wrote: [...] >>> sudo losetup -o $((2048*512)) /dev/loop1 hd.img >> >> should'nt it be 63*512 ? >> > > nope should be 2048 and this is why --> > https://superuser.com/questions/352572/why-does-the-partition-start-on-sector-2048-instead-of-63 it is for

Re: GRUB always enters a rescue shell.

2017-07-22 Thread Aruna Hewapathirane
On Mon, Jul 17, 2017 at 11:16 AM, Kamil Konieczny < k.koniec...@partner.samsung.com> wrote: > Hi, > > On 13.07.2017 10:39, Hao Lee wrote: > > > I encounter a problem when making a bootable disk image because GRUB > > always enters a > > rescue shell. &

Re: GRUB always enters a rescue shell.

2017-07-22 Thread Aruna Hewapathirane
Hello Hao, On Thu, Jul 13, 2017 at 4:39 AM, Hao Lee <haolee.sw...@gmail.com> wrote: > Hi, > > I encounter a problem when making a bootable disk image because GRUB > always enters a > rescue shell. > > I want to create a disk image and install GRUB 2 on it

Re: GRUB always enters a rescue shell.

2017-07-17 Thread Kamil Konieczny
Hi, On 13.07.2017 10:39, Hao Lee wrote: > I encounter a problem when making a bootable disk image because GRUB > always enters a > rescue shell. > > I want to create a disk image and install GRUB 2 on it and then use > Bochs to run it. The steps are as follows. > [...] >

GRUB always enters a rescue shell.

2017-07-13 Thread Hao Lee
Hi, I encounter a problem when making a bootable disk image because GRUB always enters a rescue shell. I want to create a disk image and install GRUB 2 on it and then use Bochs to run it. The steps are as follows. System Environment: OS: Fedora 25 x86 GRUB version: grub2-install (GRUB) 2.02