Announcement

Collapse
No announcement yet.

No Kubuntu in the OS choice menu

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

    No Kubuntu in the OS choice menu

    First of all,my pc came with Windows Home installed on it. I created one partition to install Kubuntu and another one to install Windows XP Pro. Kubuntu was installed before XP Pro, and after the latter was installed there is no choice for Kubuntu anymore when the PC boots. How can I correct this?

    Some info about my PC:
    Code:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
      Device Boot   Start     End   Blocks  Id System
    /dev/sda1  *      1    16806  134994163+  7 HPFS/NTFS
    /dev/sda2      16807    18847  16394332+  f W95 Ext'd (LBA)
    /dev/sda5      16807    17444   5124703+  7 HPFS/NTFS
    /dev/sda6      17445    18719  10241406  83 Linux
    /dev/sda7      18720    18847   1028128+ 82 Linux swap / Solaris

    #2
    Re: No Kubuntu in the OS choice menu

    Originally posted by girish3110

    Kubuntu was installed before XP Pro
    I would have strongly recommend the reverse sequence -- but, too late for that.

    You are going to have to boot a Live CD, and use the Grub command, following this guidance:

    http://kubuntuforums.net/forums/inde...opic=3081671.0

    Comment


      #3
      Re: No Kubuntu in the OS choice menu

      Huh,which guide should I use? Am a bit confused.... Should I re-install GRUB?

      Comment


        #4
        Re: No Kubuntu in the OS choice menu

        In a word, yes

        Quote frm mikes how-to:

        Install or Re-install GRUB

        How to: Install (or re-install) GRUB from your “main” Linux OS to the MBR of the main hard drive. Let's say your “main” Linux OS (the root files containing /boot/grub) is located in (hdx,y). (See Notation below.)

        Case 1: You are able to boot into a (any) Linux OS on your PC.
        If so, do so. Then open a terminal (Konsole) get a GRUB prompt as root by typing sudo grub (then press Enter), and type the following (press Enter after each command):
        grub> root (hdx,y) # (hdx,y) is the partition of your "main" Linux OS
        grub> setup (hd0) # This assumes (hd0) is your “main” booting hard drive MBR
        grub> quit
        $ exit

        Case 2: You can't boot into any of your Linux OSs.
        First, you need to get a grub prompt (grub>) somehow. Your two choices are: (1) Use a rescue disk, like Super Grub Disk, from which you can boot into your OS, or press the “c” key to get a GRUB prompt. Or, (2) Use your Live Kubuntu CD. Let's assume (2) here. Put your Live CD in the CD tray, re-boot your PC, startup your Live Kubuntu. Now get a terminal (Konsole) and proceed exactly as in Case 1, starting with “sudo grub” to get a GRUB prompt.
        So in your case this line:
        grub> root (hdx,y) # (hdx,y) is the partition of your "main" Linux OS
        should read:
        grub> root (hda0,5) #That is the first drive, 6th partition (Grub starts counting at "0" not "1")

        the rest you can leave as is. ie:
        grub> setup (hd0) # This assumes (hd0) is your “main” booting hard drive MBR, like if you have your mbr on sda, which is probably the case if you installed windows.
        grub> quit
        $ exit

        I hope this helps
        HP Pavilion dv6 core i7 (Main)
        4 GB Ram
        Kubuntu 18.10

        Comment

        Working...
        X