Announcement

Collapse
No announcement yet.

SOLVED Login dual boot but lost boot to windowsxp option.

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

    SOLVED Login dual boot but lost boot to windowsxp option.

    I am using a Compaq nx9600 laptop computer. I had a problem with my windows and had to reinstall both operating systems. Once I installed Kubuntu 9.04 I had the normal boot options but once I installed all the updates and some other programs I lost the option to boot from windows. I have verified the the windows operation system is still there because I can boot to it from a CD. But when I checked the boot options I have 4 Kubuntu options but no windows options.
    Is there any way to get the options back into the boot options?

    Any help would be appreciated.


    #2
    Re: Login dual boot but lost boot to windowsxp option.

    Did you check the Grub configuration tool in System Settings -> Advanced? It may be easy to restore from there. Worst that could happen is that you'll need to edit the grub conf file by hand, hopefully not even that

    Comment


      #3
      Re: Login dual boot but lost boot to windowsxp option.

      You must forgive me but I do not get access to the net every day.

      I am a novice at best with this and though I am trying to get some of the command line work down I am not all that good at it. Could you explain exactly how I should go about this.

      What I did was go through every icon in the advanced area and could not figure out which one to work with nor what to do. I have no Idea how to edit a grub nor how to find it.

      Your help is greatly appreciated.

      Bright Blessings

      Comment


        #4
        Re: Login dual boot but lost boot to windowsxp option.

        Welcome to the party

        Okay will try the easy rout first:
        kmenu->system settings->advanced->grub editor
        click and give your password if required.
        You will see a menu item on the left hand side: entries
        Click and open.

        Now you will find all of the entries in your grub menu listed.

        At the bottom of the pane you should see a "add" button.

        Click on that and follow the wizard.

        I hope that helps, if not get back to us
        HP Pavilion dv6 core i7 (Main)
        4 GB Ram
        Kubuntu 18.10

        Comment


          #5
          Re: Login dual boot but lost boot to windowsxp option.

          Ok here's what I got went to system settings and advanced but there is not such icon as "grub editor".
          I have opened up every icon in the advanced section and have not found anything to match this. It seems nothing is as easy as it should be.

          Thanks

          Comment


            #6
            Re: Login dual boot but lost boot to windowsxp option.

            It used to be there, I'll check tonight, please bother me if you don't hear from me by Saturday

            Comment


              #7
              Re: Login dual boot but lost boot to windowsxp option.

              Go you covered. You need to install KGrubEditor, then it will show where we told you, and you can follow the nice explanation by Fintan ...

              Comment


                #8
                Re: Login dual boot but lost boot to windowsxp option.

                Sorry tiny1 for my total lapse of recall. :P but yes, you have to install KGrubEditor as lmilano suggests.

                Code:
                sudo apt-get install KGrubEditor
                HP Pavilion dv6 core i7 (Main)
                4 GB Ram
                Kubuntu 18.10

                Comment


                  #9
                  Re: Login dual boot but lost boot to windowsxp option.

                  Ok,
                  Thanks, I got the grub editor installed and now I can open it up. I followed the instructions as it shows but was concerned when it showed only 1 partition then on the next screen it asks for kernel (file) and Arguments. The suggestions for arguments are root (device), root (uuid). I have not the slightest idea what I should put in either of these two boxes.
                  What I have done is back out of the program until you can suggest something.

                  Thanks

                  Comment


                    #10
                    Re: Login dual boot but lost boot to windowsxp option.

                    That sounds strange, but not that strange. No worries

                    Okay, it is early in the states and getting late here. I will get back to you later on.

                    Dinner takes priority
                    HP Pavilion dv6 core i7 (Main)
                    4 GB Ram
                    Kubuntu 18.10

                    Comment


                      #11
                      Re: Login dual boot but lost boot to windowsxp option.

                      Before going any further, can you please run this command in a konsole and show us the output?

                      Code:
                      sudo fdisk -l /dev/sda
                      This will show us the structure of your disk, it will not change anything. If you have more than one disk it could be /dev/sdb, etc. Also, you may want to run this command first to see how your disk is named (this will show some of the partitions used in Linux)

                      Code:
                      df -h

                      Comment


                        #12
                        Re: Login dual boot but lost boot to windowsxp option.

                        Sorry about yestorday I was unable to get to the net.

                        Here is the information you requested.

                        thetiny1@thetiny1-laptop:~$ sudo fdisk -l /dev/sda
                        [sudo] password for thetiny1:

                        Disk /dev/sda: 80.0 GB, 80026361856 bytes
                        255 heads, 63 sectors/track, 9729 cylinders
                        Units = cylinders of 16065 * 512 = 8225280 bytes
                        Disk identifier: 0x95aa95aa

                        Device Boot Start End Blocks Id System
                        /dev/sda1 * 1 4530 36387193+ 7 HPFS/NTFS
                        /dev/sda2 4531 9729 41760967+ 5 Extended
                        /dev/sda5 4531 9510 40001818+ 83 Linux
                        /dev/sda6 9511 9729 1759086 82 Linux swap / Solaris
                        thetiny1@thetiny1-laptop:~$ df -h
                        Filesystem Size Used Avail Use% Mounted on
                        /dev/sda5 38G 16G 20G 45% /
                        tmpfs 501M 0 501M 0% /lib/init/rw
                        varrun 501M 208K 501M 1% /var/run
                        varlock 501M 0 501M 0% /var/lock
                        udev 501M 160K 501M 1% /dev
                        tmpfs 501M 88K 501M 1% /dev/shm
                        lrm 501M 2.2M 499M 1% /lib/modules/2.6.28-13-generic/volatile
                        thetiny1@thetiny1-laptop:~$

                        Thanks for the help

                        Comment


                          #13
                          Re: Login dual boot but lost boot to windowsxp option.

                          Great,
                          this tells us that your windows partition is on the partition: sda1

                          Now you should be able to open kgrubeditoe and go to entries-> "add" (Bottom)

                          When you get to the wizard give the entry a title: "Windows XP" -> foeward ------< suggestions (dropdownlist) you should have sda1 listed there.

                          If not, we will have to try something else.
                          Could you post your /etc/fstab file?

                          You can get that by doing alt+F2 and typing or copy paste:
                          Code:
                          kate /etc/fstab
                          HP Pavilion dv6 core i7 (Main)
                          4 GB Ram
                          Kubuntu 18.10

                          Comment


                            #14
                            Re: Login dual boot but lost boot to windowsxp option.

                            I ran the grub editor and this is the only suggestion it gives me:

                            /dev/stda5 (/)
                            I ran the fstab as you requested and this is what I get:

                            # /etc/fstab: static file system information.
                            #
                            # Use 'vol_id --uuid' 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 defaults 0 0
                            # / was on /dev/sda5 during installation
                            UUID=12d08380-766e-47ad-8768-bb6f12188f95 / ext3 relatime,errors=remount-ro 0 1
                            # swap was on /dev/sda6 during installation
                            UUID=b95a60b5-109e-41ea-ac35-46b0005629a1 none swap sw 0 0
                            /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

                            It will be a while before I can get back to you.

                            Thanks again for the help.

                            Comment


                              #15
                              Re: Login dual boot but lost boot to windowsxp option.

                              You are welcome

                              I think it will be very simple:

                              CLick on add, then:
                              * Name: Windows xp
                              * Root: (hd0,0)
                              * Kernel and arguments: skip (click Next)
                              * Kip skipping until step 7/10
                              * Select MakeActive
                              * Select Make Default
                              * Chainloader: +1
                              * Skip

                              That's it, I can't test because I don't use Windows, but this should be it according to:
                              http://fosswire.com/post/2008/08/reo...menu-manually/

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

                              Comment

                              Working...
                              X