How to add VISTA's boot entry to GRUB

Status
Not open for further replies.

freebird

Debian Rocks!
try
Code:
$ su -
(give ur root passwd)
now at "#" prompt :
Code:
~#   /sbin/fdisk -l
now post the o/p.
 
OP
eagle_y2j

eagle_y2j

Youngling
k here is the output:-

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2434 19551073+ 83 Linux
/dev/hda2 2435 4865 19527007+ f W95 Ext'd (LBA)
/dev/hda5 2435 4788 18908473+ 7 HPFS/NTFS
/dev/hda6 4789 4865 618471 82 Linux swap / Solaris

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 9729 78140160 f W95 Ext'd (LBA)
/dev/hdb5 2 4875 39150373+ b W95 FAT32
/dev/hdb6 4876 9729 38989723+ b W95 FAT32
linux-nrn0:/home/loveme #
 

freebird

Debian Rocks!
you may have ur windows on second hdd?that's a possibility na?

anyways,try once more editing /boot/grub/menu.lst
as :
Code:
title           Microsoft Windows Vista
root            (hd1,4)
savedefault
chainloader     +1
try.....
 

drsethi

Journeyman
I am having similar problem
I have Windows XP SP2 on hda1
Windows vista beta on hda8
Suse 10.2 on hda 10.
I can boot XP and Suse but not vista by any means.
Menu.lst entries are as follows
default 0
timeout 8
gfxmenu (hd0,9)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd0,9)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda10 vga=0x317 resume=/dev/sda9 splash=silent showopts elevator=
initrd /boot/initrd-2.6.18.2-34-default

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows XP
rootnoverify (hd0,0)
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
root (hd0,9)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda10 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.18.2-34-default
Please tell me what should be entered in Menu.lst or elsewhere so I can boot Vista as well.
 

mehulved

18 Till I Die............
drsethi you should try the same too. Change root to rootnoverify for vista.
 
Last edited:
OP
eagle_y2j

eagle_y2j

Youngling
drsethi %%%bumped ...
tried
Code:
title           Microsoft Windows Vista
root            (hd1,4)
savedefault
chainloader     +1

also tried rootnoverify (hd1,4)

getting continous beeps with following error
root (hd1,4)
filesystem type is fat,partition type 0 X b
safedefault
chainloader +1
 

praka123

left this forum longback
@eagle_y2j
does it worked?the soltn 4m tyf.if not try to add "makeactive" also..
Code:
title           Microsoft Windows Vista
rootnoverify    (hd0,4)
makeactive
chainloader     +1
 

freebird

Debian Rocks!
try this since u have vista on a non-primary partn(hda5) afaik.this make Vista to belive its installed on primary partn.this may be the soltn;)
Code:
 title Windows Vista
rootnoverify (hd0,5) 
map (hd0,0) (hd0,5)
map (hd0,5) (hd0,0)
makeactive
chainloader +1
M$ wants their OS to be the only one installed on ur disk..
 
OP
eagle_y2j

eagle_y2j

Youngling
freebird said:
try this since u have vista on a non-primary partn(hda5) afaik.this make Vista to belive its installed on primary partn.this may be the soltn;)
Code:
 title Windows Vista
rootnoverify (hd0,5) 
map (hd0,0) (hd0,5)
map (hd0,5) (hd0,0)
makeactive
chainloader +1
M$ wants their OS to be the only one installed on ur disk..

all in Vain it says Error 12:Invalid device requested
 

gxsaurav

You gave been GXified
freebird said:
M$ wants their OS to be the only one installed on ur disk..

:D :D Not quite...you can dual boot with any OS

I don't know how to configure GRUB, but if u need i can provide Vista bootloader files of BCD :)

I got First partion as Windows XP , then installed Vista over it so Vista configured the bootloader itself. I M posting the details here from Vistabootpro 3.1, this might help u

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=D:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {64441255-dd8c-1243-9e22-f802b9de94d0}
displayorder {ntldr}
{current}
toolsdisplayorder {memdiag}
timeout 30
Windows Legacy OS Loader
------------------------
identifier {ntldr}
device partition=D:
path \ntldr
description Windows XP
custom:47000005 301989892
6
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows Vista
locale en-US
inherit {bootloadersettings}
osdevice partition=C:
systemroot \Windows
resumeobject {64441255-dd8c-1243-9e22-f802b9de94d0}
nx AlwaysOff
quietboot Yes
custom:47000005 301989892
3
 

drsethi

Journeyman
Error 12: Invalid device requested is the message
Menu.lst entries are
default 0
timeout 8
gfxmenu (hd0,9)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd0,9)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda10 vga=0x317 resume=/dev/sda9 splash=silent showopts elevator=
initrd /boot/initrd-2.6.18.2-34-default

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows XP
rootnoverify (hd0,0)
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows Vista
rootnoverify (hd0,7)
map (hd0,0) (hd0,7)
map (hd0,7) (hd0,0)
makeactive
chainloader (hd0,7)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
root (hd0,9)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda10 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.18.2-34-default
 

freebird

Debian Rocks!
Y?he got grub perfect..
now boot.ini file may need to be edited if all this fails...only M$ gyaani ppl knows that :(
 
OP
eagle_y2j

eagle_y2j

Youngling
nothing seems working if anyone of u hav a dual boot Vista and Linux with Grub ...can u post ur menu.lst may be it can help ?
 

freebird

Debian Rocks!
the answer is clear.it is real tough if u installed vista on non-primary partitions.grub-the bootloader tried to give the vista bootloader for vista boot(chnldr +1 optn)..now in windows partn,Vista's got some bootloader/menu config file,in win xp,that was boot.ini..some editing of the file may help..:confused:
 
Status
Not open for further replies.
Top Bottom