Hi there I have a similiar problem.
Edit: Have re-read the post above and I will try that reinstalling 11.10 from a flash drive and see if that cure my ills ... ( I know the old windows is still there and judging by the ubuntu diagnostics the MBR seems to fine) .. I let you know the results !!
Edit 2: Okay guys solved and only one wee minor problem which is irritating and nothing more (I can't let it go
)
Not sure all of these steps were necessary and a lot of the difficulty was a poor WIN7 install image.
In the end I created a brand new 'bootable usb' with WIN7 Ultimate.
Fresh Install
Reformatted and partitioned the disk
Install went okay ( except for would not boot until 2nd attempt every time)
Tried /fixmbr and then cleaned it out and installed a fresh WIN7 MBR
However despite everything WIN7 will only load cleanly first attempt if F9 is pressed when it boot up .. otherwise it just beeps with a blank screen - you need to power off and select "start windows normally" on their "windows shut down unexpectedly" screen.
Not sure if this is just an option somewhere ?
Ubuntu 11.04 (edit: upgrading to 11.10 in process) I can boot into perfectly.
I am trying to reinstall WIN7 in order to dual boot as I want to use the Bluetooth for backing up my Blackberry and only on this machine (Acer Aspire One D250)
During the initial Ubuntu install (many moons ago) I decided I no longer needed WIN7 so I may have used it's partition when sizing the disk ... 90% sure but memory is lousy and the install is a distant faded and jaded .. (reasons notes should be kept)
However the problem is that the USB flash drive containing the WIN7 installs works to a point then states it cannot find device drivers. Any fixes for this fail because the flash drive mounts to the c:\ (I am assuming this from browsing the file dir from the load drivers dialogue box )
Anyway I have run the drive info script from sudo and this is the result .. (if anyone can help restore the windows boot option)
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub on this drive.
=> Windows is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows XP: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /boot/bcd
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 310,503,423 310,501,376 83 Linux
/dev/sda2 310,505,470 312,580,095 2,074,626 5 Extended
/dev/sda5 310,505,472 312,580,095 2,074,624 82 Linux swap / Solaris
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 8004 MB, 8004304896 bytes
255 heads, 63 sectors/track, 973 cylinders, total 15633408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 63 15,633,407 15,633,345 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 94108733-fa78-47f3-b04d-31fb682e442e ext4
/dev/sda5 4c57bb9e-d799-4c06-a5ad-c1ddbcbb46d3 swap
/dev/sdb1 6B1C-F558 vfat
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sdb1 /media/6B1C-F558 vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
=========================== sda1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 94108733-fa78-47f3-b04d-31fb682e442e
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 94108733-fa78-47f3-b04d-31fb682e442e
set locale_dir=($root)/boot/grub/locale
set lang=en_IN
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 94108733-fa78-47f3-b04d-31fb682e442e
linux /boot/vmlinuz-2.6.38-11-generic root=UUID=94108733-fa78-47f3-b04d-31fb682e442e ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-11-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-11-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 94108733-fa78-47f3-b04d-31fb682e442e
echo 'Loading Linux 2.6.38-11-generic ...'
linux /boot/vmlinuz-2.6.38-11-generic root=UUID=94108733-fa78-47f3-b04d-31fb682e442e ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-11-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 94108733-fa78-47f3-b04d-31fb682e442e
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=94108733-fa78-47f3-b04d-31fb682e442e ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 94108733-fa78-47f3-b04d-31fb682e442e
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=94108733-fa78-47f3-b04d-31fb682e442e ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 94108733-fa78-47f3-b04d-31fb682e442e
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 94108733-fa78-47f3-b04d-31fb682e442e
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda1/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 nodev,noexec,nosuid 0 0
# / was on /dev/sdb1 during installation
UUID=94108733-fa78-47f3-b04d-31fb682e442e / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=4c57bb9e-d799-4c06-a5ad-c1ddbcbb46d3 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
100.152034760 = 107.537428480 boot/grub/core.img 1
100.174812317 = 107.561885696 boot/grub/grub.cfg 1
72.268032074 = 77.597208576 boot/initrd.img-2.6.38-11-generic 2
104.255100250 = 111.943061504 boot/initrd.img-2.6.38-8-generic 2
50.177066803 = 53.877215232 boot/vmlinuz-2.6.38-11-generic 1
100.150306702 = 107.535572992 boot/vmlinuz-2.6.38-8-generic 1
72.268032074 = 77.597208576 initrd.img 2
104.255100250 = 111.943061504 initrd.img.old 2
50.177066803 = 53.877215232 vmlinuz 1
100.150306702 = 107.535572992 vmlinuz.old 1
=============================== StdErr Messages: ===============================
unlzma: Decoder error
Can anyone help me reinstall windows using usb flash preferably since I have no cd drive