Skip to main content

Thread: Lucid Lynx 10.04 Dual Boot, Lost Windows Vista


i have dell inspiron came delivered 80gb hard disk running windows vista.


had been dual booting ubuntu until upgraded 10.04 lucid lynx.


on upgrading, when rebooted machine saw option boot linux (ubuntu) not windows vista expected.


when chose linux computer boot linux expected.


no option boot windows vista!


suspect grub problem.


can tell me how edit grub menu can boot vista please?


below summary of disc partitions


label size used unused flags
/dev/sda1 fat16 dell utility 86.26 mb 7.06mb 79.20mb
/dev/sda2 ntfs recovery 10gb 3.22gb 6.78gb
/dev/sda3 ntfs os 46,27gb boot
/dev/sda4 extended
/dev/sda6 ext4 15.45gb 14.01gb 1.44gb “ubuntu”


, copy of boot script


boot info script 0.55 dated february 15th, 2010


============================= boot info summary: =========================


=> grub 2 installed in mbr of /dev/sda , looks on same drive in


partition #6 /boot/grub.






sda1: __________________________________________________ _______________________






file system: vfat


boot sector type: dell utility: fat16


boot sector info: no errors found in boot parameter block.


operating system:


boot files/dirs: /command.com






sda2: __________________________________________________ _______________________






file system: ntfs


boot sector type: windows vista/7


boot sector info: no errors found in boot parameter block.


operating system:


boot files/dirs:






sda3: __________________________________________________ _______________________






file system: ntfs


boot sector type: windows vista/7


boot sector info: no errors found in boot parameter block.


operating system: windows vista


boot files/dirs: /bootmgr /boot/bcd /windows/system32/winload.exe






sda4: __________________________________________________ _______________________






file system: extended partition


boot sector type: -


boot sector info:






sda5: __________________________________________________ _______________________






file system: vfat


boot sector type: vista: fat 32


boot sector info: no errors found in boot parameter block.


operating system: windows xp


boot files/dirs: /boot.ini /bootmgr /ntldr /ntdetect.com






sda6: __________________________________________________ _______________________






file system: ext4


boot sector type: -


boot sector info:


operating system: ubuntu 10.04 lts


boot files/dirs: /grub/grub.cfg /boot/grub/grub.cfg /etc/fstab


/boot/grub/core.img






sda7: __________________________________________________ _______________________






file system: swap


boot sector type: -


boot sector info:






=========================== drive/partition info: =============================






drive: sda ___________________ __________________________________________________ ___






disk /dev/sda: 80.0 gb, 80026361856 bytes


255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors


units = sectors of 1 * 512 = 512 bytes


sector size (logical/physical): 512 bytes / 512 bytes






partition boot start end size id system






/dev/sda1 63 176,714 176,652 de dell utility


/dev/sda2 178,176 21,149,695 20,971,520 7 hpfs/ntfs


/dev/sda3 * 21,149,696 118,180,063 97,030,368 7 hpfs/ntfs


/dev/sda4 118,190,266 156,299,263 38,108,998 f w95 ext d (lba)


/dev/sda5 152,107,008 156,299,263 4,192,256 dd dell media direct


/dev/sda6 118,190,268 150,593,309 32,403,042 83 linux


/dev/sda7 150,593,373 152,103,419 1,510,047 82 linux swap / solaris










blkid -c /dev/null: __________________________________________________ __________






device uuid type label






/dev/sda1 07d7-031b vfat dellutility


/dev/sda2 6ae687ffe687ca31 ntfs recovery


/dev/sda3 50ea8b50ea8b3170 ntfs os


/dev/sda4: pttype="dos"


/dev/sda5 1c8f-af23 vfat mediadirect


/dev/sda6 ffb33961-3fdd-4ee4-b36a-e3933a8758df ext4


/dev/sda7 2a7b911f-ab7c-4a27-81cf-39c3dc67a59f swap


/dev/sda: pttype="dos"






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






device mount_point type options






/dev/sda6 / ext4 (rw,errors=remount-ro)










================================ sda5/boot.ini: ================================






[boot loader]


timeout=0


default=multi(0)disk(0)rdisk(0)partition(1)\window s


[operating systems]


multi(0)disk(0)rdisk(0)partition(1)\windows="micro soft windows xp embedded" /fastdetect /kernel=ntosboot.exe /maxmem=768






============================= sda6/grub/grub.cfg: =============================






#


# not edit file


#


# automatically generated /usr/sbin/grub-mkconfig using templates


# /etc/grub.d , settings /etc/default/grub


#






### begin /etc/grub.d/00_header ###


if [ -s $prefix/grubenv ]; then


load_env


fi


set default="0"


if [ ${prev_saved_entry} ]; then


set saved_entry=${prev_saved_entry}


save_env saved_entry


set prev_saved_entry=


save_env prev_saved_entry


set boot_once=true


fi






function savedefault {


if [ -z ${boot_once} ]; then


saved_entry=${chosen}


save_env saved_entry


fi


}






function recordfail {


set recordfail=1


if [ -n ${have_grubenv} ]; if [ -z ${boot_once} ]; save_env recordfail; 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/light-gray


### end /etc/grub.d/05_debian_theme ###






### begin /etc/grub.d/10_linux ###


### end /etc/grub.d/10_linux ###






### begin /etc/grub.d/20_memtest86+ ###


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


# file provides easy way add custom menu entries. type the


# menu entries want add after comment. careful not change


# 'exec tail' line above.


### end /etc/grub.d/40_custom ###






=========================== sda6/boot/grub/grub.cfg: ===========================






#


# not edit file


#


# automatically generated /usr/sbin/grub-mkconfig using templates


# /etc/grub.d , settings /etc/default/grub


#






### begin /etc/grub.d/00_header ###


if [ -s $prefix/grubenv ]; then


load_env


fi


set default="0"


if [ ${prev_saved_entry} ]; then


set saved_entry=${prev_saved_entry}


save_env saved_entry


set prev_saved_entry=


save_env prev_saved_entry


set boot_once=true


fi






function savedefault {


if [ -z ${boot_once} ]; then


saved_entry=${chosen}


save_env saved_entry


fi


}






function recordfail {


set recordfail=1


if [ -n ${have_grubenv} ]; if [ -z ${boot_once} ]; save_env recordfail; fi; fi


}


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


if loadfont /usr/share/grub/unicode.pf2 ; then


set gfxmode=640x480


insmod gfxterm


insmod vbe


if terminal_output gfxterm ; true ; else


# backward compatibility versions of terminal.mod don't


# understand terminal_output


terminal gfxterm


fi


fi


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


set locale_dir=($root)/boot/grub/locale


set lang=en


insmod gettext


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/light-gray


### end /etc/grub.d/05_debian_theme ###






### begin /etc/grub.d/10_linux ###


menuentry 'ubuntu, linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


linux /boot/vmlinuz-2.6.32-21-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro quiet splash


initrd /boot/initrd.img-2.6.32-21-generic


}


menuentry 'ubuntu, linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


echo 'loading linux 2.6.32-21-generic ...'


linux /boot/vmlinuz-2.6.32-21-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro single


echo 'loading initial ramdisk ...'


initrd /boot/initrd.img-2.6.32-21-generic


}


menuentry 'ubuntu, linux 2.6.31-20-generic' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


linux /boot/vmlinuz-2.6.31-20-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro quiet splash


initrd /boot/initrd.img-2.6.31-20-generic


}


menuentry 'ubuntu, linux 2.6.31-20-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


echo 'loading linux 2.6.31-20-generic ...'


linux /boot/vmlinuz-2.6.31-20-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro single


echo 'loading initial ramdisk ...'


initrd /boot/initrd.img-2.6.31-20-generic


}


menuentry 'ubuntu, linux 2.6.31-19-generic' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


linux /boot/vmlinuz-2.6.31-19-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro quiet splash


initrd /boot/initrd.img-2.6.31-19-generic


}


menuentry 'ubuntu, linux 2.6.31-19-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


echo 'loading linux 2.6.31-19-generic ...'


linux /boot/vmlinuz-2.6.31-19-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro single


echo 'loading initial ramdisk ...'


initrd /boot/initrd.img-2.6.31-19-generic


}


menuentry 'ubuntu, linux 2.6.31-17-generic' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


linux /boot/vmlinuz-2.6.31-17-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro quiet splash


initrd /boot/initrd.img-2.6.31-17-generic


}


menuentry 'ubuntu, linux 2.6.31-17-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


echo 'loading linux 2.6.31-17-generic ...'


linux /boot/vmlinuz-2.6.31-17-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro single


echo 'loading initial ramdisk ...'


initrd /boot/initrd.img-2.6.31-17-generic


}


menuentry 'ubuntu, linux 2.6.31-16-generic' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


linux /boot/vmlinuz-2.6.31-16-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro quiet splash


initrd /boot/initrd.img-2.6.31-16-generic


}


menuentry 'ubuntu, linux 2.6.31-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


echo 'loading linux 2.6.31-16-generic ...'


linux /boot/vmlinuz-2.6.31-16-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro single


echo 'loading initial ramdisk ...'


initrd /boot/initrd.img-2.6.31-16-generic


}


menuentry 'ubuntu, linux 2.6.31-15-generic' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


linux /boot/vmlinuz-2.6.31-15-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro quiet splash


initrd /boot/initrd.img-2.6.31-15-generic


}


menuentry 'ubuntu, linux 2.6.31-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


echo 'loading linux 2.6.31-15-generic ...'


linux /boot/vmlinuz-2.6.31-15-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro single


echo 'loading initial ramdisk ...'


initrd /boot/initrd.img-2.6.31-15-generic


}


menuentry 'ubuntu, linux 2.6.31-14-generic' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


linux /boot/vmlinuz-2.6.31-14-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro quiet splash


initrd /boot/initrd.img-2.6.31-14-generic


}


menuentry 'ubuntu, linux 2.6.31-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {


recordfail


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


echo 'loading linux 2.6.31-14-generic ...'


linux /boot/vmlinuz-2.6.31-14-generic root=uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df ro single


echo 'loading initial ramdisk ...'


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+)" {


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


linux16 /boot/memtest86+.bin


}


menuentry "memory test (memtest86+, serial console 115200)" {


insmod ext2


set root='(hd0,6)'


search --no-floppy --fs-uuid --set ffb33961-3fdd-4ee4-b36a-e3933a8758df


linux16 /boot/memtest86+.bin console=ttys0,115200n8


}


### end /etc/grub.d/20_memtest86+ ###






### begin /etc/grub.d/30_os-prober ###


menuentry "dell utility partition (on /dev/sda1)" {


insmod fat


set root='(hd0,1)'


search --no-floppy --fs-uuid --set 07d7-031b


drivemap -s (hd0) ${root}


chainloader +1


}


menuentry "windows recovery environment (loader) (on /dev/sda3)" {


insmod ntfs


set root='(hd0,3)'


search --no-floppy --fs-uuid --set 50ea8b50ea8b3170


drivemap -s (hd0) ${root}


chainloader +1


}


menuentry "microsoft windows xp embedded (on /dev/sda5)" {


insmod fat


set root='(hd0,5)'


search --no-floppy --fs-uuid --set 1c8f-af23


drivemap -s (hd0) ${root}


chainloader +1


}


### end /etc/grub.d/30_os-prober ###






### begin /etc/grub.d/40_custom ###


# file provides easy way add custom menu entries. type the


# menu entries want add after comment. careful not change


# 'exec tail' line above.


### end /etc/grub.d/40_custom ###






=============================== sda6/etc/fstab: ===============================






# /etc/fstab: static file system information.


#


# use 'blkid -o value -s uuid' print universally unique identifier


# device; may used uuid= more robust way name


# devices works if disks added , removed. see fstab(5).


#


# <file system> <mount point> <type> <options> <dump> <pass>


proc /proc proc defaults 0 0


# / on /dev/sda6 during installation


uuid=ffb33961-3fdd-4ee4-b36a-e3933a8758df / ext4 errors=remount-ro 0 1


# swap on /dev/sda7 during installation


uuid=2a7b911f-ab7c-4a27-81cf-39c3dc67a59f none swap sw 0 0






=================== sda6: location of files loaded grub: ===================










60.9gb: boot/grub/core.img


63.7gb: boot/grub/grub.cfg


70.7gb: boot/initrd.img-2.6.31-14-generic


70.9gb: boot/initrd.img-2.6.31-15-generic


62.7gb: boot/initrd.img-2.6.31-16-generic


70.1gb: boot/initrd.img-2.6.31-17-generic


73.1gb: boot/initrd.img-2.6.31-19-generic


64.8gb: boot/initrd.img-2.6.31-20-generic


61.0gb: boot/initrd.img-2.6.32-21-generic


62.6gb: boot/vmlinuz-2.6.31-14-generic


71.5gb: boot/vmlinuz-2.6.31-15-generic


68.7gb: boot/vmlinuz-2.6.31-16-generic


61.2gb: boot/vmlinuz-2.6.31-17-generic


73.1gb: boot/vmlinuz-2.6.31-19-generic


66.9gb: boot/vmlinuz-2.6.31-20-generic


65.9gb: boot/vmlinuz-2.6.32-21-generic


76.7gb: grub/grub.cfg


61.0gb: initrd.img


64.8gb: initrd.img.old


65.9gb: vmlinuz


66.9gb: vmlinuz.old

it's confusion type of boot files detected grub2. don't know why, happens sometimes.

vista on /dev/sda3 that's it, if grub menu calling recovery environment.

if select should boot vista.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Lucid Lynx 10.04 Dual Boot, Lost Windows Vista


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO