LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2016, 11:08 AM   #1
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,737

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
how to get grub2 to work with win10 upgrade?


I installed/added windows 8.1 on my hard drive. upgraded it to windows 10. doing this before restablishing grub2. using supergrub2 I then followed my plan to then just use that to boot into Linux, reinstall grub2, update-grub, then back to normal with a dual boot of linux and windows.

but now I see that things are not normal, Windows 10 sucks more then before, Grub2 way of doing things are not like grub(1). So now I am having a problem getting windows 10 into the grub2 menu to be able to boot to winblows 10 if and when neeeded.


SuperGrub2 sees Windows and I can use that to boot into Winblows as well. I have reestablished Grub2 on my hard drive so it works, but only for booting into Linux.

I have found post relating to this, trying what they suggested by modifing some config files in /etc/grub.d

as follows
/etc/grub.d/40_custom
Code:
menuentry 'Windows 10' {
set root='(hd0,msdos1)'
chainloader +1
}
didn't work so commented it out in that file then tried this one, /etc/grub.d/42_custom. where 42_custom was not there so I created it. still did not work.


Code:
menuentry "Win 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
insmod ntldr
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 9804BD3004BD126C
ntldr ($root)/bootmgr
}
replacing the UUID for the with the correct one, and trying both the (hd0,msdos1) and (hd1,msdos3). The later being what SuperGrub2 is showing me where Windows is.

I then update-grub and it does not list it in the update, nor when I reboot, it is still only showing my linux boot, not a windows selection.

my Windows partitions are only two where i read that windows 10 uses four, but it is an upgrade and that upgrade to winblows 10 didn'y fix that. leaving it the winblows 8.1 partiton setup.

does anyone know where I can add that line to have it added to my boot listings for grub2 or how to get this to work with win10?


Code:
[userx@voided ~]$ ls /run/media/userx/AC30CE6730CE385A/
'$GetCurrent'   'Documents and Settings'  'Program Files'        SWSetup                      Windows.old       pagefile.sys
'$Recycle.Bin'  Intel                     'Program Files (x86)'  'System Volume Information'  Windows10Upgrade  swapfile.sys
'$WINDOWS.~BT'  Logs                      ProgramData            Users                        bootmgr
BOOTNXT         PerfLogs                  Recovery               Windows                      hiberfil.sys
[userx@voided ~]$

Last edited by BW-userx; 07-12-2016 at 11:16 AM.
 
Old 07-12-2016, 11:48 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
Write your own config and never use update-grub again.
 
1 members found this post helpful.
Old 07-12-2016, 12:13 PM   #3
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,737

Original Poster
Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Quote:
Originally Posted by Emerson View Post
Write your own config and never use update-grub again.
uhg my system updates grub when ever it does all by itself when it updates and updates my kernel (rolling release I have) O' to the Linux / Windows conflict.

I might when I get a chance downgrade back to 8.1 update grub get it to add windows upgrade back to 10 and see what happens. before I try this option. Thanks!!! its a good lead. thanks again....

Last edited by BW-userx; 07-12-2016 at 12:15 PM.
 
Old 07-12-2016, 01:41 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
The information you posted indicates you did not use the default windows using UEFI/GPT but rather did an MBR install. I notice that you have not indicated which Linux you are using. Grub2 isn't the same on any and all Linux systems as various developers make changes before release. The update-grub command is mostly limited to the Ubuntus and is just a 'stub' (their term) to the grub-mkconfig command which sometimes is grub2-mkconfig. You might get and run the bootinfoscript or thee boot repair software which will post a lot more details including the number of hard drives and partitions as well as various boot files.
 
Old 07-12-2016, 07:17 PM   #5
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,737

Original Poster
Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Quote:
Originally Posted by yancek View Post
The information you posted indicates you did not use the default windows using UEFI/GPT but rather did an MBR install. I notice that you have not indicated which Linux you are using. Grub2 isn't the same on any and all Linux systems as various developers make changes before release. The update-grub command is mostly limited to the Ubuntus and is just a 'stub' (their term) to the grub-mkconfig command which sometimes is grub2-mkconfig. You might get and run the bootinfoscript or thee boot repair software which will post a lot more details including the number of hard drives and partitions as well as various boot files.
my linux version is listed in that side box that has my user name with the latest releise of the kernel (rolling release it a clue to that, yes? )

Yes MBR I do not like that other one ...

for the rest of it, I'll see what I can do to get that information then post it.

Last edited by BW-userx; 07-12-2016 at 07:18 PM.
 
Old 07-12-2016, 07:35 PM   #6
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,737

Original Poster
Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
@yancek

here is boot info script output all of it

Code:
  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 
    in partition 132 for ??.
 => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    in partition 107 for ??.
 => Windows is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Void () ()
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda3: __________________________________________________________________________

    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

sda4: __________________________________________________________________________

    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 /Windows/System32/winload.exe

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 698.7 GiB, 750156374016 bytes, 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
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1               2,048    33,204,223    33,202,176  83 Linux
/dev/sda2          33,204,224 1,260,349,439 1,227,145,216  83 Linux
/dev/sda3    *  1,260,349,440 1,261,066,239       716,800   7 NTFS / exFAT / HPFS
/dev/sda4       1,261,066,240 1,465,145,343   204,079,104   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               2,048   488,396,799   488,394,752  83 Linux


Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 2.7 TiB, 3000558944256 bytes, 732558336 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1                 256   732,558,335   732,558,080  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        746202c0-8b1b-451a-a628-edca2acb5dc4   ext4       
/dev/sda2        444ecf23-39b0-4a75-bf11-7e4fe630c540   ext4       
/dev/sda3        0C36C76536C74E80                       ntfs       System Reserved
/dev/sda4        AC30CE6730CE385A                       ntfs       
/dev/sdb1        7d7f3aa1-c252-485b-8a19-1cab81ef85ed   ext4       ssdData
/dev/sdc1        89f35fb4-9578-42ca-9244-0f4b5ef1604d   ext4       WD3TB

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

Device           Mount_Point              Type       Options

/dev/sda1        /                        ext4       (rw,relatime,data=ordered)
/dev/sda2        /home                    ext4       (rw,relatime,data=ordered)
/dev/sda4        /run/media/userx/AC30CE6730CE385A fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sdb1        /media/data              ext4       (rw,relatime,data=ordered)
/dev/sdb1        /run/media/userx/ssdData ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sdc1        /run/media/userx/WD3TB   ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)


=========================== sda1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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 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,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  746202c0-8b1b-451a-a628-edca2acb5dc4
else
  search --no-floppy --fs-uuid --set=root 746202c0-8b1b-451a-a628-edca2acb5dc4
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
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  746202c0-8b1b-451a-a628-edca2acb5dc4
else
  search --no-floppy --fs-uuid --set=root 746202c0-8b1b-451a-a628-edca2acb5dc4
fi
insmod png
background_image -m stretch /usr/share/void-artwork/Heidy-Splash_001.png
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Void GNU/Linux' --class void --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-746202c0-8b1b-451a-a628-edca2acb5dc4' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  746202c0-8b1b-451a-a628-edca2acb5dc4
	else
	  search --no-floppy --fs-uuid --set=root 746202c0-8b1b-451a-a628-edca2acb5dc4
	fi
	echo	'Loading Linux 4.6.3_1 ...'
	linux	/boot/vmlinuz-4.6.3_1 root=UUID=746202c0-8b1b-451a-a628-edca2acb5dc4 ro  loglevel=4
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initramfs-4.6.3_1.img
}
submenu 'Advanced options for Void GNU/Linux' $menuentry_id_option 'gnulinux-advanced-746202c0-8b1b-451a-a628-edca2acb5dc4' {
	menuentry 'Void GNU/Linux, with Linux 4.6.3_1' --class void --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.6.3_1-advanced-746202c0-8b1b-451a-a628-edca2acb5dc4' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  746202c0-8b1b-451a-a628-edca2acb5dc4
		else
		  search --no-floppy --fs-uuid --set=root 746202c0-8b1b-451a-a628-edca2acb5dc4
		fi
		echo	'Loading Linux 4.6.3_1 ...'
		linux	/boot/vmlinuz-4.6.3_1 root=UUID=746202c0-8b1b-451a-a628-edca2acb5dc4 ro  loglevel=4
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initramfs-4.6.3_1.img
	}
	menuentry 'Void GNU/Linux, with Linux 4.6.3_1 (recovery mode)' --class void --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.6.3_1-recovery-746202c0-8b1b-451a-a628-edca2acb5dc4' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  746202c0-8b1b-451a-a628-edca2acb5dc4
		else
		  search --no-floppy --fs-uuid --set=root 746202c0-8b1b-451a-a628-edca2acb5dc4
		fi
		echo	'Loading Linux 4.6.3_1 ...'
		linux	/boot/vmlinuz-4.6.3_1 root=UUID=746202c0-8b1b-451a-a628-edca2acb5dc4 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initramfs-4.6.3_1.img
	}
	menuentry 'Void GNU/Linux, with Linux 4.0.5_2' --class void --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.0.5_2-advanced-746202c0-8b1b-451a-a628-edca2acb5dc4' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  746202c0-8b1b-451a-a628-edca2acb5dc4
		else
		  search --no-floppy --fs-uuid --set=root 746202c0-8b1b-451a-a628-edca2acb5dc4
		fi
		echo	'Loading Linux 4.0.5_2 ...'
		linux	/boot/vmlinuz-4.0.5_2 root=UUID=746202c0-8b1b-451a-a628-edca2acb5dc4 ro  loglevel=4
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initramfs-4.0.5_2.img
	}
	menuentry 'Void GNU/Linux, with Linux 4.0.5_2 (recovery mode)' --class void --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.0.5_2-recovery-746202c0-8b1b-451a-a628-edca2acb5dc4' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  746202c0-8b1b-451a-a628-edca2acb5dc4
		else
		  search --no-floppy --fs-uuid --set=root 746202c0-8b1b-451a-a628-edca2acb5dc4
		fi
		echo	'Loading Linux 4.0.5_2 ...'
		linux	/boot/vmlinuz-4.0.5_2 root=UUID=746202c0-8b1b-451a-a628-edca2acb5dc4 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initramfs-4.0.5_2.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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.

#menuentry 'WinBlows 10' {
#setroot='(hd1,msdos3)'
#chainloader +1
#}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
UUID=746202c0-8b1b-451a-a628-edca2acb5dc4 / ext4 defaults 0 1
#UUID=0b2ea61e-2f43-49ae-9b93-eea0aeef1af5 /home ext4 defaults 0 2
/dev/sda2 /home ext4 defaults 0 2

tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0


UUID=7d7f3aa1-c252-485b-8a19-1cab81ef85ed /media/data ext4 defaults 0 3
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


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

To be able to see for which directory Grub2 (v1.99) looks for, install "xz" or "lzma".
To be able to see for which directory Grub2 (v1.99) looks for, install "xz" or "lzma".
cat: /tmp/BootInfo-ZqszVOYB/Tmp_Log: No such file or directory
  WARNING: Not using lvmetad because config setting use_lvmetad=0.
  WARNING: To avoid corruption, rescan devices to make changes visible (pvscan --cache).
mdadm: No arrays found in config file or automatically
update-grub
Code:
[userx@voided ~]$ sudo update-grub
Generating grub configuration file ...
Found background: /usr/share/void-artwork/Heidy-Splash_001.png
Found linux image: /boot/vmlinuz-4.6.3_1
Found initrd image: /boot/initramfs-4.6.3_1.img
Found linux image: /boot/vmlinuz-4.0.5_2
Found initrd image: /boot/initramfs-4.0.5_2.img
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
logger: cannot connect: No such file or directory
  WARNING: Not using lvmetad because config setting use_lvmetad=0.
  WARNING: To avoid corruption, rescan devices to make changes visible (pvscan --cache).
logger: cannot connect: No such file or directory
done

Code:
[userx@voided ~]$ sudo fdisk -l
Disk /dev/sda: 698.7 GiB, 750156374016 bytes, 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
Disklabel type: dos
Disk identifier: 0x0004ed67

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1             2048   33204223   33202176  15.9G 83 Linux
/dev/sda2         33204224 1260349439 1227145216 585.2G 83 Linux
/dev/sda3  *    1260349440 1261066239     716800   350M  7 HPFS/NTFS/exFAT
/dev/sda4       1261066240 1465145343  204079104  97.3G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0f3f3740

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdb1        2048 488396799 488394752 232.9G 83 Linux


Disk /dev/sdc: 2.7 TiB, 3000558944256 bytes, 732558336 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00028375

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdc1         256 732558335 732558080  2.7T 83 Linux

Last edited by BW-userx; 07-12-2016 at 07:49 PM.
 
Old 07-12-2016, 11:59 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Quote:
my linux version is listed in that side box that has my user name
I've seen too many posts here with responses from members using that as a basis for a response to a problem only to find the poster hasn't used that particular distribution for years. On that basis, I generally ignore whatever is there.

The only windows partitions shown in your output are sda3 and sda4 so if you use a chainloader entry, use (hd0,msdos3) or (hd0,msdos). I'd just put those two entries in the grub.cfg file. Do not run update-grub, just reboot and test both. If they fail you can just delete the entries. If one of them works, then copy it to your 40_custom file and re-run update-grub.

This should work on most systems but I will say that I have never seen the message Not using lvmetad because config setting use_lvmetad=0. Are you using LVM? You might try googling that specific warning. I don't use LVM so I don't know if that is related to the warning you are getting.
 
  


Reply

Tags
dual-boot, grub2, windows 10


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
Acer Aspire 4752 - GRUB2 doesn't install/work?!?! themacmeister Linux - Laptop and Netbook 8 10-28-2015 07:19 PM
Slackware won't boot after 14.1 upgrade lilo removal grub2 install KrazyKanuk Slackware 2 12-18-2013 11:10 PM
APM + upgrade to GRUB2 = fails to poweroff kevinbenko Linux - Software 4 06-09-2010 02:14 AM
Can't get puppy to work with grub2 narnie Puppy 6 05-21-2010 10:51 AM
GRUB Read Error After Upgrade to grub2 linuxpyro Linux - Software 4 03-29-2010 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 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