How to add VISTA's boot entry to GRUB

Status
Not open for further replies.

eagle_y2j

Youngling
I am running Open Suse 10.2 ,installed after installing MS Vista (ultimate) but i can't see boot entry of Vista in GRUB ? How to add that in my case Vista is on primary partion hda5 .
TIA
 

freebird

Debian Rocks!
eagle_y2j said:
I am running Open Suse 10.2 ,installed after installing MS Vista (ultimate) but i can't see boot entry of Vista in GRUB ? How to add that in my case Vista is on primary partion hda5 .
TIA
as root edit the file /boot/grub/menu.lst and save:
at the end of the file.
Code:
title           Microsoft Windows Vista Ultimate
root            (hd0,4)
savedefault
chainloader     +1
you can use any editors like gedit as root user to save it.try at "$" prompt
Code:
~$gksu gedit  /boot/grub/menu.lst
 
OP
eagle_y2j

eagle_y2j

Youngling
I tried editing /boot/grub/menu.lst from YAST control panel but each time i am saving
Code:
title           Microsoft Windows Vista Ultimate
root            (hd0,4)
savedefault
chainloader     +1
there it automatically changes into
Code:
title Microsoft Windows Vista Ultimate
    rootnoverify (hd0,0)
    savedefault
    chainloader (hd0,4)+1
?
 

amitava82

MMO Addict
it should be like this (if you have single HDD and Vista is installed in C drive):

open console, type:

gksu gedit /boot/grub/menu.lst

remove your existing windows entries n replace with this:

title windows Vista
root (hd0,0)
makeactive
savedefault
chainloader +1
 

freebird

Debian Rocks!
do one thing Press ALT+F2 to get a run dialog.then enter those commands in run dialog and press enter-run.

u cant sometimes invoke gksu from terminal ;that is a whole another thing. "xhost +" to disable acl may help.
 
OP
eagle_y2j

eagle_y2j

Youngling
Added following to menu.lst sucessfully
Code:
title windows Vista
root (hd0,4)
makeactive
savedefault
chainloader +1
but getting following error

Booting Windows Vista
root (hd0,4)
filesystem type unkown,partition type 0 X 7
makeactive
Error 12 :Invalid device requested .....
Press any key to continue.....
 

freebird

Debian Rocks!
that error means u have not having win partn as hda5.check again where u have ur windows partn using fdisk:
Code:
~#fdisk  -l
I mean post the output
 

desertwind

Cyborg Agent
Are you sure that Vista is intalled on hda5?

Can you post the output of the following command

$ sudo fdisk -l
 
OP
eagle_y2j

eagle_y2j

Youngling
system:/media/hda5 is my Vista's hdd partition and can't figure out above commands
sudo: fdisk: command not found
 
Status
Not open for further replies.
Top Bottom