Announcement

Collapse
No announcement yet.

help with my grub boot menu

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

    help with my grub boot menu

    Hello below is a copy of my menu.lst file

    I removed the 2nd disk (hd1.0), how do i adapt the one with windows so he can start loading again?

    tx





    title Ubuntu 8.04.1, kernel 2.6.24-16-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=ed3956ca-8479-4dd8-851c-e1c11968992a ro quiet splash
    initrd /boot/initrd.img-2.6.24-16-generic
    quiet

    title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=ed3956ca-8479-4dd8-851c-e1c11968992a ro single
    initrd /boot/initrd.img-2.6.24-16-generic

    title Ubuntu 8.04.1, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title Other operating systems:
    root


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sdb1.
    title Ubuntu, kernel 2.6.20-15-generic (on /dev/sdb1)
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=c6ba8557-9521-4032-b064-91e03e8b3e74
    initrd /boot/initrd.img-2.6.20-15-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sdb1.
    title Ubuntu, kernel 2.6.20-15-generic (recovery mode) (on /dev/sdb1)
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=c6ba8557-9521-4032-b064-91e03e8b3e74 ro single
    initrd /boot/initrd.img-2.6.20-15-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sdb1.
    title Ubuntu, memtest86+ (on /dev/sdb1)
    root (hd1,0)
    kernel /boot/memtest86+.bin
    savedefault
    boot


    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sdc1
    title Microsoft Windows XP Professional
    root (hd2,0)
    savedefault
    makeactive
    map (hd0) (hd2)
    map (hd2) (hd0)
    chainloader +1

    #2
    Re: help with my grub boot menu

    You'll need to run
    Code:
    sudo fdisk -lu
    and
    Code:
    sudo blkid
    in a console window, to know for certain what the drive and partition is that has Windows on it. With that information, you can edit the chainloader where it loads Windows, and change it as needed. It is presently set to (hd2,0) probably it is now (hd1,0) but you need to run the commands and make sure, before you edit it.

    Comment


      #3
      Re: help with my grub boot menu

      on sudo fdisk -lu i get:

      Schijf /dev/sda: 250.0 GB, 250059350016 bytes
      255 koppen, 63 sectoren/spoor, 30401 cilinders, totaal 488397168 sectoren
      Eenheid = sectoren van 1 * 512 = 512 bytes
      Schijf-ID: 0x00050f36

      Apparaat Opstart Begin Einde Blokken ID Systeem
      /dev/sda1 * 63 479283209 239641573+ 83 Linux
      /dev/sda2 479283210 488392064 4554427+ 5 Uitgebreid
      /dev/sda5 479283273 488392064 4554396 82 Linux wisselgeheugen

      on sudo blkid i get:
      /dev/sda1: UUID="ed3956ca-8479-4dd8-851c-e1c11968992a" TYPE="ext3" SEC_TYPE="ext2"

      so?



      Comment


        #4
        Re: help with my grub boot menu



        sudo fdis -lu
        only gave you ONE hard drive! ... sda with Linux on it.
        Where's the second hard drive?

        Try running this command:
        Open Konsole.
        sudo grub
        grub>geometry (hd<Press the TAB key now>
        Then do
        grub>geometry (hd0)
        grub> geometry (hd1)
        etc.,. to explore each drive that is listed.

        btw,
        grub>geometry (hd<Press the TAB key now>
        means: geometry then a space then the ( then hd then press the TAB key on your keyboard.
        (That's called "Tab-completion" in GRUB and it also works with your other commands in Konsole. You may already know all this, but just in case...)

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

        Comment


          #5
          Re: help with my grub boot menu

          yes the tab feature is a bit like when you type commands in cisco routers.. Nice

          Now all my system can find is HD0

          so
          geometry (hd0,
          Possible partitions are:
          Partition num: 0, Filesystem type is ext2fs, partition type 0x83
          Partition num: 4, Filesystem type unknown, partition type 0x82

          but
          geometry (hd1) until (hd10) gives me


          Error 21: Selected disk does not exist

          Comment


            #6
            Re: help with my grub boot menu

            and the disk does exist, now i have to set the other disk as boot device to play a game in windows

            Comment


              #7
              Re: help with my grub boot menu

              Originally posted by powerbits

              but
              geometry (hd1) until (hd10) gives me


              Error 21: Selected disk does not exist

              You don't have an hd1. That would be hard drive #2, which you removed, right? So the only hard drive you have will be hd0. So the only place you can set up grub is (hd0,0).

              I guess your other partition on that drive is not formatted? I don't speak Dutch, but I think the fdisk output is saying that you have a first (primary) partition formatted ext3, and then you have an extended partition, and a single logical partition inside the extended partition. Since blkid found no UUID on that logical partition, it must not have a filesystem on it, or something -- that's unusual in my experience. If there's nothing on it, you might want to simple re-partition the second part into a single primary partition, and format it so you can use it.

              Comment


                #8
                Re: help with my grub boot menu

                well i solved it:

                In grub i set the windows disk as HD1 and it works..

                I think i have a issue why my linux OS does not see my windows disk..

                But i plan to upgrade soon to a new version of Kubuntu

                Comment

                Working...
                X