Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 17-02-2007, 11:45 AM   #1 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Cool How to add VISTA's boot entry to GRUB


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
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 17-02-2007, 12:26 PM   #2 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default Re: How to add VISTA's boot entry to GRUB

well open suse detected my vista as a windows os n added its boot entry automatically...
Pathik is offline  
Old 17-02-2007, 12:29 PM   #3 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: How to add VISTA's boot entry to GRUB

did u try this method posted here: Vista and GRUB
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 17-02-2007, 02:09 PM   #4 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

Quote:
Originally Posted by amitava82
did u try this method posted here: Vista and GRUB
tried but no sucess
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 17-02-2007, 09:18 PM   #5 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Post Re: How to add VISTA's boot entry to GRUB

Quote:
Originally Posted by eagle_y2j
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
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org
freebird is offline  
Old 18-02-2007, 12:54 PM   #6 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

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
?
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 18-02-2007, 02:26 PM   #7 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to add VISTA's boot entry to GRUB

Just try editing it manually.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 18-02-2007, 04:09 PM   #8 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

tried
# edit /boot/grub/menu.lst

but how to insert new data and how to save in root mode
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 18-02-2007, 04:18 PM   #9 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default Re: How to add VISTA's boot entry to GRUB

Already answered by freebird.

$ gksu gedit /boot/grub/menu.lst
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 18-02-2007, 06:00 PM   #10 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: How to add VISTA's boot entry to GRUB

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
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 18-02-2007, 06:57 PM   #11 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

bash: gksu: command not found
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 18-02-2007, 07:02 PM   #12 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to add VISTA's boot entry to GRUB

gksu is found in gnome. That means you've not install gnome. For KDE there's kdesu
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 18-02-2007, 07:14 PM   #13 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

Quote:
Originally Posted by tech_your_future
gksu is found in gnome. That means you've not install gnome. For KDE there's kdesu
thankx for this but now it says kdesu can't connect to X server ?
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 18-02-2007, 07:24 PM   #14 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Post Re: How to add VISTA's boot entry to GRUB

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.
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org
freebird is offline  
Old 18-02-2007, 07:27 PM   #15 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

ok after googling i found this
Code:
kdesu kwrite /boot/grub/menu.lst
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 18-02-2007, 07:28 PM   #16 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Default Re: How to add VISTA's boot entry to GRUB

oh u use kde
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org
freebird is offline  
Old 18-02-2007, 07:36 PM   #17 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

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.....
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 18-02-2007, 07:51 PM   #18 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Post Re: How to add VISTA's boot entry to GRUB

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
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org
freebird is offline  
Old 18-02-2007, 07:53 PM   #19 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default Re: How to add VISTA's boot entry to GRUB

Are you sure that Vista is intalled on hda5?

Can you post the output of the following command

$ sudo fdisk -l
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 18-02-2007, 08:00 PM   #20 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

system:/media/hda5 is my Vista's hdd partition and can't figure out above commands
sudo: fdisk: command not found
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 18-02-2007, 08:20 PM   #21 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Post Re: How to add VISTA's boot entry to GRUB

try
Code:
$ su -
(give ur root passwd)
now at "#" prompt :
Code:
~#   /sbin/fdisk -l
now post the o/p.
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org
freebird is offline  
Old 18-02-2007, 08:24 PM   #22 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

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 #
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 18-02-2007, 08:32 PM   #23 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Post Re: How to add VISTA's boot entry to GRUB

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.....
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org
freebird is offline  
Old 18-02-2007, 08:36 PM   #24 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to add VISTA's boot entry to GRUB

change root to rootnoverify in menu.lst
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 18-02-2007, 08:50 PM   #25 (permalink)
In The Zone
 
drsethi's Avatar
 
Join Date: Jan 2004
Location: Amritsar
Posts: 220
Default Re: How to add VISTA's boot entry to GRUB

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.
drsethi is offline  
Old 18-02-2007, 08:55 PM   #26 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to add VISTA's boot entry to GRUB

drsethi you should try the same too. Change root to rootnoverify for vista.
__________________
http://www.bash.org/?258908

Last edited by mehulved; 18-02-2007 at 09:01 PM.
mehulved is offline  
Old 18-02-2007, 08:57 PM   #27 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to add VISTA's boot entry to GRUB

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
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 18-02-2007, 09:05 PM   #28 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to add VISTA's boot entry to GRUB

it's hd0,4 not 1,4
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 18-02-2007, 09:18 PM   #29 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Post Re: How to add VISTA's boot entry to GRUB

@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
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 18-02-2007, 09:30 PM   #30 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Post Re: How to add VISTA's boot entry to GRUB

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..
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org
freebird is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by clmlbx
- by Sujeet
- by icebags

Advertisement




All times are GMT +5.5. The time now is 10:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2