PDA

View Full Version : [ubuntu] Ubuntu 9.10 / WinVista



jaycs
March 5th, 2010, 12:10 AM
Hello guys!

I'm new in linux world, so I decide start with ubuntu.I have a issue with ubuntu and windows vista.

After install a some upgrades in ubuntu, in grub menu is not showing the option for windows vista.

someone know how I can fix this issue?


thanks in advance

presence1960
March 5th, 2010, 12:40 AM
Boot into ubuntu and open a terminal. Run in terminal
sudo update-grubWatch the output in terminal and see if Vista is detected. if it is not detected do this:

Let's get a better look at your setup & boot process. Boot into Ubuntu. Come back here and do the following:

1. Download the boot info script. There is a link in my signature.
2. Move the boot info script to the desktop.
3. Open a terminal and run the command
sudo bash ~/Desktop/boot_info_script*.sh

This will create a RESULTS.txt file on the desktop. Paste the entire contents of that file back here. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

See here (http://bootinfoscript.sourceforge.net/) for more info on the boot info script.

Above link is to meierfra's Sourceforge web page.

jaycs
March 5th, 2010, 01:10 AM
Hi!


here is the output...


Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Lilo is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

sda1: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

sda2: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

sdb1: __________________________________________________ _______________________

File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x7a5c0998

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 337,236,479 337,234,432 7 HPFS/NTFS
/dev/sda2 337,236,480 488,392,064 151,155,585 5 Extended
/dev/sda5 337,236,543 482,142,779 144,906,237 83 Linux
/dev/sda6 482,142,843 488,392,064 6,249,222 82 Linux swap / Solaris


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x44fdfe06

Partition Boot Start End Size Id System

/dev/sdb1 63 976,768,064 976,768,002 c W95 FAT32 (LBA)


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda5 8bebda20-a594-4418-98cb-0333791f7a34 ext4
/dev/sda6 e9c4a11a-74a3-42dc-b077-4900688d1de0 swap
/dev/sdb1 ED0F-526A vfat KANYE

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro)
/dev/sdb1 /media/KANYE vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000, shortname=mixed,dmask=0077,utf8=1,flush)


=========================== sda5/boot/grub/grub.cfg: ===========================

#
# 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 8bebda20-a594-4418-98cb-0333791f7a34
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-20-generic" {
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 8bebda20-a594-4418-98cb-0333791f7a34
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=8bebda20-a594-4418-98cb-0333791f7a34 ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (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 8bebda20-a594-4418-98cb-0333791f7a34
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=8bebda20-a594-4418-98cb-0333791f7a34 ro single
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic" {
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 8bebda20-a594-4418-98cb-0333791f7a34
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=8bebda20-a594-4418-98cb-0333791f7a34 ro quiet splash
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic (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 8bebda20-a594-4418-98cb-0333791f7a34
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=8bebda20-a594-4418-98cb-0333791f7a34 ro single
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
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 8bebda20-a594-4418-98cb-0333791f7a34
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=8bebda20-a594-4418-98cb-0333791f7a34 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (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 8bebda20-a594-4418-98cb-0333791f7a34
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=8bebda20-a594-4418-98cb-0333791f7a34 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### 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 ###
### END /etc/grub.d/30_os-prober ###

### 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 ###

=============================== sda5/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation
UUID=8bebda20-a594-4418-98cb-0333791f7a34 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=e9c4a11a-74a3-42dc-b077-4900688d1de0 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

=================== sda5: Location of files loaded by Grub: ===================


176.3GB: boot/grub/core.img
176.3GB: boot/grub/grub.cfg
173.2GB: boot/initrd.img-2.6.31-14-generic
173.4GB: boot/initrd.img-2.6.31-19-generic
173.8GB: boot/initrd.img-2.6.31-20-generic
173.2GB: boot/vmlinuz-2.6.31-14-generic
173.2GB: boot/vmlinuz-2.6.31-19-generic
173.8GB: boot/vmlinuz-2.6.31-20-generic
173.8GB: initrd.img
173.4GB: initrd.img.old
173.8GB: vmlinuz
173.2GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda1

00000000 f3 8c c7 3e 82 99 60 aa 45 60 b5 29 2d 08 cb b0 |...>..`.E`.)-...|
00000010 27 ea 97 06 c9 64 b6 e1 a8 be a8 8f 12 f5 8a da |'....d..........|
00000020 92 74 9e 1a 67 c3 42 53 1c 00 56 95 f5 e2 11 9e |.t..g.BS..V.....|
00000030 15 56 f9 20 cd 12 43 e9 b4 b7 a2 ac d8 09 af 6d |.V. ..C........m|
00000040 38 17 fb db 51 dc bd 73 16 8f 7a 33 52 31 bf 24 |8...Q..s..z3R1.$|
00000050 da 1b b9 b3 a8 fd 66 dc 98 36 48 80 0d bb 2d 0f |......f..6H...-.|
00000060 fa de 3e cc 64 dc 8e 63 da fc 6b 23 51 f1 25 69 |..>.d..c..k#Q.%i|
00000070 a8 07 1e 3c ec 56 1b c2 cf 4e d2 e0 4d ad 5e 04 |...<.V...N..M.^.|
00000080 00 69 2a 45 ae db b4 a6 4f 7e 72 5d 67 d9 63 40 |.i*E....O~r]g.c@|
00000090 f7 dc 4c 53 a8 2f bd 31 b1 4d d8 c6 81 5b 1b f2 |..LS./.1.M...[..|
000000a0 2d a8 2b 49 18 a7 8f 60 6c d0 9e 62 e8 64 38 a8 |-.+I...`l..b.d8.|
000000b0 8a a3 c0 ca 82 08 70 f2 71 17 99 6d 93 d0 6c fa |......p.q..m..l.|
000000c0 81 b8 77 1d 52 05 d3 9c 4a 36 f2 cd dd 00 b1 cc |..w.R...J6......|
000000d0 41 42 d0 9f e8 37 5a 0c 3c 49 27 e2 5f c6 b4 9d |AB...7Z.<I'._...|
000000e0 d6 30 1c 81 f5 82 0c 68 10 5a 4f 0d fb 48 23 8e |.0.....h.ZO..H#.|
000000f0 4f 93 d8 52 96 82 ba 11 e0 68 1f 8d 20 be 22 5e |O..R.....h.. ."^|
00000100 56 3e 4d 4a 30 1a 36 82 ac 49 ac 0a f8 61 d9 ff |V>MJ0.6..I...a..|
00000110 0a 2a a9 fe 74 99 7b be 05 e6 e3 d7 c9 74 d8 eb |.*..t.{......t..|
00000120 93 c8 33 9c a0 b1 58 1c f4 6d 6a f3 ad 9a 7a 50 |..3...X..mj...zP|
00000130 58 dc 49 51 4b 04 1b da d8 0e 72 08 d9 29 24 7d |X.IQK.....r..)$}|
00000140 7c 3b 7d 63 60 a7 1a 05 7c fc ee 33 6b 49 4d 7a ||;}c`...|..3kIMz|
00000150 a8 23 8b 8e 9a b5 10 ed 5b 4e 55 8f 04 6f ea ef |.#......[NU..o..|
00000160 cc 21 b7 16 8f 5e bc 16 95 d7 28 8d 5c b1 b9 34 |.!...^....(.\..4|
00000170 dc 3f 97 51 20 00 8c e0 05 20 1d d2 9d 87 e4 52 |.?.Q .... .....R|
00000180 3a a5 99 a1 cd a6 c5 44 95 78 eb 19 21 0a 4a af |:......D.x..!.J.|
00000190 29 56 3a 3f 9c d3 3a e9 3f 95 0c 5f dd 9c 51 61 |)V:?..:.?.._..Qa|
000001a0 76 40 12 a9 74 ef 15 88 f8 10 60 b6 6f 95 cc d0 |v@..t.....`.o...|
000001b0 79 46 4c 5e c4 22 ce d5 d9 b2 12 c8 71 f4 ff a9 |yFL^."......q...|
000001c0 e3 e9 14 0d 52 f8 b9 69 ad 9b be c6 31 35 e5 63 |....R..i....15.c|
000001d0 4b 8c 4f 02 a7 9f 8f a9 6a 0d 48 29 a3 15 52 de |K.O.....j.H)..R.|
000001e0 30 f0 0f cb 5c 35 b6 19 5c d9 91 22 80 0e 71 f3 |0...\5..\.."..q.|
000001f0 5f 69 aa 99 83 bb 54 b1 19 0a de 5a 10 16 65 32 |_i....T....Z..e2|
00000200

presence1960
March 5th, 2010, 08:02 AM
your sda1 (Vista) partition has some problems- it can't be mounted. You also have an unknown bootloader on sda1. You need to get that straightened out first, then put GRUB2 on MBR of sda.

Boot off the Vista install DVD. Choose Repair. Then choose command prompt. Run
chkdsk C: /f After that is completed reboot without the DVD and see if windows boots.

If windows boots ok then reboot with the Ubuntu Live CD. Choose "try ubuntu without any changes." When the desktop loads open a terminal (Applications > Accessories > Terminal) & run
sudo mount /dev/sda5 /mntThis will mount your ubuntu / partition. next in terminal run
sudo grub-install --root-directory=/mnt/ /dev/sdaThis will put GRUB on MBR of sda. Reboot without the Live CD and boot into ubuntu. Open a terminal and run
sudo update-grub You should be good to go unless you are missing boot files for Vista.

Sorry for the delay, I had to bowl in my league this evening.