dual boot

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

dual boot

Postby rallen32 on Sun Jul 29, 2012 3:49 pm

hi, i am a novice at this kinda stuff and retired, just to give you a bit of a picture..
just now i have windows 7 on one partition and Mint on another. I rarely use Windows but have somehow lost the ability to boot into it. It just says it isnt there

here is a list from fdisk -l
Code: Select all
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x7ed84752

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          52      409600    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              52       35305   283173886+   7  HPFS/NTFS
/dev/sda3           35305       60802   204801025    5  Extended
/dev/sda5           35305       59792   196690944   83  Linux
/dev/sda6           59792       60802     8109056   82  Linux swap / Solaris

can anyone advise?
Sorry if this is wrong place or wrong way to ask
Bob
rallen32
Level 1
Level 1
 
Posts: 3
Joined: Sun Jul 29, 2012 3:18 pm

Linux Mint is funded by ads and donations.
 

Re: dual boot

Postby xenopeek on Sun Jul 29, 2012 4:22 pm

What does the output of the following command say?
Code: Select all
sudo update-grub2

If that doesn't resolve the problem, please follow my steps detailed in viewtopic.php?f=46&t=104957&p=592874#p592970 to run the boot info script and share its output with us as given there.
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10544
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: dual boot

Postby rallen32 on Tue Jul 31, 2012 7:24 am

Hi I just saw your post..have been using my windows repair cd. ran startup repair. went to Mint ran update grub as previously advised. Got options for windows 7 back but it says it is not a bootable disk and asks for floppy.??

in response to your reply i gor this readout

bob@bob-PORTEGE-R700 ~ $ sudo update-grub2
[sudo] password for bob:
Generating grub.cfg ...
Found background image: linuxmint.png
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
bob@bob-PORTEGE-R700 ~ $
rallen32
Level 1
Level 1
 
Posts: 3
Joined: Sun Jul 29, 2012 3:18 pm

Re: dual boot

Postby rallen32 on Tue Jul 31, 2012 7:34 am

Result from bootinforscript

Boot Info Script 0.61 [1 April 2012]


============================= 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 (,msdos5)/boot/grub on this drive.

sda1: __________________________________________________________________________

File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sda1 starts
at sector 0. But according to the info from fdisk,
sda1 starts at sector 2048.
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: /grldr /Windows/System32/winload.exe /grldr

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 11 Katya
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 821,247 819,200 7 NTFS / exFAT / HPFS
/dev/sda2 821,248 567,169,020 566,347,773 7 NTFS / exFAT / HPFS
/dev/sda3 567,169,022 976,771,071 409,602,050 5 Extended
/dev/sda5 567,169,024 960,550,911 393,381,888 83 Linux
/dev/sda6 960,552,960 976,771,071 16,218,112 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 ACA5-DA42 vfat New Volume
/dev/sda2 A6AA2BB2AA2B7E45 ntfs Windows
/dev/sda5 37b88b66-3968-4206-a674-254267913a7a ext4
/dev/sda6 2a191b6f-b4d3-486e-91b0-7feb31dc196f swap

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

Device Mount_Point Type Options

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


========================== sda2/grldr embedded menu: ===========================

--------------------------------------------------------------------------------
pxe detect
configfile
default 0
timeout 1

title find /menu.lst, /boot/grub/menu.lst, /grub/menu.lst
errorcheck off
configfile /MENU.LST
configfile /BOOT/GRUB/MENU.LST
configfile /GRUB/MENU.LST
find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst && configfile /boot/grub/menu.lst
find --set-root --ignore-floppies --ignore-cd /grub/menu.lst && configfile /grub/menu.lst
errorcheck on
commandline

title commandline
commandline

title reboot
reboot

title halt
halt


--------------------------------------------------------------------------------

=========================== sda5/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,msdos5)'
search --no-floppy --fs-uuid --set=root 37b88b66-3968-4206-a674-254267913a7a
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,msdos5)'
search --no-floppy --fs-uuid --set=root 37b88b66-3968-4206-a674-254267913a7a
set locale_dir=($root)/boot/grub/locale
set lang=en_GB
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 ###
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 37b88b66-3968-4206-a674-254267913a7a
insmod png
if background_image /boot/grub/linuxmint.png; then
true
else
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 37b88b66-3968-4206-a674-254267913a7a
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_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 'Linux Mint 11, 2.6.38-8-generic (/dev/sda5)' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 37b88b66-3968-4206-a674-254267913a7a
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=37b88b66-3968-4206-a674-254267913a7a ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Linux Mint 11, 2.6.38-8-generic (/dev/sda5) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 37b88b66-3968-4206-a674-254267913a7a
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=37b88b66-3968-4206-a674-254267913a7a 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/10_lupin ###
### END /etc/grub.d/10_lupin ###

### 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,msdos5)'
search --no-floppy --fs-uuid --set=root 37b88b66-3968-4206-a674-254267913a7a
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 37b88b66-3968-4206-a674-254267913a7a
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 fat
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root aca5-da42
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 ###
--------------------------------------------------------------------------------

=============================== sda5/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/sda5 during installation
UUID=37b88b66-3968-4206-a674-254267913a7a / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=2a191b6f-b4d3-486e-91b0-7feb31dc196f none swap sw 0 0
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)

274.586418152 = 294.834921472 boot/grub/core.img 1
318.857902527 = 342.371065856 boot/grub/grub.cfg 1
272.325618744 = 292.407406592 boot/initrd.img-2.6.38-8-generic 2
274.579566956 = 294.827565056 boot/vmlinuz-2.6.38-8-generic 1
272.325618744 = 292.407406592 initrd.img 2
274.579566956 = 294.827565056 vmlinuz 1

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

Unknown BootLoader on sda3

00000000 64 87 c5 b4 d8 53 ed e5 1a 01 9f f3 9c f0 b6 c0 |d....S..........|
00000010 62 b7 b2 d0 19 ff 02 a3 34 9c 66 d1 eb 17 74 af |b.......4.f...t.|
00000020 6c c1 e1 1b 4e 3c ce f0 26 a7 06 8c 50 66 b5 b9 |l...N<..&...Pf..|
00000030 0d de f6 fe 9c 4f 7b de f4 2c fb c6 c8 44 8f 46 |.....O{..,...D.F|
00000040 d0 67 7a fc 36 95 43 37 7d ea 39 f3 a3 8f 8e a7 |.gz.6.C7}.9.....|
00000050 c6 7b d4 d2 d7 be d8 6d e9 f4 32 56 7c 18 de 96 |.{.....m..2V|...|
00000060 d7 a6 ab 90 9f e1 ed 73 d2 71 53 51 f5 c0 12 a2 |.......s.qSQ....|
00000070 bd e2 a5 4c 46 f4 ed 59 b0 63 ff 25 52 d5 46 30 |...LF..Y.c.%R.F0|
00000080 11 d9 e7 f4 d3 de 20 95 e7 8f 2b b9 c9 33 e7 8f |...... ...+..3..|
00000090 2a db cf ba 5b 84 12 a9 61 00 d0 6d ae d8 d4 84 |*...[...a..m....|
000000a0 67 b6 88 93 70 77 08 b6 b0 32 de 9e 20 0a 7a 7c |g...pw...2.. .z||
000000b0 d9 76 90 83 15 57 b7 37 64 b1 33 6e d8 b0 1a 2d |.v...W.7d.3n...-|
000000c0 8f 7b d3 f8 c0 a2 b6 71 2b 7e 19 d6 1a 67 08 92 |.{.....q+~...g..|
000000d0 d2 4c 3c 4e c8 5a 9f 53 99 76 5c 38 2d 04 3e b4 |.L<N.Z.S.v\8-.>.|
000000e0 f6 42 01 c0 64 cb d9 f3 30 7a 5f 31 86 a7 4f 89 |.B..d...0z_1..O.|
000000f0 82 9e 05 93 4b 70 25 63 21 25 b6 21 fc 85 2f 27 |....Kp%c!%.!../'|
00000100 16 27 25 11 a4 ca 66 30 a5 e1 76 61 eb 22 e0 c7 |.'%...f0..va."..|
00000110 1c 08 75 d5 7e 16 f4 ef f3 58 e6 00 fc 03 03 1a |..u.~....X......|
00000120 a3 9b a8 9d 0e 93 bb d2 5f 22 63 7c 9b 63 c5 ee |........_"c|.c..|
00000130 6d 5e ea bf 42 67 a9 bd c0 bf 49 53 d9 91 d8 64 |m^..Bg....IS...d|
00000140 86 87 ba 93 bc f2 4d 09 ee 46 4f 86 61 4d de f3 |......M..FO.aM..|
00000150 bd 26 3a 70 0a 3f e8 02 de 42 76 9e 4a ae ca 7c |.&:p.?...Bv.J..||
00000160 e0 cb 86 6e 26 3c a9 93 8f 39 1b 5b d2 ef 5c 86 |...n&<...9.[..\.|
00000170 83 19 05 1d 6d db ec 7d a2 e7 a1 67 1e c2 37 a2 |....m..}...g..7.|
00000180 d5 19 3d 1e be 7c f8 72 82 f6 5b 39 b2 c0 9c c3 |..=..|.r..[9....|
00000190 00 ac fd 80 bc 73 eb 52 41 42 69 74 43 6d c0 58 |.....s.RABitCm.X|
000001a0 8e 87 87 75 77 0c 55 d5 b8 55 45 94 d7 12 0b ab |...uw.U..UE.....|
000001b0 c4 7a 45 09 7d a5 42 e1 10 0b b1 8b a6 20 00 fe |.zE.}.B...... ..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 88 72 17 00 fe |............r...|
000001d0 ff ff 05 fe ff ff 02 88 72 17 00 80 f7 00 00 00 |........r.......|
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: ===============================

xz: (stdin): Compressed data is corrupt
rallen32
Level 1
Level 1
 
Posts: 3
Joined: Sun Jul 29, 2012 3:18 pm


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 42 guests