How to add VISTA's boot entry to GRUB

Status
Not open for further replies.

gxsaurav

You gave been GXified
Look above what i posted

Vista doesn't have boot.ini it has BCDEdit, for it, all you have to do is to point to the proper exe to boot it. Do this, try t otell GRUB to boot from the following folder in the partition


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
 

mehulved

18 Till I Die............
drsethi try this for vista
Code:
title Windows Vista
rootnoverify (hd0,7)
makeactive
chainloader +1
 

freebird

Debian Rocks!
^^ then try it @eagle_y2j wat @gxsaurav told
it is possible to boot.Vista bootloader got new config file.we can solve this.there are some more options to try like hiding/unhiding partn options yet to try on grub.

Multiboot with GRUB Mini-HOWTO
*www.gnu.org/software/grub/manual/html_node/unhide.html
*www.bo.infn.it/alice/alice-doc/mll-doc/linux/advanced/node50.html
 
Last edited:

praka123

left this forum longback
@tyf:it may not be that simple with vista.as @gxsourav pointed out Vista got a MBR Disk Signature.during Vista boot process it uses an ID number in the MBR before it will let you boot.
Vista wants all other partitions non-bootable.
so the soltn will be to hide the other partn as pointed by @freebird.
so @eagle_y2j:
I believe U have grub menu available.
Code:
~#nano -w /boot/grub/menu.lst
remove any other windows entries in menu.lst
add:
Code:
title     windows Vista
 unhide (hd0,4)
 hide (hd0,0)
 rootnovery (hd0,4)
 makeactive
savedefault
chainloader +1
 boot
try and post;)
edit:make sure u have hda5 as bootable partn.u can toggle bootable flag using cfdisk /dev/hda (it is ||lr to windows fdisk utility)
Code:
~#cfdisk /dev/hda
hda5       [B]Boot[/B]        Primary   NTFS                              5140.80
as 4m ur earlier fdisk -l o/p hda1 is bootable while hda5 is not(see the "*" sign)
Code:
 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
 
Last edited:

drsethi

Journeyman
unhide
hide
command is very dangerous. Use carefully otherwise all other Operating systems may become unbootable/unrepairable.
 

mehulved

18 Till I Die............
eagley2j try this

title Vista
rootnoverify (hd0,4)
savedefault
makeactive
chainloader +1

I guess this should work, cos here it claims to work
 
Status
Not open for further replies.
Top Bottom