Linuks on HDD and Windows on SSD

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Linuks on HDD and Windows on SSD

Postby padzikm on Fri Jan 25, 2013 6:56 pm

Hi, I have problem with booting both systems - windows is installed on whole ssd, half of hdd is for random stuff and second half of hdd is for mint maya 64bit. I installed windows at first, then I tried to manually install mint, but I got report 'failed to install efi-boot', so i've chosen default installation from mint menu. It was ok, after restart grub showed both linuks and windows, but only windows started - after choosing linuks grub4dos appeared and there was prompt grub>_ with minimum shell syntax :/ So i've installed easybcd, and afterthar i could start linuks with no problem, but i couldn't start windows, due to error: uknown command 'drivemap' and error: invalid efi file path
So in summary i can access both systems, but it depends on which bootloader I choose - can you help me fix this?
I have asus laptop with uefi and disabled secure boot
padzikm
Level 1
Level 1
 
Posts: 2
Joined: Fri Jan 25, 2013 6:45 pm

Linux Mint is funded by ads and donations.
 

Re: Linuks on HDD and Windows on SSD

Postby padzikm on Fri Jan 25, 2013 7:11 pm

Result of bootinfoscript:
Code: Select all
                  Boot Info Script 0.61      [1 April 2012]


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

 => Windows is installed in the MBR of /dev/sda.
 => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector
    1446256904 of the same hard drive for core.img, but core.img can not be
    found at this location.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 7: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /efi/arch/grubx64.efi /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: 
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sdb1: __________________________________________________________________________

    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:       

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  -
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /efi/linuxmint/grubx64.efi

sdb3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Linux Mint 13 Maya
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb4: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 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                   8    52,428,807    52,428,800  1c Hidden W95 FAT32 (LBA)
/dev/sda2    *     52,428,808   500,117,503   447,688,696   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 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/sdb1                   1 1,465,149,167 1,465,149,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sdb1           2,048 1,068,769,543 1,068,767,496 Data partition (Windows/Linux)
/dev/sdb2   1,068,769,544 1,068,964,856       195,313 EFI System partition
/dev/sdb3   1,068,964,857 1,448,455,091   379,490,235 Data partition (Windows/Linux)
/dev/sdb4   1,448,455,092 1,465,149,054    16,693,963 Swap partition (Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        40B0-0602                              vfat       RECOVERY
/dev/sda2        808A9B978A9B8874                       ntfs       OS
/dev/sdb1        4966CAE601EC7D65                       ntfs       Data
/dev/sdb2        C6F0-A50E                              vfat       
/dev/sdb3        28e6f4e5-46d3-41b2-a748-8725e90447e0   ext4       
/dev/sdb4        b3a3ee91-ffd4-42ec-82dd-b8431a45dbbf   swap       

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

Device           Mount_Point              Type       Options

/dev/sdb2        /boot/efi                vfat       (rw)
/dev/sdb3        /                        ext4       (rw,errors=remount-ro)


=========================== sdb3/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 efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_gpt
insmod ext2
set root='(hd1,gpt3)'
search --no-floppy --fs-uuid --set=root 28e6f4e5-46d3-41b2-a748-8725e90447e0
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_gpt
  insmod ext2
  set root='(hd1,gpt3)'
  search --no-floppy --fs-uuid --set=root 28e6f4e5-46d3-41b2-a748-8725e90447e0
  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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_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 'Linux Mint 13 Cinnamon 64-bit, 3.2.0-23-generic (/dev/sdb3)' --class linuxmint --class gnu-linux --class gnu --class os {
   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd1,gpt3)'
   search --no-floppy --fs-uuid --set=root 28e6f4e5-46d3-41b2-a748-8725e90447e0
   linux   /boot/vmlinuz-3.2.0-23-generic root=UUID=28e6f4e5-46d3-41b2-a748-8725e90447e0 ro   quiet splash $vt_handoff
   initrd   /boot/initrd.img-3.2.0-23-generic
}
menuentry 'Linux Mint 13 Cinnamon 64-bit, 3.2.0-23-generic (/dev/sdb3) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
   recordfail
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd1,gpt3)'
   search --no-floppy --fs-uuid --set=root 28e6f4e5-46d3-41b2-a748-8725e90447e0
   echo   'Loading Linux 3.2.0-23-generic ...'
   linux   /boot/vmlinuz-3.2.0-23-generic root=UUID=28e6f4e5-46d3-41b2-a748-8725e90447e0 ro recovery nomodeset
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.2.0-23-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_gpt
   insmod ext2
   set root='(hd1,gpt3)'
   search --no-floppy --fs-uuid --set=root 28e6f4e5-46d3-41b2-a748-8725e90447e0
   linux16   /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
   insmod part_gpt
   insmod ext2
   set root='(hd1,gpt3)'
   search --no-floppy --fs-uuid --set=root 28e6f4e5-46d3-41b2-a748-8725e90447e0
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" --class windows --class os {
   insmod part_msdos
   insmod fat
   set root='(hd0,msdos1)'
   search --no-floppy --fs-uuid --set=root 40B0-0602
   drivemap -s (hd0) ${root}
   chainloader +1
}
menuentry "Windows 8 (loader) (on /dev/sda2)" --class windows --class os {
   insmod part_msdos
   insmod ntfs
   set root='(hd0,msdos2)'
   search --no-floppy --fs-uuid --set=root 808A9B978A9B8874
   drivemap -s (hd0) ${root}
   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 ###
--------------------------------------------------------------------------------

=============================== sdb3/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/sdb3 during installation
UUID=28e6f4e5-46d3-41b2-a748-8725e90447e0 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb2 during installation
UUID=C6F0-A50E  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sdb4 during installation
UUID=b3a3ee91-ffd4-42ec-82dd-b8431a45dbbf none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 517.878548145 = 556.067856896  boot/grub/grub.cfg                             1
 510.856457233 = 548.527944192  boot/initrd.img-3.2.0-23-generic               2
 685.855690479 = 736.431940096  boot/vmlinuz-3.2.0-23-generic                  1
 510.856457233 = 548.527944192  initrd.img                                     2
 685.855690479 = 736.431940096  vmlinuz                                        1

padzikm
Level 1
Level 1
 
Posts: 2
Joined: Fri Jan 25, 2013 6:45 pm


Return to Installation & Boot

Who is online

Users browsing this forum: Voltron and 10 guests