LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2009, 01:52 PM   #1
Sethvir
LQ Newbie
 
Registered: Sep 2009
Location: Franklin Park
Distribution: Ubuntu
Posts: 4

Rep: Reputation: 0
Vista and Ubuntu dual boot issue


I am Linux newbie;

I have Vista loaded and loaded the most recent Ubuntu 9.1 to my machine

Ubuntu created the partition, I tried to Shrink the volume in Vista but it was not working.

Ubuntu installed in the partition created. Ubuntu was working and Vista.

Even turned the machine off loaded Vista working. Then turned off the machine and loaded Ubuntu. Updated graphic driver for Nvidea graphic card and few other programs.

Turned off machine, GRUB comes up, select Vista, Vista does not load.

Saw an error message but it is there fo an instant and the GRUB reloads.

This is the new version of GRUB:see file entry below, I am not sure how to change this file or why it worked and then stopped working.
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub #

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 240638bd-7e33-4bbf-a1fa-7d6194a7c7ba
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/white ### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic-pae" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 240638bd-7e33-4bbf-a1fa-7d6194a7c7ba
linux /boot/vmlinuz-2.6.31-14-generic-pae root=UUID=240638bd-7e33-4bbf-a1fa-7d6194a7c7ba ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic-pae
}
menuentry "Ubuntu, Linux 2.6.31-14-generic-pae (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 240638bd-7e33-4bbf-a1fa-7d6194a7c7ba
linux /boot/vmlinuz-2.6.31-14-generic-pae root=UUID=240638bd-7e33-4bbf-a1fa-7d6194a7c7ba ro single
initrd /boot/initrd.img-2.6.31-14-generic-pae
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 54a28c860605da2c
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

I was going to repair Windows with the installtion disk but the repair disk is not seeing the Vista installation to repair.

Thanks; Sethvir

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
 
Old 11-06-2009, 03:37 AM   #2
JohnGraham
Member
 
Registered: Oct 2009
Posts: 467

Rep: Reputation: 139Reputation: 139
Those files aren't too helpful - could you post the contents of your /boot/grub/menu.lst file?

Are you able to boot into Linux at the moment?

John G
 
Old 11-08-2009, 04:15 PM   #3
Sethvir
LQ Newbie
 
Registered: Sep 2009
Location: Franklin Park
Distribution: Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Dual Boot Vista-Linux

John;

Sorry for the late reply, flu.

Yes, I can boot ubuntu but I have the latest copy of Ubuntu 9.1 which uses the new version of GRUB.

So no menu.lst file

THe file I included is the new version of menu.lst


Regards;

bob
 
Old 11-19-2009, 09:05 PM   #4
digitalpbk
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Rep: Reputation: 0
Ubuntu 9.1 uses a new GRUB version

What do you want to change you got to change the files at /etc/grub/*
and /etc/grub.d/*

For more details about changing the grub see
http://digitalpbk.com/2009/11/changi...rub-ubuntu-910
 
Old 11-19-2009, 10:06 PM   #5
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
the new version of grub uses grub.cfg which can be found at /boot/grub/grub.cfg

Quote:
Originally Posted by Sethvir View Post
Ubuntu created the partition, I tried to Shrink the volume in Vista but it was not working.
What do u mean by that?? What exactly did you do?? Can you post the output to
Code:
df -h
Quote:
Originally Posted by Sethvir View Post
I was going to repair Windows with the installtion disk but the repair disk is not seeing the Vista installation to repair.
Thats strange...

Last edited by firewiz87; 11-19-2009 at 10:26 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I remove vista from a ubuntu / vista dual boot! TheOneSYM Linux - Newbie 10 04-01-2010 01:21 PM
Delete Ubuntu kernels from dual-boot vista/ubuntu laptop? Leon14344 Linux - Laptop and Netbook 1 06-22-2009 10:32 PM
Dual Boot issue with Suse and XP - Vista boot hangs masterkeedu Linux - Software 5 01-24-2009 06:34 PM
dual boot vista and ubuntu, lost after changes to vista monkeybritt Ubuntu 5 12-04-2008 02:16 PM
Dual boot issue with Windows vista and RHEL 4 pkaushish Linux - Newbie 13 03-08-2007 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration