problem when booting Vista

Asked by malbar

I have windows Vista installed in my machine , after installing Ubuntu, I can not boot Vista naymore...
albar@malbar-desktop:~$ blkid
/dev/sda1: TYPE="ntfs"
/dev/sda5: UUID="c0ce75f4-985e-4713-922a-d418723badb2" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID="af9278c1-0515-4aee-b27d-3af4c8eb7ab3" TYPE="swap"
/dev/sda7: UUID="46b38de9-530e-44f7-b99d-bd5ee15e5f87" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda8: UUID="f18b0e7b-5aaa-4bef-9a7c-1f48889d23af" SEC_TYPE="ext2" TYPE="ext3"
malbar@malbar-desktop:~$ sudo lshw -C disk
Password:
  *-cdrom
       description: DVD-RAM writer
       product: DVDRAM GSA-H10N
       vendor: HL-DT-ST
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/dvd
       logical name: /dev/scd0
       logical name: /dev/sr0
       version: JL10
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5
     *-disc
          physical id: 0
          logical name: /dev/cdrom
  *-disk
       description: SCSI Disk
       product: WDC WD800JD-00JN
       vendor: ATA
       physical id: 0.0.0
       bus info: scsi@2:0.0.0
       logical name: /dev/sda
       version: 05.0
       serial: WD-WCAM9A623890
       size: 74GB
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5
     *-volume:0
          description: HPFS/NTFS partition
          physical id: 1
          bus info: scsi@2:0.0.0,1
          logical name: /dev/sda1
          capacity: 29GB
          capabilities: primary bootable
     *-volume:1
          description: Extended partition
          physical id: 2
          bus info: scsi@2:0.0.0,2
          logical name: /dev/sda2
          size: 45GB
          capacity: 45GB
          capabilities: primary extended partitioned partitioned:extended
        *-logicalvolume:0
             description: Linux filesystem partition
             physical id: 5
             logical name: /dev/sda5
             capacity: 3992MB
        *-logicalvolume:1
             description: Linux swap / Solaris partition
             physical id: 6
             logical name: /dev/sda6
             capacity: 3992MB
             capabilities: nofs
        *-logicalvolume:2
             description: Linux filesystem partition
             physical id: 7
             logical name: /dev/sda7
             capacity: 7993MB
        *-logicalvolume:3
             description: Linux filesystem partition
             physical id: 8
             logical name: /dev/sda8
             capacity: 29GB
malbar@malbar-desktop:~$ sudo fdisk -l

Disk /dev/sda: 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/sda1 * 1 3825 30720000 7 HPFS/NTFS
/dev/sda2 3826 9729 47423880 5 Extended
/dev/sda5 3826 4334 4088511 83 لينوكس
/dev/sda6 4335 4843 4088511 82 Linux swap / Solaris
/dev/sda7 4844 5862 8185086 83 لينوكس
/dev/sda8 5863 9729 31061646 83 لينوكس

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Malbar please copy and paste /boot/grub/menu.lst here...
Thank you.

Revision history for this message
Paulo Henrique (paulohsm) said :
#2

Hi guys,

I'm with the same problem. I'm using Ubuntu 7.10 64bit and Vista 32bit.

the command

sudo fdisk -l

results:

==================================================
Disco /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00017dec

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1 * 1 2448 19663528+ 7 HPFS ou NTFS
/dev/sda2 2449 4897 19671592+ f Win95 (LBA) Partição Extendida
/dev/sda3 4898 17646 102406342+ 7 HPFS ou NTFS
/dev/sda4 17647 30394 102398310 83 Linux
/dev/sda5 2449 2572 995998+ 82 Linux swap / Solaris
/dev/sda6 2573 4897 18675531 83 Linux

Disco /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0xff814099

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sdb1 * 1 3892 31262458+ 7 HPFS ou NTFS
/dev/sdb2 3893 5851 15735667+ f Win95 (LBA) Partição Extendida
/dev/sdb3 5852 18906 104864287+ 7 HPFS ou NTFS
/dev/sdb4 18907 38913 160706227+ 83 Linux
/dev/sdb5 3893 4154 2104483+ 82 Linux swap / Solaris
/dev/sdb6 4155 5851 13631121 83 Linux
==================================================

The systems are in the second SATA hard disk (320Gb).

That's what says my /boot/grub/menu.lst file:

==================================================
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=a8d3d7d9-32cb-4e83-9c6f-655e94525a13 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=pt_BR

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=a8d3d7d9-32cb-4e83-9c6f-655e94525a13 ro quiet splash locale=pt_BR
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=a8d3d7d9-32cb-4e83-9c6f-655e94525a13 ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
==================================================

This is not the first time my Windows Vista stop booting after I install Ubuntu.

Can anyone give me some help?

Thanks!

Revision history for this message
Abhinav (abhinavhardikar) said :
#3

To get vista back just follow the steps given:

1) just enter your win vista bootable dvd and restart your computer
2) When it loads select repair computer.
3) Select your windows partition
4) On the next window select Command prompt
5) In the command prompt type:

cd boot
bootsect /NT60 All

6) restart your computer
7) And there your win vista will load.

If you still want to have a dual boot system please got to http://beacompsavvy.googlepages.com/installubuntu22.

Can you help with this problem?

Provide an answer of your own, or ask malbar for more information if necessary.

To post a message you must log in.