Results 1 to 5 of 5

Thread: need help with menu.lst

  1. #1

    Default need help with menu.lst

    Hi peoples.
    I need a bit of help with grub, I have 2 sata drives...
    1 has OpenSuse11 and Windows xp dualbooting fine.... The 2nd Sata drive has Ubuntu 8.04 which i just installed... I chose to not install the boot loader when installing ubuntu..... i heard it was a good idea to do that so you can just add ubuntu to menu.lst on the OpenSuse grub... but anyways...........

    here is my info........

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
    /dev/sda2 3825 19457 125572072+ f W95 Ext'd (LBA)
    /dev/sda5 3825 4086 2104483+ 82 Linux swap / Solaris
    /dev/sda6 4087 6697 20972826 83 Linux
    /dev/sda7 6698 19457 102494668+ 83 Linux

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

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 182 1461883+ 82 Linux swap / Solaris
    /dev/sdb2 183 9729 76686277+ 83 Linux

    As you can see, OpenSuse and Windows is on /dev/sda and im trying to get Ubuntu to boot which is on /dev/sdb2
    Last edited by kaddy; 14-Jul-2008 at 20:13. Reason: update

  2. #2
    Join Date
    Jul 2008
    Palampur Himachal India

    Default Re: need help with menu.lst

    you will need to tell grub something like this

    root (hd2,0)

    kernel /ubuntu/disks/boot/vmlinuz-2.6.24-16-generic

    initrd /ubuntu/disks/boot/initrd.img-2.6.24-16-generic

    now in your case replace (hd2,0) with your drive/partition

    and then kernel and initrd settings...

    i would advice you press e at grub prompt (so that u can now type commands...)

    type root(hdx,y)

    then kernel if your (hdx,y) is correct pressing tab will list your folders....
    you should be interested in
    ==> /boot/.....

    you need to experiment before you can hit at the target!
    once you do that.. you can always then type those commands in menu.lst (from the already existing linux system)

    i hope it helps!
    Experience is a hard teacher. She gives the test first and the lessons afterwards!!

  3. #3
    Join Date
    Mar 2008
    Blog Entries

    Default Re: need help with menu.lst

    I have Suse 11 and Ubu multibooting from Suse. This is what I have in menu.lst for Ubu:
    ###Don't change this comment - YaST2 identifier: Original name: Ubuntu 7.10###
    title Ubuntu 7.10 (/dev/sdb2)
    root (hd1,1)
    configfile /boot/grub/menu.lst
    Of course, I altered my sdb9 to your sdb2 and my (hd1,8) to your (hd1,1)

    So I suggest you edit your menu.lst appropriately.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  4. #4
    Join Date
    Jun 2008
    The English Lake District. UK - GMT/BST
    Blog Entries

    Default Re: need help with menu.lst

    I think in the case of Swerdna : his boot for Ubuntu is pointing to his Ubuntu menu.lst
    Which is the approach suse seems to have adopted in recent releases. It is the best way too, as kernel upgrades in Ubuntu won't break your boot of Ub from the suse grub.
    In the past grub would pick up the kernel in Ub or whatever other distro it is, but when that changes - your in a mess.
    The way Swerdna points is correct and best, you just need to edit the HD partition numbers correctly.

    When you boot Ubuntu, suse grub then loads Ubuntu grub.

    Hope that's clear
    My Articles Was I any help? If yes: Click the star below

  5. #5

    Default Re: need help with menu.lst

    arghh. all of that was confusing, but i took the easy way out and just reinstalled ubuntu with the boot loader, and now that boots all my partitions. lol.
    but thanx for the info anyways, couldn't get it to work manually. Now its all good though

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts