Announcement

Collapse
No announcement yet.

How do I convert Kubuntu to the 2nd operating system?

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

    [System] How do I convert Kubuntu to the 2nd operating system?

    hello i am new in this forum and i need ur helps.i I installed kubuntu after win10.my first choice is win10 but kubuntu starts as first os.in bios, the selected ssd contains win10.and the selected boot setting is win 10 efi.but despite all of these, kubuntu opens automatically.how can i change this situation? also i noticed that kubuntu seems on samsung ssd which contain only win10 on bios.kubuntu is on sandisk ssd.i dont understood why? thank you for ur helps.

    #2
    Not quite following... do you see grub at all? Is each os on it's own disk? Is windows in grub & you just want to make it default, if so- the second answer at https://askubuntu.com/questions/1002...rub-boot-order

    Sent from my E6810 using Tapatalk
    Registered Linux User 545823

    Comment


      #3
      Originally posted by jpenguin View Post
      Not quite following... do you see grub at all? Is each os on it's own disk? Is windows in grub & you just want to make it default, if so- the second answer at https://askubuntu.com/questions/1002...rub-boot-order

      Sent from my E6810 using Tapatalk
      yes each os its own disk but i cant see win10 on grub customizer.only kubuntu os and its details list on app.so the link cant help me.also what is this grub in linux? is grub a program or terminal command?

      Comment


        #4
        Grub is the bootloader. Could I have a list of you partitions
        Code:
        fdisk -l
        &
        Code:
        cat /etc/default/grub
        Sent from my E6810 using Tapatalk
        Registered Linux User 545823

        Comment


          #5
          Code:
          ahmet@ahmet:~$ sudo fdisk -l [sudo] password for ahmet:  Disk /dev/sda: 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: gpt Disk identifier: 78C78D23-C201-42DE-861C-C141169ED2B2  Device         Start       End   Sectors   Size Type /dev/sda1       2048   1026046   1023999   500M EFI System /dev/sda2    1026048 247835556 246809509 117,7G Microsoft basic data /dev/sda3  247836672 248776703    940032   459M Windows recovery environment /dev/sda4  248778752 249040895    262144   128M Microsoft reserved /dev/sda5  249040896 488396799 239355904 114,1G Microsoft basic data   Disk /dev/sdb: 223,6 GiB, 240057409536 bytes, 468862128 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: 0x695e953d  Device     Boot     Start       End   Sectors   Size Id Type /dev/sdb1  *         2048 117299199 117297152    56G 83 Linux /dev/sdb2       117301246 468860927 351559682 167,7G  5 Extended /dev/sdb5       117301248 132923391  15622144   7,5G 82 Linux swap / Solaris /dev/sdb6       132925440 468860927 335935488 160,2G  7 HPFS/NTFS/exFAT                                                                                                                          
          
          ahmet@ahmet:~$ cat /etc/default/grub                                                                                                                                                             # 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_TIMEOUT_STYLE="hidden"                                                                                                                                                                      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" ahmet@ahmet:~$
          Last edited by comonda2; Jul 27, 2018, 06:26 AM. Reason: paste the code with code tags

          Comment


            #6
            I'm not sure, I have Win/Lin different disks on my older BIOS system & they're autodetected.
            Try
            CORRECTION
            Code:
            sudo nano etc/grub.d/40_custom
            NOT
            Code:
            sudo nano /etc/default/grub
            And add
            Code:
            menuentry "Windows 10 UEFI/GPT" {
            insmod part_gpt
            insmod search_fs_uuid
            insmod chain
            search --fs-uuid --no-floppy --set=root 28cf-35de
            chainloader ($root)/EFI/MICROSOFT/BOOT/bootmgfw.efi
            }
            DOnt forget to run update-grub

            If that doesn't work, read https://wiki.archlinux.org/index.php...ode_menu_entry

            The files are different in arch, so don't worry about grub-mkconfig
            Last edited by jpenguin; Aug 14, 2018, 09:18 AM.
            Registered Linux User 545823

            Comment


              #7
              Originally posted by jpenguin View Post
              I'm not sure, I have Win/Lin different disks on my older BIOS system & they're autodetected.
              Try
              Code:
              sudo nano /etc/default/grub
              And add
              Code:
              menuentry "Windows 10 UEFI/GPT" {
              insmod part_gpt
              insmod search_fs_uuid
              insmod chain
              search --fs-uuid --no-floppy --set=root 28cf-35de
              chainloader ($root)/EFI/MICROSOFT/BOOT/bootmgfw.efi
              }
              Dent forget to run update-grub

              If that doesn't work, read https://wiki.archlinux.org/index.php...ode_menu_entry

              The files are different in arch, so don't worry about /boot/grub/custom.cfg. or grub-mkconfig
              I have not tried it yet.I actually liked KDE too.I am thinking of using Kubuntu as my first operating system.so I am curious about it, how can I remake linux a single operating system if these codes work?

              Comment


                #8
                Those will only add windows to the menu at boot
                Last edited by jpenguin; Jul 30, 2018, 10:49 AM.
                Registered Linux User 545823

                Comment


                  #9
                  Originally posted by jpenguin View Post
                  I'm not sure, I have Win/Lin different disks on my older BIOS system & they're autodetected.
                  Try
                  Code:
                  sudo nano /etc/default/grub
                  And add
                  Code:
                  menuentry "Windows 10 UEFI/GPT" {
                  insmod part_gpt
                  insmod search_fs_uuid
                  insmod chain
                  search --fs-uuid --no-floppy --set=root 28cf-35de
                  chainloader ($root)/EFI/MICROSOFT/BOOT/bootmgfw.efi
                  }
                  Dent forget to run update-grub

                  If that doesn't work, read https://wiki.archlinux.org/index.php...ode_menu_entry

                  The files are different in arch, so don't worry about /boot/grub/custom.cfg. or grub-mkconfig
                  ahmet@ahmet:~$ sudo update-grub
                  /usr/sbin/grub-mkconfig: 35: /etc/default/grub: menuentry: not found
                  ahmet@ahmet:~$


                  not accepted

                  Comment


                    #10
                    Uh, yeah that's not the way this is done, menuentries don't go into default/grub

                    Add the desired custom menuentry to /etc/grub.d/40_custom and save, then make 40_custom an executable file, then run update-grub.

                    Please Read Me

                    Comment


                      #11
                      Originally posted by jpenguin View Post
                      I'm not sure, I have Win/Lin different disks on my older BIOS system & they're autodetected.
                      Try
                      Code:
                      sudo nano /etc/default/grub
                      And add
                      [CODE]
                      That's the wrong file. (/etc/default/grub is a bash script, that usually just sets variables.) The one for such entries is /etc/grub.d/40_custom.
                      Regards, John Little

                      Comment


                        #12
                        Thx, I don't know what I was thinking there
                        Last edited by jpenguin; Aug 14, 2018, 09:20 AM.
                        Registered Linux User 545823

                        Comment

                        Working...
                        X