LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2012, 09:11 PM   #1
thereever
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
Installed ubuntu side by side with windows and now cant load windows


I went and downloaded ubuntu 12.10 today and burned it to a disk. Started the computer from the disk and installed Ubuntu from there and chose to install it with windows 7. Both are 64 bit. Now when I turn off the computer and try to load windows from the linux boot menu it just gives me a black screen saying error and then tells me to press ctrl + alt + delete and restarts the computer right back to the linux boot menu. I have tried the other partitions for windows recovery but it yields the same results. I can only load Ubuntu 12.10 for the OS. I can still access all my windows files from the hard drive. Every document and system file. I have tried going through the install disk but the only options are to erase and REinstall. Which is not what I want. Now I cant even get back into the install disk anymore, when I try to load it from the boot menu it just has a black screen and never loads. I have grown very impatient with this and as soon I get back on windows im deleting everything linux. Does anyone know how to fix this? Please help.
 
Old 12-29-2012, 10:23 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
Try running update-grub from the Live CD.

The responses at this link explain it pretty well.

http://askubuntu.com/questions/14524...-from-a-livecd

Last edited by frankbell; 12-29-2012 at 10:25 PM.
 
Old 12-29-2012, 11:27 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Recent Ubuntu versions usually have three install options on a machine that already contains an operating system:
Install Alongside, Erase disk and Install, or Something Else. You apparently selected Install Alongside so you did not see any output during the installation as to what was happening. Something Else would have been the better choice but if you have no experience installing an operating system, the Alongside option was probably a good choice. It would have been a good idea to read a little bit if you have not done this before as there are hundreds of tutorials on dual-booting Linux/windows and specifically Ubuntu/windows. No knowing what you are doing and expecting everything to magically work is not realistic. If you bothered with the License agreement, you would have seen that the software comes "with absolutely no warranty". Most free things don't have a warranty.

It would also help if you were clear about what is going on. You first state you can only load Ubuntu and later say you can't get back into the install disk. So what can you do now? The suggestion posted above might resolve the issue. If you could boot the CD/DVD there are other options but there isn't enough information to give specific advice.

Classic PEBKAC error.
 
1 members found this post helpful.
Old 12-30-2012, 12:21 AM   #4
thereever
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
frankbell: I did the grub update with no luck. Once I click windows on the boot screen it goes to a black screen saying disk read error, press ctrl, alt, delete to reset. I followed all the steps in the link provided.

yancek: Maybe you should re-read my post. Alongside would be a better option for first time users compared to something else because that gets into partitioning your hard drive which is something that first time users should be getting into. I never once said I didnt know what I was doing. I never once said I have never done this before. I have done this on 5 of my other computers with no issues but it was with Ubuntu 10.4. I never once said I magically expecting everything to work or I wouldnt be in here right trying to get a solution to my current issue that I am more than willing to spend the time needed and put the effort into it to fix the issue at hand. Why would you even bring up the license agreement and warranty? I never said anything about a warranty or that this is something that someone other than my self needed to fix.

I was pretty clear about everything that is going on. I first state that I can only load Ubuntu, meaning the Ubuntu 12.10 is installed and now an OS on my computer. I later say that I can not get back into the install disk. Let me explain what this means to you. When I turn my computer off and turn it back on and choose to boot the computer with the drive that I have placed the Ubuntu 12.10 install disk into It simply goes to a blank (black) screen, never really loading the install disk at all.

Later on after the letting the computer sit for a couple hours I was able to load the install disk following the steps above that I previously stated. It loaded up the menu for install with no choices to uninstall. I chose to reinstall but still ended up with the same results (stated in original question).
 
Old 12-30-2012, 01:41 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
I re-read your first post. Then I re-read my post. I don't recall why I made some of the comments, particularly about the warranty.

So let's start over and see if I understand. You have successfully installed Ubuntu 12.10 on the computer with windows 7 also on it.
You can boot to the installed Ubuntu 12.10, correct?
Did you run the 'sudo update-grub' command suggested by frankbell when you were booted to the installed Ubuntu?
When you run the update-grub command, you should see output in the terminal. If it works, you should see a message indicating windows was detected and often you will see two entries if you have a recovery partition. Did you see this when you ran update-grub?

The best way to get detailed information on a multi-boot system run from Linux (use your installed Ubuntu) is something called bootinfoscript. It will give detailed information on your drive(s)/partitions, boot files, UUIDs, etc. When run it will output a results.txt file which you can review and hopefully see where the problem is. Otherwise post it here:

http://sourceforge.net/projects/bootinfoscript/

There is a link to instructions in the Description box. Read it before running the program.
You should be able to repair this without the install disk.

Quote:
Later on after the letting the computer sit for a couple hours I was able to load the install disk following the steps above that I previously stated. It loaded up the menu for install with no choices to uninstall.
I'm not clear about the 'uninstall' part. You mean uninstall Ubuntu? Software programs can be uninstalled but operating systems not. The only time you could do that would be with something like a wubi install which isn't relevant here. You just format and install over it if you as you would with windows or any other system.

If you can't resolve the issue with the results.txt file from the bootinfoscript, post the output here.
 
1 members found this post helpful.
Old 12-30-2012, 02:15 PM   #6
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
I dont know if the 'update-grub' command works in GRUB2. I thought that was a GRUB Legacy thing. However it should had been issued from a terminal on the installed system and not in a Live Session. Another thing is that it should had been issued while you have root rights so do like 'sudo update-grub'

Since you can boot in Ubuntu here is the link to an article about the boot repair tool from the community documentation.
It looks very easy, I hope it helps.

https://help.ubuntu.com/community/Boot-Repair

Good luck to you.
 
1 members found this post helpful.
Old 12-30-2012, 08:06 PM   #7
thereever
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
I re-read your first post. Then I re-read my post. I don't recall why I made some of the comments, particularly about the warranty.

So let's start over and see if I understand. You have successfully installed Ubuntu 12.10 on the computer with windows 7 also on it.
You can boot to the installed Ubuntu 12.10, correct?
Did you run the 'sudo update-grub' command suggested by frankbell when you were booted to the installed Ubuntu?
When you run the update-grub command, you should see output in the terminal. If it works, you should see a message indicating windows was detected and often you will see two entries if you have a recovery partition. Did you see this when you ran update-grub?

The best way to get detailed information on a multi-boot system run from Linux (use your installed Ubuntu) is something called bootinfoscript. It will give detailed information on your drive(s)/partitions, boot files, UUIDs, etc. When run it will output a results.txt file which you can review and hopefully see where the problem is. Otherwise post it here:
Yes I can boot and run the installed Ubuntu 12.10.
I ran the sudo update-grub on the installed Ubuntu with no change in my issue. When I ran it I did see a message indicating windows was detected as well the entries for the recovery partition. I am posting results from boot info when I ran it to try to repair it.
 
Old 12-30-2012, 08:08 PM   #8
thereever
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TroN-0074 View Post
I dont know if the 'update-grub' command works in GRUB2. I thought that was a GRUB Legacy thing. However it should had been issued from a terminal on the installed system and not in a Live Session. Another thing is that it should had been issued while you have root rights so do like 'sudo update-grub'

Since you can boot in Ubuntu here is the link to an article about the boot repair tool from the community documentation.
It looks very easy, I hope it helps.

https://help.ubuntu.com/community/Boot-Repair

Good luck to you.
I ran boot repair, it said that it couldnt repair it. I posting the results from it below.
 
Old 12-30-2012, 08:17 PM   #9
thereever
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
This is the info I got after I ran boot repair. Sorry it is so long. I am not sure what all this means so maybe someone else can make sense of it.

Part 1:


Boot Info Script 0.61.full + Boot-Repair extra info [Boot-Info December 25th 2012]


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

=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
1299518296 of the same hard drive for core.img. core.img is at this
location and looks in partition 1 for (,msdos6)/boot/grub.

sda1: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /boot/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

File system: vfat
Boot sector type: Windows 7: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /Hewlett-Packard/BIOSUpdate/CryptRSA.efi
/Hewlett-Packard/BIOSUpdate/CryptRSA32.efi
/Hewlett-Packard/BIOSUpdate/HpBiosUpdate.efi
/Hewlett-Packard/BIOSUpdate/HpBiosUpdate32.efi
/Hewlett-Packard/SystemDiags/CryptRSA.efi
/Hewlett-Packard/SystemDiags/CryptRSA32.efi
/Hewlett-Packard/SystemDiags/SystemDiags.efi
/Hewlett-Packard/SystemDiags/SystemDiags32.efi

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /boot/bcd

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 409,599 407,552 7 NTFS / exFAT / HPFS
/dev/sda2 409,600 913,313,140 912,903,541 7 NTFS / exFAT / HPFS
/dev/sda3 1,464,936,448 1,465,147,119 210,672 b W95 FAT32
/dev/sda4 913,313,790 1,464,936,447 551,622,658 f W95 Extended (LBA)
/dev/sda5 1,401,518,080 1,464,936,447 63,418,368 7 NTFS / exFAT / HPFS
/dev/sda6 913,313,792 1,385,154,559 471,840,768 83 Linux
/dev/sda7 1,385,156,608 1,401,509,887 16,353,280 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 A47E6EBD7E6E87BE ntfs SYSTEM
/dev/sda2 324E8C644E8C22A9 ntfs
/dev/sda3 8EBA-149C vfat HP_TOOLS
/dev/sda5 0022C37322C36C6A ntfs RECOVERY
/dev/sda6 8281a113-1c08-4f1e-bd41-ad2055a1f259 ext4
/dev/sda7 70069423-ba73-47f1-8faf-2157bb6f7731 swap

================================ Mount points: =================================

Device Mount_Point Type Options

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


=========================== sda6/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 [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

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 {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 8281a113-1c08-4f1e-bd41-ad2055a1f259
else
search --no-floppy --fs-uuid --set=root 8281a113-1c08-4f1e-bd41-ad2055a1f259
fi
font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=10
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 ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
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' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8281a113-1c08-4f1e-bd41-ad2055a1f259' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 8281a113-1c08-4f1e-bd41-ad2055a1f259
else
search --no-floppy --fs-uuid --set=root 8281a113-1c08-4f1e-bd41-ad2055a1f259
fi
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=8281a113-1c08-4f1e-bd41-ad2055a1f259 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-8281a113-1c08-4f1e-bd41-ad2055a1f259' {
menuentry 'Ubuntu, with Linux 3.5.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-8281a113-1c08-4f1e-bd41-ad2055a1f259' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 8281a113-1c08-4f1e-bd41-ad2055a1f259
else
search --no-floppy --fs-uuid --set=root 8281a113-1c08-4f1e-bd41-ad2055a1f259
fi
echo 'Loading Linux 3.5.0-17-generic ...'
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=8281a113-1c08-4f1e-bd41-ad2055a1f259 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry 'Ubuntu, with Linux 3.5.0-17-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-8281a113-1c08-4f1e-bd41-ad2055a1f259' {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 8281a113-1c08-4f1e-bd41-ad2055a1f259
else
search --no-floppy --fs-uuid --set=root 8281a113-1c08-4f1e-bd41-ad2055a1f259
fi
echo 'Loading Linux 3.5.0-17-generic ...'
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=8281a113-1c08-4f1e-bd41-ad2055a1f259 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-17-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='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 8281a113-1c08-4f1e-bd41-ad2055a1f259
else
search --no-floppy --fs-uuid --set=root 8281a113-1c08-4f1e-bd41-ad2055a1f259
fi
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 8281a113-1c08-4f1e-bd41-ad2055a1f259
else
search --no-floppy --fs-uuid --set=root 8281a113-1c08-4f1e-bd41-ad2055a1f259
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-A47E6EBD7E6E87BE' {
insmod ldm
insmod ntfs
set root='ldm/6c4c7465-51e3-11e2-8f64-9e0632e330e7/Volume1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/6c4c7465-51e3-11e2-8f64-9e0632e330e7/Volume1' A47E6EBD7E6E87BE
else
search --no-floppy --fs-uuid --set=root A47E6EBD7E6E87BE
fi
chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-324E8C644E8C22A9' {
insmod ldm
insmod ntfs
set root='ldm/6c4c7465-51e3-11e2-8f64-9e0632e330e7/Volume2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/6c4c7465-51e3-11e2-8f64-9e0632e330e7/Volume2' 324E8C644E8C22A9
else
search --no-floppy --fs-uuid --set=root 324E8C644E8C22A9
fi
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (on /dev/sda5)' --class windows --class os $menuentry_id_option 'osprober-chain-0022C37322C36C6A' {
insmod ldm
insmod ntfs
set root='ldm/6c4c7465-51e3-11e2-8f64-9e0632e330e7/Volume5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/6c4c7465-51e3-11e2-8f64-9e0632e330e7/Volume5' 0022C37322C36C6A
else
search --no-floppy --fs-uuid --set=root 0022C37322C36C6A
fi
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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 ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
 
Old 12-30-2012, 08:18 PM   #10
thereever
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Part 2:



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

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# / was on /dev/sda6 during installation
UUID=8281a113-1c08-4f1e-bd41-ad2055a1f259 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda7 during installation
UUID=70069423-ba73-47f1-8faf-2157bb6f7731 none swap sw 0 0
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)

535.629634857 = 575.127941120 boot/grub/grub.cfg 1
436.445827484 = 468.630138880 boot/initrd.img-3.5.0-17-generic 1
595.635707855 = 639.558971392 boot/vmlinuz-3.5.0-17-generic 1
436.445827484 = 468.630138880 initrd.img 1
436.445827484 = 468.630138880 initrd.img.old 1
595.635707855 = 639.558971392 vmlinuz 1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda4

00000000 76 85 28 6f 0f 2a 49 21 2f 1f 04 87 10 1a 08 7a |v.(o.*I!/......z|
00000010 a6 63 12 d8 fb bf c1 29 29 29 61 9a 5a 75 26 d1 |.c.....)))a.Zu&.|
00000020 9d 75 e5 51 ad 05 5c 38 8a c0 16 19 68 46 1e a9 |.u.Q..\8....hF..|
00000030 7c 0c ae 1f dd 0f 7f a1 73 f0 d0 73 40 a9 e6 03 ||.......s..s@...|
00000040 7c 5e ca 14 dd ff 61 c2 50 ed 34 76 74 2a 36 d3 ||^....a.P.4vt*6.|
00000050 ba 4f fd 72 ed 81 c3 c9 3b 3f 58 82 ba 34 c9 38 |.O.r....;?X..4.8|
00000060 30 29 ab 79 f4 96 ba a6 c1 d2 c6 66 5c c2 62 23 |0).y.......f\.b#|
00000070 0c 88 b0 c5 5e eb e1 35 46 3c b3 10 54 d6 42 1c |....^..5F<..T.B.|
00000080 ee b5 ac 40 49 0e 9d a2 eb 7a b2 cb b1 b7 7d 85 |...@I....z....}.|
00000090 5d 72 d9 f1 7b 24 55 3d c9 0a 65 62 78 56 2e 30 |]r..{$U=..ebxV.0|
000000a0 19 89 60 e4 a8 2b 16 db aa 8a 67 05 a0 6f 84 eb |..`..+....g..o..|
000000b0 94 b9 73 6c 24 d8 de 03 91 31 12 33 d2 49 c8 e6 |..sl$....1.3.I..|
000000c0 b7 57 42 85 66 c0 33 b2 6a 81 b3 48 01 3c 1d ae |.WB.f.3.j..H.<..|
000000d0 27 76 51 76 ae 75 9f 65 92 39 05 4b c2 0b 08 22 |'vQv.u.e.9.K..."|
000000e0 8f a8 7b 23 d0 07 84 67 7b 0c e0 a9 2e 87 82 45 |..{#...g{......E|
000000f0 8a 96 47 a6 92 07 3f dd 29 0b 5e d4 04 7f 36 8e |..G...?.).^...6.|
00000100 cf cd 2f 47 6d 05 be c1 b1 b6 46 e7 d5 2b 18 28 |../Gm.....F..+.(|
00000110 85 90 f3 f8 25 9b 99 6e dd 60 b1 b5 17 ed ba 74 |....%..n.`.....t|
00000120 ac fe 2c 53 49 c9 26 8a a4 b8 03 60 65 ba 5f d2 |..,SI.&....`e._.|
00000130 be 5d ad 3c dd 6f ae 26 9c d1 43 6f 29 e9 09 2f |.].<.o.&..Co)../|
00000140 62 ee 0f 4a 9e 05 7b 05 6f e3 35 99 0e 64 d3 5a |b..J..{.o.5..d.Z|
00000150 83 90 e9 d4 2d 45 15 1d 00 e0 bd 44 97 3a 62 77 |....-E.....D.:bw|
00000160 5d 01 d4 84 96 47 66 40 df 12 8b c0 06 b3 35 ed |]....Gf@......5.|
00000170 18 ba 80 fc 79 72 82 a7 05 ea 6e 69 ea 26 c4 b2 |....yr....ni.&..|
00000180 04 98 4f 9f be 31 24 9a 52 cb 65 a0 79 b7 12 98 |..O..1$.R.e.y...|
00000190 59 f7 91 aa 44 3f 5c 69 b8 e9 4c f8 69 93 73 16 |Y...D?\i..L.i.s.|
000001a0 1e ab 7e 5a 59 81 94 fa 3a b3 37 b3 da 24 d6 0b |..~ZY...:.7..$..|
000001b0 29 49 6f d4 27 95 5f 98 ba 61 1b 06 27 5b 00 76 |)Io.'._..a..'[.v|
000001c0 ef ff 07 13 df ff 02 68 19 1d 00 b0 c7 03 00 fe |.......h........|
000001d0 ff ff 05 fe ff ff 01 00 00 00 01 b8 1f 1c 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200


=============================== StdErr Messages: ===============================

cat: write error: Broken pipe

ADDITIONAL INFORMATION :
=================== log of boot-repair 2012-12-30__19h04 ===================
boot-repair version : 3.197~ppa13~quantal
boot-sav version : 3.197~ppa13~quantal
glade2script version : 3.2.2~ppa45~quantal
boot-sav-extra version : 3.197~ppa13~quantal
boot-repair is executed in installed-session (Ubuntu 12.10, quantal, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic root=UUID=8281a113-1c08-4f1e-bd41-ad2055a1f259 ro quiet splash vt.handoff=7

=================== os-prober:
/dev/sda6:The OS now in use - Ubuntu 12.10 CurrentSession:linux
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda2:Windows Recovery Environment (loader):Windows1:chain
/dev/sda5:Windows Recovery Environment (loader):Windows2:chain

=================== blkid:
/dev/sda1: LABEL="SYSTEM" UUID="A47E6EBD7E6E87BE" TYPE="ntfs"
/dev/sda2: UUID="324E8C644E8C22A9" TYPE="ntfs"
/dev/sda3: LABEL="HP_TOOLS" UUID="8EBA-149C" TYPE="vfat"
/dev/sda5: LABEL="RECOVERY" UUID="0022C37322C36C6A" TYPE="ntfs"
/dev/sda6: UUID="8281a113-1c08-4f1e-bd41-ad2055a1f259" TYPE="ext4"
/dev/sda7: UUID="70069423-ba73-47f1-8faf-2157bb6f7731" TYPE="swap"


1 disks with OS, 4 OS : 1 Linux, 0 MacOS, 3 Windows, 0 unknown type OS.

Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.


=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

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 enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# 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_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"




=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Oct 17 10:59 grub.d
total 72
-rwxr-xr-x 1 root root 7541 Oct 14 13:36 00_header
-rwxr-xr-x 1 root root 5488 Oct 4 05:30 05_debian_theme
-rwxr-xr-x 1 root root 10891 Oct 14 13:36 10_linux
-rwxr-xr-x 1 root root 10258 Oct 14 13:36 20_linux_xen
-rwxr-xr-x 1 root root 1688 Oct 11 10:10 20_memtest86+
-rwxr-xr-x 1 root root 10976 Oct 14 13:36 30_os-prober
-rwxr-xr-x 1 root root 1426 Oct 14 13:36 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 14 13:36 40_custom
-rwxr-xr-x 1 root root 216 Oct 14 13:36 41_custom
-rw-r--r-- 1 root root 483 Oct 14 13:36 README


=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda6 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, .
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, recovery-or-hidden, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
sda5 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.

sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes


=================== parted -l:

Model: ATA Hitachi HTS54757 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 210MB 209MB primary ntfs boot
2 210MB 468GB 467GB primary ntfs
4 468GB 750GB 282GB extended lba
6 468GB 709GB 242GB logical ext4
7 709GB 718GB 8373MB logical linux-swap(v1)
5 718GB 750GB 32.5GB logical ntfs
3 750GB 750GB 108MB primary fat32

=================== parted -lm:

BYT;
/dev/sda:750GB:scsi:512:4096:msdos:ATA Hitachi HTS54757;
1:1049kB:210MB:209MB:ntfs::boot;
2:210MB:468GB:467GB:ntfs::;
4:468GB:750GB:282GB:::lba;
6:468GB:709GB:242GB:ext4::;
7:709GB:718GB:8373MB:linux-swap(v1)::;
5:718GB:750GB:32.5GB:ntfs::;
3:750GB:750GB:108MB:fat32::;


=================== mount:
/dev/sda6 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
gvfsd-fuse on /run/user/reever/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=reever)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda3 on /mnt/boot-sav/sda3 type vfat (rw)
/dev/sda5 on /mnt/boot-sav/sda5 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): agpgart alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fb1 fd freefall full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg log mapper mcelog mei mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom usb v4l vga_arbiter vhost-net video0 zero
ls /dev/mapper: control

=================== df -Th:

Filesystem Type Size Used Avail Use% Mounted on
/dev/sda6 ext4 222G 3.3G 207G 2% /
udev devtmpfs 3.8G 12K 3.8G 1% /dev
tmpfs tmpfs 1.6G 888K 1.6G 1% /run
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 3.9G 284K 3.9G 1% /run/shm
none tmpfs 100M 28K 100M 1% /run/user
/dev/sda1 fuseblk 199M 29M 171M 15% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 436G 162G 275G 38% /mnt/boot-sav/sda2
/dev/sda3 vfat 99M 16M 84M 16% /mnt/boot-sav/sda3
/dev/sda5 fuseblk 31G 26G 4.5G 86% /mnt/boot-sav/sda5

=================== fdisk -l:

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x40c486bc

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 409599 203776 7 HPFS/NTFS/exFAT
/dev/sda2 409600 913313140 456451770+ 7 HPFS/NTFS/exFAT
/dev/sda3 1464936448 1465147119 105336 b W95 FAT32
/dev/sda4 913313790 1464936447 275811329 f W95 Ext'd (LBA)
Partition 4 does not start on physical sector boundary.
/dev/sda5 1401518080 1464936447 31709184 7 HPFS/NTFS/exFAT
/dev/sda6 913313792 1385154559 235920384 83 Linux
/dev/sda7 1385156608 1401509887 8176640 82 Linux swap / Solaris

Partition table entries are not in disk order



=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub2 of sda6 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s


grub-install (GRUB) 2.00-7ubuntu11,grub-install (GRUB) 2.

Reinstall the GRUB of sda6 into the MBR of sda
/usr/sbin/grub-bios-setup: warning: this LDM has no Embedding Partition; embedding won't be possible.
/usr/sbin/grub-bios-setup: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-bios-setup: error: will not proceed with blocklists.
grub-install /dev/sda: exit code of grub-install /dev/sda:1

dd if=/dev/sda bs=512 count=1 skip=5 | hd
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200

dd if=/dev/sda bs=512 count=1 skip=1465149167 | hd
00000000 50 52 49 56 48 45 41 44 00 00 30 14 00 02 00 0c |PRIVHEAD..0.....|
00000010 01 cd e5 f0 fd a3 07 db 00 00 00 00 00 00 00 01 |................|
00000020 00 00 00 00 00 00 07 ff 00 00 00 00 00 00 07 40 |...............@|
00000030 36 63 34 63 37 34 36 36 2d 35 31 65 33 2d 31 31 |6c4c7466-51e3-11|
00000040 65 32 2d 38 66 36 34 2d 39 65 30 36 33 32 65 33 |e2-8f64-9e0632e3|
00000050 33 30 65 37 00 00 00 00 00 00 00 00 00 00 00 00 |30e7............|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 31 62 37 37 64 61 32 30 2d 63 37 31 37 2d 31 31 |1b77da20-c717-11|
00000080 64 30 2d 61 35 62 65 2d 30 30 61 30 63 39 31 64 |d0-a5be-00a0c91d|
00000090 62 37 33 63 00 00 00 00 00 00 00 00 00 00 00 00 |b73c............|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 36 63 34 63 37 34 36 35 2d 35 31 65 33 2d 31 31 |6c4c7465-51e3-11|
000000c0 65 32 2d 38 66 36 34 2d 39 65 30 36 33 32 65 33 |e2-8f64-9e0632e3|
000000d0 33 30 65 37 00 00 00 00 00 00 00 00 00 00 00 00 |30e7............|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000f0 48 45 4e 52 59 2d 48 50 2d 44 67 30 00 00 00 00 |HENRY-HP-Dg0....|
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000110 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000120 00 00 3f 00 00 00 00 57 54 5e b1 00 00 00 00 57 |..?....WT^.....W|
00000130 54 5e f0 00 00 00 00 00 00 08 00 00 00 00 00 00 |T^..............|
00000140 00 00 02 00 00 00 00 00 00 07 fd 00 00 00 01 00 |................|
00000150 00 00 01 00 00 00 00 00 00 05 c9 00 00 00 00 00 |................|
00000160 00 00 e0 40 c4 86 bc 00 00 00 00 00 00 00 00 00 |...@............|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200
LDM-blocker detected. Please backup your data before this operation. Do you want to continue? yes
dd if=/dev/zero of=/dev/sda bs=512 seek=1465149167 count=1
/usr/sbin/grub-bios-setup: warning: this LDM has no Embedding Partition; embedding won't be possible.
/usr/sbin/grub-bios-setup: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-bios-setup: error: will not proceed with blocklists.
grub-install /dev/sda: exit code of grub-install /dev/sda:1
Embedding-error-in-sda detected. You may want to retry after activating the [Separate /boot partition:] option.

update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.5.0-17-generic
Found initrd image: /boot/initrd.img-3.5.0-17-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda5
Unhide GRUB boot menu in sda6/boot/grub/grub.cfg

An error occurred during the repair.

You can now reboot your computer.


The boot files of [The OS now in use - Ubuntu 12.10] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)
 
Old 12-30-2012, 09:32 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
I haven't seen the line below in Grub2 before.

Quote:
insmod ldm
Googled it and found the page below:

https://bugs.launchpad.net/ubuntu/+s...2/+bug/1061255

Scroll down to Workaround 1 and click on the link. It takes you to another page which has a sample entry which should work:

Quote:
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set A47E6EBD7E6E87BE
chainloader +1
}
Copy this entry to your grub.cfg file. You might want to call it menuentry "Windows 7 chainload" to differentiate from the other entries. This assumes your windows boot/systems files on sda1, first drive first partition which is equivalent to (hd0,1) on Grub2. If that isn't the correct partition you will need to change it as well as the UUID (the letter/number combination after 'set'in line 4.

I would suggest you make a backup copy (if you don't have one) of the current grub.cfg file. Also make notes of any changes you make.
The newer Grub2 grub.cfg entries are different. Usually, Grub would just try to chainload to the windows partition which is what the above entry does. I don't know anything about 'ldm' other than what I read at the site above and don't have much familiarity with EFI do I don't really have any other suggestions.

If you get lucky and the above menuentry works, copy it to the 40_custom file in your Ubuntu folder: /etc/grub.d to make it permanent. Run sudo update-grub again.
 
1 members found this post helpful.
Old 12-31-2012, 01:01 AM   #12
thereever
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
yancek: Thanks for all your feedback. I am going to book mark this for future reference. I am not sure if this will work or not. By the time I saw this posting I changed Ubuntu 10.04. I started having multiple issues in 12.10 that I have not ever seen from linux. My wifi would go in and out without warning and it would take forever to load a webpage, the terminal started glitching on me. Sound would not stay active, it would go in and out like the wifi. and many other issues that I was beyond aggrivated with. So I thought about it for a minute and found a copy online of Ubuntu 10.04 and burnt the iso to a disk and ran that chose to dual boot with windows 7 to see if I would be able to get back on windows some how and it worked great. Once it installed and turned off to restart the boot screen loaded and I chose windows 7 and boom, right back to windows 7 with out a single issue. So thank you for trying to help out. And thank you to everyone else also.
 
Old 12-31-2012, 11:05 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Glad you got it working. Ubuntu 10.04 support will end in April, 2013. Of course one can still use it just no security updates or new software available which may or may not be a problem. 12.04 will have support for 5 years. I have 11.10 installed although I don't use it much and there were some major changes from earlier versions which took some getting used to. As long as it works, there isn't usually much reason to change.

https://wiki.ubuntu.com/Releases
 
Old 12-31-2012, 11:41 AM   #14
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
You can try to upgrade release from 10.04 to 12.04 using the upgrade manager. It takes longer so you can leave your computer ON over night while applying the upgrades.

Good luck to you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Side by side install of Linux with Windows 7 gallicbear Linux - Newbie 7 06-13-2011 11:11 AM
windows/ ubuntu side by side boot problem after ubuntu update. stephendickey Linux - Newbie 4 01-16-2011 12:00 AM
how can I view two windows side by side on my desktop Ubuntu 9.10 izquierdista Ubuntu 8 11-17-2009 01:52 PM
Installing SUSE 11.1 side by side with Ubuntu already installed on a USB drive jjchavez Linux - Laptop and Netbook 2 09-12-2009 02:39 PM
installing ubuntu along side windows linux virgin Linux - Software 1 02-17-2006 01:32 PM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration