grub 2 - can it be installed to /

Discussion in 'all things UNIX' started by Ocky, Sep 4, 2009.

Thread Status:
Not open for further replies.
  1. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    I have read somewhere that grub 2 which will be shipped with Ubuntu Karmic (9.10) does not have the option to install to / (only to mbr). Then again I have also seen somewhere that it does indeed have this option. Which version is correct ?
    Assuming that there is the option to install to the root partition, would it be OK to use the 'legacy' grub installed in mbr to chainload Karmic ?
    I am currently chainloading Jaunty (64 bit) from my Hardy (32 bit) and when Karmic K. is released might want to replace Jaunty with it.
    I am sure many here will already have tried Karmic K. alphas - does it live up to expectations ?

    Regards
     
  2. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,219
    I have no tried grub 2 yet. But will be experimenting soon.
    Mrk
     
  3. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    It's all changed - :argh: - means re-learning grub :thumbd:
    Here some links:-
    https://wiki.ubuntu.com/Grub2#Dual-booting
    http://grub.enbug.org/CommandList
    .. and one from Arch (but /boot/grub/grub.cfg is not meant to be edited).
    http://wiki.archlinux.org/index.php/GRUB2

    How to boot Grub 2 from Grub legacy (my main concern)

    Seems one needs the --force command to get grub2 installed to the boot sector. Maybe this
    will be ironed out in the Karmic final release.

    sudo grub-setup --force /dev/sdb2

    Also numbering has changed :
    (hd1,1) is for second hard drive, second partition in Grub legacy in Jaunty for your chainloader command.
    (hd1,2) for second hard drive, second partition in Grub2 in Karmic.
     
    Last edited: Sep 5, 2009
  4. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.