LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-29-2011, 09:05 AM   #1
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Rep: Reputation: 29
Having (more) dual boot problems (unbuntu, windows 7)


So, windows 7 has been installed on this computer, but I have need for certain open source software that I can find an equivalent substitute in windows (huh imagine that, someone needing open source programs!) Windows is on hd-. ubuntu on a separate drive, hd1. Everything works fine in GRUB, i can restart my machine multiple times and boot linux... until i go into windows, where it say "We have a problem, Jimmy!", and i'm assuming, thrashes the MBR around because windows is a mean little bully and denies the existence of any other OS in the world. windows will boot that one time, after "fixing" the "problem" but on future restarts, i get nothing booting, just a lonely black screen after the initial start up of "Loading Operating system" and it just sits there.

so, I know this is probably more of a windows problem, but they would deny any need to have a bootloader, let alone another OS, so any ideas on how to fix it?
 
Old 10-29-2011, 09:32 AM   #2
bryan641
Member
 
Registered: Mar 2011
Location: Ohio, USA
Distribution: Debian Stretch
Posts: 43

Rep: Reputation: 14
What version of grub are you using? I believe Grub 2's grub-mkconfig will recognize windows partitions and automatically create a bootup config that includes them. Not sure whether it looks for other hd's though.

If you're using an earlier version of grub, what does your Windows 7 section look like in /boot/grub/menu.lst? Should be something like this, I believe:
Code:
title Windows 7 
root (hd0,0)
savedefault
makeactive
chainloader +1
--Bryan
 
Old 10-29-2011, 10:21 AM   #3
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
I believe it is GRUB2 (the one that comes with the latest ubuntu release). It recognizes the partition, and i can load into windows 7 on any restart, the problem comes after that first load into windows, where it runs chkdsk and "repairs" (i believe) the MBR I'll restart now and try to cancel the chk dsk and see if that stops the problem
 
Old 10-29-2011, 10:37 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Which drive is grub on?
Are they sata drives?
 
Old 10-29-2011, 01:54 PM   #5
bryan641
Member
 
Registered: Mar 2011
Location: Ohio, USA
Distribution: Debian Stretch
Posts: 43

Rep: Reputation: 14
Ahh, I think I understand now. I'd had some issues with Windows (updates, I think) causing issues for me until I put grub on my linux partition and made that the bootable one, then let grub chainload the Windows partition.

--Bryan
 
Old 10-29-2011, 02:10 PM   #6
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
They are Sata drives, i let the ubuntu installer handle the partitions, so I can't honestly say i know where it put GRUB, but i'm pretty sure it's on the ubuntu install drive (which would be (1,0), i think.

I'm starting to think i might be better off adding one of my old drives to copy files onto and then just redoing everything.
 
Old 10-29-2011, 03:42 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
You could go to this site and download and run the bootinfoscript to get more detailed information on your system and all the boot files so you could get more help here:

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

There are instructions on using it at a link under Description.
 
Old 10-29-2011, 04:13 PM   #8
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
ok, so here's what i got from that progrm:

Code:
                  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 
    in partition 8 for ??.
 => 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:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   According to the info in the boot sector, sda4 has 
                       61439999 sectors, but according to the info from 
                       fdisk, it has 679018671 sectors.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /boot/grub/core.img

sdb6: __________________________________________________________________________

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

sdb7: __________________________________________________________________________

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

sdb8: __________________________________________________________________________

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

sdb9: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 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                  63         2,047         1,985  42 SFS
/dev/sda2    *          2,048       206,847       204,800  42 SFS
/dev/sda3             206,848   102,402,047   102,195,200  42 SFS
/dev/sda4         102,402,048   781,420,719   679,018,672  42 SFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 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               2,048   306,407,597   306,405,550   7 NTFS / exFAT / HPFS
/dev/sdb2         306,409,470   781,422,591   475,013,122   5 Extended
/dev/sdb5         405,100,544   764,651,519   359,550,976  83 Linux
/dev/sdb6         764,653,568   781,422,591    16,769,024  82 Linux swap / Solaris
/dev/sdb7         388,329,472   405,094,399    16,764,928  82 Linux swap / Solaris
/dev/sdb8         306,409,472   371,556,351    65,146,880  83 Linux
/dev/sdb9         371,558,400   388,323,327    16,764,928  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda2        3CAADC62AADC19EA                       ntfs       System Reserved
/dev/sda3        A088FF4288FF158E                       ntfs       
/dev/sda4        B042D30342D2CCEA                       ntfs       Steam
/dev/sdb1        56DC032FDC030947                       ntfs       Production Files
/dev/sdb5        697f5fdf-7afd-49cf-826b-0f01b44648ff   ext4       
/dev/sdb6        0e209576-3805-497b-958a-00f83c5ab85f   swap       
/dev/sdb7        8c2b3275-9069-4eed-82aa-e496eb51cb96   swap       
/dev/sdb8        fa2a37be-7876-4fcd-a7f3-f00a0a140926   ext4       
/dev/sdb9        b845684b-2145-49f3-b631-eb83efb9c5d6   swap       

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

Device           Mount_Point              Type       Options

/dev/sdb8        /                        ext4       (rw,errors=remount-ro,commit=0)


=========================== sdb5/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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set=root 697f5fdf-7afd-49cf-826b-0f01b44648ff
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd1,msdos5)'
  search --no-floppy --fs-uuid --set=root 697f5fdf-7afd-49cf-826b-0f01b44648ff
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
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 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos5)'
	search --no-floppy --fs-uuid --set=root 697f5fdf-7afd-49cf-826b-0f01b44648ff
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=697f5fdf-7afd-49cf-826b-0f01b44648ff ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-3.0.0-12-generic
}
menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos5)'
	search --no-floppy --fs-uuid --set=root 697f5fdf-7afd-49cf-826b-0f01b44648ff
	echo	'Loading Linux 3.0.0-12-generic ...'
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=697f5fdf-7afd-49cf-826b-0f01b44648ff ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.0.0-12-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='(hd1,msdos5)'
	search --no-floppy --fs-uuid --set=root 697f5fdf-7afd-49cf-826b-0f01b44648ff
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos5)'
	search --no-floppy --fs-uuid --set=root 697f5fdf-7afd-49cf-826b-0f01b44648ff
	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 {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set=root 3CAADC62AADC19EA
	chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

               =                boot/grub/core.img                             1
               =                boot/grub/grub.cfg                             1
               =                boot/initrd.img-3.0.0-12-generic               2
               =                boot/vmlinuz-3.0.0-12-generic                  1

=========================== sdb8/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='(hd1,msdos8)'
search --no-floppy --fs-uuid --set=root fa2a37be-7876-4fcd-a7f3-f00a0a140926
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd1,msdos8)'
  search --no-floppy --fs-uuid --set=root fa2a37be-7876-4fcd-a7f3-f00a0a140926
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
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 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos8)'
	search --no-floppy --fs-uuid --set=root fa2a37be-7876-4fcd-a7f3-f00a0a140926
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=fa2a37be-7876-4fcd-a7f3-f00a0a140926 ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-3.0.0-12-generic
}
menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos8)'
	search --no-floppy --fs-uuid --set=root fa2a37be-7876-4fcd-a7f3-f00a0a140926
	echo	'Loading Linux 3.0.0-12-generic ...'
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=fa2a37be-7876-4fcd-a7f3-f00a0a140926 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.0.0-12-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='(hd1,msdos8)'
	search --no-floppy --fs-uuid --set=root fa2a37be-7876-4fcd-a7f3-f00a0a140926
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos8)'
	search --no-floppy --fs-uuid --set=root fa2a37be-7876-4fcd-a7f3-f00a0a140926
	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 {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set=root 3CAADC62AADC19EA
	chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sdb8/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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sdb8 during installation
UUID=fa2a37be-7876-4fcd-a7f3-f00a0a140926 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb6 during installation
UUID=0e209576-3805-497b-958a-00f83c5ab85f none            swap    sw              0       0
# swap was on /dev/sdb7 during installation
UUID=8c2b3275-9069-4eed-82aa-e496eb51cb96 none            swap    sw              0       0
# swap was on /dev/sdb9 during installation
UUID=b845684b-2145-49f3-b631-eb83efb9c5d6 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

               =                boot/grub/core.img                             1
               =                boot/grub/grub.cfg                             1
               =                boot/initrd.img-3.0.0-12-generic               2
               =                boot/vmlinuz-3.0.0-12-generic                  1
               =                initrd.img                                     2
               =                vmlinuz                                        1

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

Unknown BootLoader on sda1

00000000  5e 8c 24 d8 a9 cb 08 97  ec 60 e0 7c 36 b1 32 c2  |^.$......`.|6.2.|
00000010  58 d4 5c 1e 12 ee ea 2f  06 9c 7d d1 ea ea 00 04  |X.\..../..}.....|
00000020  69 4d a2 9e 7b de c6 b3  8f 6d 35 e7 8b dd 89 b0  |iM..{....m5.....|
00000030  e4 c2 73 46 75 25 1f 0b  c4 f5 ad be e1 3d b3 0c  |..sFu%.......=..|
00000040  18 db 20 7d a5 e2 ee 6b  68 53 56 cc 93 6d c0 f3  |.. }...khSV..m..|
00000050  ba dc 69 4b 12 7b 39 19  75 e9 4d a4 b0 49 09 29  |..iK.{9.u.M..I.)|
00000060  8b de 00 88 96 e6 96 63  b2 31 65 38 3f 85 f5 44  |.......c.1e8?..D|
00000070  c0 8d 0d 9e e5 a3 a2 df  0b 60 2d cf 3d 77 44 7b  |.........`-.=wD{|
00000080  15 ef a3 2b d8 61 07 aa  8a 67 79 d7 44 0c 09 4f  |...+.a...gy.D..O|
00000090  52 fa 4e 95 b5 ab f9 e6  30 b2 1d 9d 29 2e b2 b9  |R.N.....0...)...|
000000a0  ad 1a 51 b5 f2 d3 2d 09  24 6d 9e 46 b3 4d 02 4d  |..Q...-.$m.F.M.M|
000000b0  8e 17 85 0c 91 c1 f9 84  64 5c f6 d4 a9 11 03 03  |........d\......|
000000c0  d4 11 00 1e 2c 14 80 76  c1 e8 76 45 65 d5 8a a6  |....,..v..vEe...|
000000d0  ea ec 83 c6 fc af 07 ba  05 45 45 42 7c 71 53 50  |.........EEB|qSP|
000000e0  8a f0 39 0e 9e d3 55 56  16 db 13 2d c6 fe a4 9d  |..9...UV...-....|
000000f0  3f 8b 43 c5 43 e8 0e 53  1e eb 57 28 af 31 e1 3b  |?.C.C..S..W(.1.;|
00000100  68 15 7b 68 2f 72 0c c4  95 ec 15 46 7a 9e 54 c1  |h.{h/r.....Fz.T.|
00000110  ad 58 60 2c c3 4f 3b df  42 f5 b7 b1 3c 09 50 f0  |.X`,.O;.B...<.P.|
00000120  d0 8a 1f c5 c7 a0 e7 70  96 e5 91 04 82 5e a6 80  |.......p.....^..|
00000130  57 a8 61 5f 6a aa cf df  a9 9a b7 1c d5 48 d6 0b  |W.a_j........H..|
00000140  60 9f a4 79 fa c2 b2 23  f8 9b d0 5f 77 17 50 e6  |`..y...#..._w.P.|
00000150  ed 95 27 7d 04 54 1a 4c  05 6f 1e 77 78 df b7 85  |..'}.T.L.o.wx...|
00000160  4e 2a 6d bf 3b f8 90 8d  42 07 3c c4 e2 99 31 5b  |N*m.;...B.<...1[|
00000170  bb 29 ed 14 8e 4e fc c7  58 43 e5 26 95 46 0a 8d  |.)...N..XC.&.F..|
00000180  cf 09 80 be b1 ba 22 d6  32 f1 5f 63 41 79 64 f8  |......".2._cAyd.|
00000190  44 15 72 36 5f a2 20 41  37 17 2d 0b 3d b7 d7 fb  |D.r6_. A7.-.=...|
000001a0  99 83 82 91 e4 36 38 55  59 21 cb 81 20 fc da ea  |.....68UY!.. ...|
000001b0  fb 57 9d 5b c9 07 f3 99  6c eb 4e 12 e5 81 0b f2  |.W.[....l.N.....|
000001c0  70 da 7c f4 72 1c 0c 01  93 db 2e c0 a0 d3 47 1a  |p.|.r.........G.|
000001d0  fb 1f 9d 15 e9 c7 43 8d  c8 eb 4f ed 2e f6 bd 63  |......C...O....c|
000001e0  82 69 3c 6e ea e1 b1 c7  97 15 40 5c 8f 57 85 e6  |.i<n......@\.W..|
000001f0  86 7c 4b 61 4f e1 9f f1  d0 68 9e 99 3c 4b 36 af  |.|KaO....h..<K6.|
00000200


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

awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
 
Old 10-29-2011, 05:52 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I'm a little surprised that boots at all.
I've not found Win7 itself causes the MBR to be reset, but some Dell utilities do - is this a Dell by any chance ?.

As a test, reboot Win, after the black screen, reboot a Linux liveCD and rerun the bootinfoscript. Let's see what the differences are.
 
Old 10-29-2011, 08:24 PM   #10
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
I believe 'super grub disk' and 'plop boot manager' on cd can be used to boot and they will find all operating systems on the machine for loading.

Also once you start linux run command 'sudo update-grub' in terminal and then reboot the computer; it may correct grub installation.

You can also try going to bios boot menu and choosing the second hard disk for booting.

(Note: as syg00 said: backup data before doing system changes)

Last edited by rng; 10-29-2011 at 08:55 PM.
 
Old 10-29-2011, 09:38 PM   #11
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
It is not a dell, it's actually custom built, by myself.

I decided to go ahead and reinstall everything. Windows went in first, then ubunutu. As of right now, windows is in a continuous reload whenever i try to boot into it though. going to run the shell script again, i think i remember seeing a post with a similar issue
 
Old 10-29-2011, 09:58 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Ahh, I think I understand now. I'd had some issues with Windows (updates, I think) causing issues for me until I put grub on my linux partition and made that the bootable one, then let grub chainload the Windows partition.
With sata drives you can have either 1 selected to boot. Meaning you can disconnect the drives to repair boot loaders.On my system I have wins7 & Debian on seperate drives, where as I can select to boot wins 7 drive first or my second drive which has debian (grub2) where I can select either of the OS'es.
If you know what drive has wins 7 then repair it, but if your grub was on that drive then you won't be able to access grub to boot ubuntu.
I myself would then disconnect wins drive & repair grub, reboot select ubuntu drive as first boot device, then update-grub will give access to wins drive.
 
Old 10-30-2011, 12:28 AM   #13
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
The initial setup had grub2 on mbr of first hard disk (sda) where windows was installed and windows-mbr on mbr of second hard disk (sdb) which had Linux installed. Although it can be configured this way also, it adds unnecessary complexity. Also there were 3 swaps partitions while only one should be sufficient. It will be interesting to see the bootinfoscript output now.
 
Old 10-30-2011, 07:29 AM   #14
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
Ok, i think I have it solved. I removed all but 1 drive, and installed both oses, and a bootloader partition on that drive, and i was able to load into windows and then restart and GRUB2 still came up. Hopefully adding the other drive won't screw things up...
 
Old 11-06-2011, 07:18 PM   #15
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
How did you manage a separate bootloader partition?
 
  


Reply



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
Dual Boot Unbuntu and Windows XP (Unbuntu Installed First). Mad4Macintosh Linux - Newbie 16 03-20-2009 10:37 AM
Windows, FC4 dual boot problems ZeroIdea Fedora 3 10-26-2005 03:25 PM
Dual Boot Windows/Fedora On a Dell Problems Believer Linux - Newbie 2 08-28-2004 12:39 AM
Problems with windows/Linux dual boot jkt Linux - Software 5 02-07-2004 02:54 PM
Dual Boot Problems with Mandrake and Windows XP Pro JDog2112.eXe Mandriva 3 12-07-2003 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:54 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
Open Source Consulting | Domain Registration