Page 1 of 1

Not able to get the boot.lnx and add it to the Windows boot

PostPosted: Mar 10th, '15, 22:19
by vssekhar
Hi,

Installed Mageia 4.1. Rebooted using the DVD and used the rescue option to boot into shell prompt. Used dd command to make boot.lnx. (Had installed graphical GRUB2 to the root partition only) Copied boot.lnx file to C:. Used this boot.lnx file for the entry in the windows boot manager. This does not work. The PC simply reboots.

Re: Not able to get the boot.lnx and add it to the Windows b

PostPosted: Mar 10th, '15, 22:36
by doktor5000
Did you boot Mageia successfully after the installation before booting to rescue mode?
When you were using rescue mode, how exactly did you create that boot.lnx image? What does your current windows boot manager entry look like?

Also for grub2 you may need to change your procedure a little bit or maybe it's not possible to boot it directly the way you're trying,
see e.g. http://forums.linuxmint.com/viewtopic.php?f=46&t=83765 or http://lists.gnu.org/archive/html/help- ... 00006.html

Re: Not able to get the boot.lnx and add it to the Windows b

PostPosted: Mar 11th, '15, 05:36
by vssekhar
I used the dd command by getting into shell( Ctrl +Alt+ F2) just after install or in rescue mode. But it did not work. I was not able to boot properly until i became lucky enough to find SupergrubDisk just before this post. (With supergrub i am able to boot perfectly)

Will read your suggestions and try again. Thanks a lot.

Re: Not able to get the boot.lnx and add it to the Windows b

PostPosted: Mar 11th, '15, 13:22
by doktor5000
vssekhar wrote:I used the dd command by getting into shell( Ctrl +Alt+ F2) just after install or in rescue mode. But it did not work.

Understood that the first time, question was how you ran dd in particular, e.g. the complete command.

Re: Not able to get the boot.lnx and add it to the Windows b

PostPosted: Mar 11th, '15, 18:38
by vssekhar
With supergrub i am able to boot perfectly. In the terminal window -gave the command, dd if=/dev/sdb5 of=boot.lnx bs=512 count=1. Then copied this to c:, but this also does not work.

Have two hard drives(first has win home, second has win pro and mageia)

Windows boot.ini file looks as follows:

Code: Select all
[boot loader]
timeout=20
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
C:\boot.lnx="Mageia Linux 4.1"


Thanks,

sesha