LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Windows 7 64 bit and Megeia 2 dual boot problem (https://www.linuxquestions.org/questions/linux-software-2/windows-7-64-bit-and-megeia-2-dual-boot-problem-4175432185/)

butch64 10-14-2012 03:00 PM

Windows 7 64 bit and Megeia 2 dual boot problem
 
Ihave Windows 7 installed and I recently installed Megeia 2. My problem is I can not boot into Windows. I installed Grub and when I select Windows it fails to boot. I wentand looked at each partition and this is what is stated.
sda1 label: Dell Utility, drive letter C: (just a guess) FS: FAT16
sda2 label: Recovery, FS: NTFS-3G, Partition booted by default for MS-DOS boot not for lilo, drive letter D: (just a guess).
sda3 mount point:/media/windows, drive letter E (just a guess) FS:NTFS-3G mounted.
How can I get sda3 to be booted by default for MS-DOS?

camorri 10-14-2012 03:07 PM

Magia 2 runs grub 1, ( grub legacy ). Go to the directory /boot/grub/ there will be a file there called menu.lst. Copy and paste it here.

Where did you install grub to? MBR, or some partition?

It would help if you open a konsole, and as root run the command 'fdisk -l' ( without quotes. Copy and paste the output. That will tell us what partitions you have, FS type, etc.

butch64 10-14-2012 04:50 PM

Thank you for your fast response.
Grub is installed in the MBR.

fdisk -l output
Device Boot Start End Blocks Id System
/dev/sda1 63 80324 40131 6 FAT16
/dev/sda2 * 81920 41627647 20772864 7 HPFS/NTFS/exFAT
/dev/sda3 41627648 1416997259 687684806 7 HPFS/NTFS/exFAT
/dev/sda4 1417000914 1953520064 268259575+ 5 Extended
/dev/sda5 1417000960 1494800054 38899547+ 83 Linux
/dev/sda6 1494802432 1559590199 32393884 82 Linux swap / Solaris
/dev/sda7 1559592960 1953520064 196963552+ 83 Linux

menu.lst
timeout 5
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 5

title Windows 7 Home Premium
root (hd0,2)
chainloader +1

title Megeia 2
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=Megeia_2 root=UUID=4d2ce8e0-8a41-41ab-b9b9-0968044ab981 splash quiet resume=UUID=d8092216-4e79-445b-8190-031fbeb6e167 vga=788
initrd (hd0,4)/boot/initrd.img

title Megeia 2-nonfb
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=Megeia_2-nonfb root=UUID=4d2ce8e0-8a41-41ab-b9b9-0968044ab981 resume=UUID=d8092216-4e79-445b-8190-031fbeb6e167
initrd (hd0,4)/boot/initrd.img

title Megeia 2 failsafe
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=Megeia_2_failsafe root=UUID=4d2ce8e0-8a41-41ab-b9b9-0968044ab981 failsafe
initrd (hd0,4)/boot/initrd.img

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=4d2ce8e0-8a41-41ab-b9b9-0968044ab981 splash quiet resume=UUID=d8092216-4e79-445b-8190-031fbeb6e167 vga=788
initrd (hd0,4)/boot/initrd.img

title desktop 3.3.8-2.mga2
kernel (hd0,4)/boot/vmlinuz-3.3.8-desktop-2.mga2 BOOT_IMAGE=desktop_3.3.8-2.mga2 root=UUID=4d2ce8e0-8a41-41ab-b9b9-0968044ab981 splash quiet resume=UUID=d8092216-4e79-445b-8190-031fbeb6e167 vga=788
initrd (hd0,4)/boot/initrd-3.3.8-desktop-2.mga2.img

butch64 10-14-2012 04:51 PM

Ooops I installed grub in MBR.

camorri 10-14-2012 06:49 PM

Quote:

title Windows 7 Home Premium
root (hd0,2)
chainloader +1
Looks to me as if your boot partition for W7 is sda2, so change root (hd0,2) to (hd0,1) and give it a try.

butch64 10-14-2012 10:04 PM

Well I tried it and it worked thank you. I thought I had tried sda2 before. So many things so little time so much confusion. Again my thanks.


All times are GMT -5. The time now is 10:35 AM.