Announcement

Collapse
No announcement yet.

LiveCD install and Grub2 placement

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

    #16
    Re: LiveCD install and Grub2 placement

    sweet............ 8) ........thought that 1 looked good as long as the UUID's were right
    but I usualey dont use them if I'm planing on doing a lot of hand editing...........LOL
    the /dev/sdxx will do just fine.

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #17
      Re: LiveCD install and Grub2 placement

      Only suggestion is in Reply #12.
      IF GRUB 2 is in the partition boot sector, most certainly then GRUB Legacy can chainload it => try re-installing GRUB 2 to that partition boot sector. You can do that inside Karmic.

      sudo grub-install /dev/sdxn

      where sdxn = the Karmic partition.

      Then try to chainload it from GRUB legacy, using the correct (hdx,y) (Karmic is in the 3rd partition of hd0? so Karmic is in (hd0,2) from GRUB Legacy's view?)
      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

      Comment


        #18
        Re: LiveCD install and Grub2 placement

        If error, then
        sudo grub-install --recheck /dev/sdxn

        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment


          #19
          Re: LiveCD install and Grub2 placement

          Re: How to boot Grub 2 from Grub legacy (Karmic from Jaunty)
          Difference in partition numbering in Grub2.

          I've re-added the original stanza but changed:

          root (hd0,1)
          to
          root (hd0,2)
          Rebooting and trying again.
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #20
            Re: LiveCD install and Grub2 placement

            wile wear at the grub tabel.........ha ha just what is the advantage to having a grub install for eatch OS install?

            my sugjeshton would be 2 install grub2 to the MBR and let it controle everything.......then if your in say JJ and you get a kernel upgrade just boot to Karmic and run update-grub it should find the new kernel and add it.

            the Ultimalinux I referd to had 3 kernel's 1 genaric 1 SCSI 1 USB and grub2 found and added all of them!!

            but I gess I just anserd my own queshton as to why the chaneloading..........so the new kernel is allready in the chanloaded grub......yes/no??

            VINNY
            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #21
              Re: LiveCD install and Grub2 placement

              Okay, that change didn't work. Well, it did, but it took me to my Ubuntu 9.04 Grub menu.

              As Vinnywright said, do I need to install Grub2 to the mbr of my HD if I want access to both Grub's menus?
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #22
                Re: LiveCD install and Grub2 placement

                Yes

                You are both right (you & you, Vinny).

                Install GRUB to MBR for reasons you said.
                Install GRUB also to partition boot sectors of OSs so you can chainload.

                Btw, you can also chainload a MBR:
                Install GRUB to the MBR of hdx.
                Then boot that MBR using:
                chainloader (hdx)+1
                where (hdx) = hard drive x
                hdx +1 = first sector of hdx = the MBR of hdx.


                Try it sometimes. Say from the GRUB menu, hitting the "c" key (or whatever it is in GRUB 2, Ctrl+c? can't recall)

                grub>chainloader (hdx)+1
                grub>boot
                to boot hdx MBR
                An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                Comment


                  #23
                  Re: LiveCD install and Grub2 placement

                  Okay, because I scare easily - - I need instructions on installing Grub2 to the mbr of my 'only' HD. I'm in Karmic now.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #24
                    Re: LiveCD install and Grub2 placement

                    Originally posted by Snowhog
                    ... I have to actively edit my existing Grub legacy menu.lst files anytime a new KK kernel is installed.

                    Suggestions?
                    Actually you don't have to if you use the pointer to the current kernel instead. Its found on root "/". So so:

                    Code:
                    title      Ubuntu GNU/Linux - Karmic 9.10
                    uuid      08f00a33-6f71-4b5e-b6fa-cd3576293c55
                    kernel     /vmlinuz root=UUID=08f00a33-6f71-4b5e-b6fa-cd3576293c55 ro quiet splash
                    initrd     /initrd.img
                    quiet
                    And here is how my grub2 looks:
                    Code:
                    menuentry "Lucid" {
                    	insmod ext2
                    	root=(hd0,7)
                    	search --no-floppy --fs-uuid --set 354c4429-0484-476d-b93a-0068853d3408
                    	gfxpayload=1024x768
                    	linux /vmlinuz root=UUID=354c4429-0484-476d-b93a-0068853d3408 ro splash
                    	initrd /initrd.img
                    }
                    Boot Info Script

                    Comment


                      #25
                      Re: LiveCD install and Grub2 placement

                      It should work, or something's broken.

                      No need to install GRUB 2 to any MBR.

                      If you install GRUB 2 to, say, sda6:
                      sudo grub-install --recheck /dev/sda6
                      Then if GRUB Legacy is in the MBR, you can boot sda6 from GRUB Legacy (in the MBR) by:
                      chainloader (hd0,5)+1

                      (where sda6 = (hd0,5))

                      Likewise, GRUB 2 will also chainload GRUB Legacy (if not, then, again, something's broken),
                      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                      Comment


                        #26
                        Re: LiveCD install and Grub2 placement

                        paul@myotherbrain:~$ sudo grub-install --recheck /dev/sda2
                        [sudo] password for paul:
                        grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
                        grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.
                        Installation finished. No error reported.
                        This is the contents of the device map /boot/grub/device.map.
                        Check if this is correct or not. If any of the lines is incorrect,
                        fix it and re-run the script `grub-install'.

                        (hd0) /dev/sda
                        (hd1) /dev/sdb
                        (hd2) /dev/sdc
                        (hd3) /dev/sde
                        paul@myotherbrain:~$
                        Herman mentions this. The --force option is required?
                        Windows no longer obstructs my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #27
                          Re: LiveCD install and Grub2 placement

                          We have too many things going on here.

                          I would try to make the chainloader work, as I posted above, so Legacy boots GRUB 2.





                          sudo -grub-install /dev/sda
                          installs GRUB 2 to the MBR of sda, but as I say, first I'd insist on that chainloader working
                          But it is your call.
                          Vinny does it the MBR way, and it works fine.
                          I'd just be insistent/curious why that chainloader didn't work first.
                          The chainloader MUST work if everything is there.
                          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                          Comment


                            #28
                            Re: LiveCD install and Grub2 placement

                            grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
                            grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.


                            That's yet another buggy/confusing thing about GRUB 2. I have NEVER had a problem doing what they say is a BAD idea. I DO get that warning though, but ignore it, without any --force, and everything succeeds. But if Herman says-- force might help if you get stuck, then try it, of course.
                            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                            Comment


                              #29
                              Re: LiveCD install and Grub2 placement

                              I'm going to make changes 'one at a time.' I'll change my JJ menu.lst entry back to:
                              root (hd0,1)
                              and reboot to see of the sudo grub-install --recheck /dev/sda2 in fact fixed it for me.

                              Be right back.
                              Windows no longer obstructs my view.
                              Using Kubuntu Linux since March 23, 2007.
                              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                              Comment


                                #30
                                Re: LiveCD install and Grub2 placement

                                verndog has a point
                                if the curent grub lagese is working just edit it to point to the system links in root for vmlinuz and initrd.img as thay allwase get upgraded to the newest Kernel!!!

                                of corse sence your chaneloding you will half to edit all the menu.lst's to do the same for thare kernels

                                I pointed out those system links meney moons ago with a diferent post on grub but got smacked down for it........LOL


                                VINNY
                                i7 4core HT 8MB L3 2.9GHz
                                16GB RAM
                                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                                Comment

                                Working...
                                X