Announcement

Collapse
No announcement yet.

Dual boot with windows 8 - Not able to start kubuntu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    i am in partman now, i chose manual. I'm using a cd kubuntu 12.10 amd 64

    i see /dev/sda2 efi, not kubuntu detects it, but it's not marked anyware B or k or whatever.
    I can create the other partitions.

    There's also a question:

    Boot loader
    Device for boot loader installation:

    And I can choose
    /dev/sda
    /dev/sda1
    /dev/sda2
    /dev/sda4
    /dev/sda5

    what does it mean? Will kubuntu use as efi partition the one that already exists?

    Comment


      #17
      Take a photo of what you see right after you select "Manual." Sorry to have to do this in such a cumbersome way.

      Comment


        #18
        i guess it's a silly question, but how do i print the screen now?

        Comment


          #19
          Do what you did before -- take a photo and upload it. If you're using a camera on a smartphone, can you upload to someplace directly from your phone?

          Comment


            #20
            http://imgur.com/Zhhm8I6

            sorry, no problem, i took a photo, i had printed the screen the times before, i thought there might be a way to do so I didn't know of...

            Comment


              #21
              Ah, right. The B and f bits appear when you do a text-mode install. You won't see them in the GUI installer. I never use the GUI installer so I forgot what was there!

              Let me check something. Hang on...BRB.

              Comment


                #22
                i'll be back in one hour or so

                Comment


                  #23
                  Click on free space. You'll be prompted to create a partition. Create the first partition I mentioned earlier, which is the second item in the bulleted list above -- the 50 GB EXT4 with mount point /. Then create the remaining ones in the list. Place the boot loader in /dev/sda.

                  Comment


                    #24
                    I did it and installed kubuntu. When I boot I go to grub. Both the options for windows 8 and windows recovery enviromment do not work
                    I can get into kubuntu and I run what you said, here's the output. I could not format/create the data partition but I figure out that could be done later with GParted

                    Code:
                    monica@antalya:~$ [B]sudo gdisk -l /dev/sda[/B]
                    [sudo] password for monica: 
                    GPT fdisk (gdisk) version 0.8.5
                    
                    Partition table scan:
                      MBR: protective
                      BSD: not present
                      APM: not present
                      GPT: present
                    
                    Found valid GPT with protective MBR; using GPT.
                    Disk /dev/sda: 1953525168 sectors, 931.5 GiB
                    Logical sector size: 512 bytes
                    Disk identifier (GUID): ECF8BE59-B005-429C-A5A5-0450C2979099
                    Partition table holds up to 128 entries
                    First usable sector is 34, last usable sector is 1953525134
                    Partitions will be aligned on 2048-sector boundaries
                    Total free space is 4292 sectors (2.1 MiB)
                    
                    Number  Start (sector)    End (sector)  Size       Code  Name
                       1            2048         2097151   1023.0 MiB  2700  Basic data partition
                       2         2097152         2834431   360.0 MiB   EF00  EFI system partition
                       3         2834432         3096575   128.0 MiB   0C01  Microsoft reserved part
                       4         3096576       393944232   186.4 GiB   0700  Basic data partition
                       5      1929101312      1953523711   11.6 GiB    0700  Basic data partition
                       6       393945088       491599871   46.6 GiB    0700  
                       7       491599872       686911487   93.1 GiB    0700  
                       8       686911488       704489471   8.4 GiB     8200  
                       9       704489472      1929101311   583.9 GiB   0700
                    I don't manage to load windows 8 dismissing grub either...
                    Last edited by SteveRiley; Apr 15, 2013, 11:08 PM.

                    Comment


                      #25
                      I manage to load windows by chosing System Setup in the grub menu, then Boot Menu -> Windows Boot Manager. I took the picture you told

                      http://imgur.com/SgHtGPp

                      windows doesn't seem to see that linux is there at all. I don't understand anything...

                      Comment


                        #26
                        I've got meetings for the rest of the afternoon and a rehearsal this evening. I won't forget you -- but it'll be a bit before I can analyze your progress.

                        Comment


                          #27
                          Originally posted by Monica View Post
                          I did it and installed kubuntu. When I boot I go to grub. Both the options for windows 8 and windows recovery enviromment do not work
                          You might be running into a bug in GRUB. Please post the contents of the file /etc/grub.d/40_custom and /etc/default/grub


                          Originally posted by Monica View Post
                          I can get into kubuntu and I run what you said, here's the output. I could not format/create the data partition but I figure out that could be done later with GParted
                          Originally posted by Monica View Post
                          windows doesn't seem to see that linux is there at all. I don't understand anything...
                          That one's got me stumped a bit too. What's the output of
                          Code:
                          df -T

                          Originally posted by Monica View Post
                          I manage to load windows by chosing System Setup in the grub menu, then Boot Menu -> Windows Boot Manager.
                          Are you sure that was GRUB, and not perhaps your computer's EFI boot manager? I don't recall a "System Setup" in GRUB's menu structure. Let me see the output of
                          Code:
                          sudo efibootmgr -v

                          Comment


                            #28
                            Originally posted by SteveRiley View Post
                            Please post the contents of the file /etc/grub.d/40_custom and /etc/default/grub
                            /etc/grub.d/40_custom

                            Code:
                            #!/bin/sh
                            exec tail -n +3 $0
                            /etc/default/grub

                            Code:
                            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=""


                            That one's got me stumped a bit too. What's the output of
                            Code:
                            df -T
                            Code:
                            monica@antalya:~$ df -T
                            S. fitxers     Tipus    1K-blocs   En ús  Lliures  %Ús Muntat a
                            /dev/sda6      ext4     48060296 3798444 41820484   9% /
                            udev           devtmpfs  4053344       4  4053340   1% /dev
                            tmpfs          tmpfs     1626492     896  1625596   1% /run
                            none           tmpfs        5120       0     5120   0% /run/lock
                            none           tmpfs     4066228      80  4066148   1% /run/shm
                            none           tmpfs      102400       8   102392   1% /run/user
                            /dev/sda7      ext4     96121612  218276 91020548   1% /home
                            /dev/sda2      vfat       364544   33720   330824  10% /boot/efi

                            Are you sure that was GRUB, and not perhaps your computer's EFI boot manager? I don't recall a "System Setup" in GRUB's menu structure. Let me see the output of
                            Code:
                            sudo efibootmgr -v
                            Not really sure. It looks like grub and I'd never seen something like this using windows 8. But I had never seen a System Setup in GRUB either.


                            Code:
                            monica@antalya:~$ sudo efibootmgr -v
                            [sudo] password for monica: 
                            BootCurrent: 0003
                            Timeout: 2 seconds
                            BootOrder: 0003,0001,0000,0002,0007,0006
                            Boot0000* Windows Boot Manager  HD(2,200000,b4000,d0735429-b137-4752-999e-8b9b97d23fe1)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...b................
                            Boot0001* USB Floppy/CD Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
                            Boot0002* USB Hard Drive        Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
                            Boot0003* ubuntu        HD(2,200000,b4000,d0735429-b137-4752-999e-8b9b97d23fe1)File(\EFI\ubuntu\grubx64.efi)
                            Boot0006  USB Floppy/CD Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
                            Boot0007  Hard Drive    Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0200000000)AMBO

                            Comment


                              #29
                              That's an awfully short /etc/default/grub. Is there more to the file?

                              I forgot about another file. Let me also see /boot/grub/grub.cfg.

                              Your UEFI NVRAM variables look fine.

                              Mind taking a photo of that "System Setup" thing? Let me see both the screen that offers this, as well as the screen that appears once you select it.

                              Comment


                                #30
                                The rest are comments, aren't they?


                                /etc/default/grub

                                Code:
                                # 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"

                                /boot/grub/grub.cfg

                                Code:
                                # 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_gpt
                                insmod ext2
                                set root='hd0,gpt6'
                                if [ x$feature_platform_search_hint = xy ]; then
                                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  efa67d15-0bce-445e-b761-ea5b0b34024a
                                else
                                  search --no-floppy --fs-uuid --set=root efa67d15-0bce-445e-b761-ea5b0b34024a
                                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=ca_ES
                                  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 75,75,75; 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-efa67d15-0bce-445e-b761-ea5b0b34024a' {
                                recordfail
                                	gfxmode $linux_gfx_mode
                                	insmod gzio
                                	insmod part_gpt
                                	insmod ext2
                                	set root='hd0,gpt6'
                                	if [ x$feature_platform_search_hint = xy ]; then
                                	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  efa67d15-0bce-445e-b761-ea5b0b34024a
                                	else
                                	  search --no-floppy --fs-uuid --set=root efa67d15-0bce-445e-b761-ea5b0b34024a
                                	fi
                                	linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=efa67d15-0bce-445e-b761-ea5b0b34024a ro   quiet splash $vt_handoff
                                	initrd	/boot/initrd.img-3.5.0-17-generic
                                }
                                submenu 'Opcions avançades de Ubuntu' $menuentry_id_option 'gnulinux-advanced-efa67d15-0bce-445e-b761-ea5b0b34024a' {
                                	menuentry 'Ubuntu, amb el 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-efa67d15-0bce-445e-b761-ea5b0b34024a' {
                                	recordfail
                                		gfxmode $linux_gfx_mode
                                		insmod gzio
                                		insmod part_gpt
                                		insmod ext2
                                		set root='hd0,gpt6'
                                		if [ x$feature_platform_search_hint = xy ]; then
                                		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  efa67d15-0bce-445e-b761-ea5b0b34024a
                                		else
                                		  search --no-floppy --fs-uuid --set=root efa67d15-0bce-445e-b761-ea5b0b34024a
                                		fi
                                		echo	'S'\''està carregant el Linux 3.5.0-17-generic ...'
                                		linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=efa67d15-0bce-445e-b761-ea5b0b34024a ro   quiet splash $vt_handoff
                                		echo	'S'\''està carregant la ramdisk inicial ...'
                                		initrd	/boot/initrd.img-3.5.0-17-generic
                                	}
                                	menuentry 'Ubuntu, amb el Linux 3.5.0-17-generic (mode de restabliment)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-efa67d15-0bce-445e-b761-ea5b0b34024a' {
                                	recordfail
                                		insmod gzio
                                		insmod part_gpt
                                		insmod ext2
                                		set root='hd0,gpt6'
                                		if [ x$feature_platform_search_hint = xy ]; then
                                		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  efa67d15-0bce-445e-b761-ea5b0b34024a
                                		else
                                		  search --no-floppy --fs-uuid --set=root efa67d15-0bce-445e-b761-ea5b0b34024a
                                		fi
                                		echo	'S'\''està carregant el Linux 3.5.0-17-generic ...'
                                		linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=efa67d15-0bce-445e-b761-ea5b0b34024a ro recovery nomodeset 
                                		echo	'S'\''està carregant la ramdisk inicial ...'
                                		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+ ###
                                ### END /etc/grub.d/20_memtest86+ ###
                                
                                ### BEGIN /etc/grub.d/30_os-prober ###
                                menuentry 'Windows 8 (loader) (a /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-1E64807664805287' {
                                	insmod part_gpt
                                	insmod ntfs
                                	set root='hd0,gpt4'
                                	if [ x$feature_platform_search_hint = xy ]; then
                                	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1E64807664805287
                                	else
                                	  search --no-floppy --fs-uuid --set=root 1E64807664805287
                                	fi
                                	drivemap -s (hd0) ${root}
                                	chainloader +1
                                }
                                menuentry 'Windows Recovery Environment (loader) (a /dev/sda5)' --class windows --class os $menuentry_id_option 'osprober-chain-84F8D25EF8D24DD4' {
                                	insmod part_gpt
                                	insmod ntfs
                                	set root='hd0,gpt5'
                                	if [ x$feature_platform_search_hint = xy ]; then
                                	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  84F8D25EF8D24DD4
                                	else
                                	  search --no-floppy --fs-uuid --set=root 84F8D25EF8D24DD4
                                	fi
                                	drivemap -s (hd0) ${root}
                                	chainloader +1
                                }
                                ### END /etc/grub.d/30_os-prober ###
                                
                                ### BEGIN /etc/grub.d/30_uefi-firmware ###
                                menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
                                	fwsetup
                                }
                                ### 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 ###

                                and sure i don't mind taking a picture, here you have the first one is the grub screen http://imgur.com/Gs0w3g1 (the quality is not good but you can see what's written)
                                and the second one is the system manager http://imgur.com/FHD6N8Q. When I press F9 I can choose Windows Boot partition.
                                Last edited by SteveRiley; Apr 17, 2013, 11:54 AM.

                                Comment

                                Working...
                                X