Beowulf.1000
May 19th, 2010, 07:26 PM
Grub does not see my Windows 7 during Ubuntu (or Xubuntu, tried both) 64 bit install. Thus once ubuntu is installed I do not have the option of booting into my Windows 7 operating system. I need help fixing this!
Hardware:
1st sata drive is Windows 7 (ntfs) that has two partitions, one for Windows 7, another for some music composition software.
2nd sata drive is a data drive (ntfs)
PATA (ide) drive (hda) has Ubuntu on it, and is where I installed grub during install
I reconfigured BIOS so that boot (first) drive is the PATA drive.
Here is the output from 'fdisk -l'
beowulf@beowulf-desktop:/etc/default$ sudo fdisk -l
Disk /dev/sda: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2407c154
Device Boot Start End Blocks Id System
/dev/sda1 * 1 34103 273926144 7 HPFS/NTFS
/dev/sda2 34103 48642 116782080 7 HPFS/NTFS
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xed0ea986
Device Boot Start End Blocks Id System
/dev/sdb1 1 243202 1953512448 7 HPFS/NTFS
Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c3ff9
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 37333 299869184 83 Linux
/dev/sdc2 37333 38914 12699649 5 Extended
/dev/sdc5 37333 38914 12699648 82 Linux swap / Solaris
beowulf@beowulf-desktop:/etc/default$
How can I get grub modified so that my Windows 7 operating system is visible and is in the grub menu listing?
I am a bit nervous about these errors when I run 'sudo update-grub'
beowulf@beowulf-desktop:/etc/default$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
ERROR: nvidia: wrong # of devices in RAID set "nvidia_eahecbea-0" [1/2] on /dev/sda
ERROR: keeping degraded mirror set "nvidia_eahecbea"
done
beowulf@beowulf-desktop:/etc/default$
Here is my /etc/default/grab file contents:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Hardware:
1st sata drive is Windows 7 (ntfs) that has two partitions, one for Windows 7, another for some music composition software.
2nd sata drive is a data drive (ntfs)
PATA (ide) drive (hda) has Ubuntu on it, and is where I installed grub during install
I reconfigured BIOS so that boot (first) drive is the PATA drive.
Here is the output from 'fdisk -l'
beowulf@beowulf-desktop:/etc/default$ sudo fdisk -l
Disk /dev/sda: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2407c154
Device Boot Start End Blocks Id System
/dev/sda1 * 1 34103 273926144 7 HPFS/NTFS
/dev/sda2 34103 48642 116782080 7 HPFS/NTFS
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xed0ea986
Device Boot Start End Blocks Id System
/dev/sdb1 1 243202 1953512448 7 HPFS/NTFS
Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c3ff9
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 37333 299869184 83 Linux
/dev/sdc2 37333 38914 12699649 5 Extended
/dev/sdc5 37333 38914 12699648 82 Linux swap / Solaris
beowulf@beowulf-desktop:/etc/default$
How can I get grub modified so that my Windows 7 operating system is visible and is in the grub menu listing?
I am a bit nervous about these errors when I run 'sudo update-grub'
beowulf@beowulf-desktop:/etc/default$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
ERROR: nvidia: wrong # of devices in RAID set "nvidia_eahecbea-0" [1/2] on /dev/sda
ERROR: keeping degraded mirror set "nvidia_eahecbea"
done
beowulf@beowulf-desktop:/etc/default$
Here is my /etc/default/grab file contents:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"