Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: grub questions

  1. #11
    Join Date
    Mar 2008
    Beans
    4,715
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: grub questions

    If Oldsoldier2003 says combining /boot's is a bad idea, I'm inclined to believe him. Please scratch that idea.

    Herman's 3 OS's on one CD actually do mix all the files in one /boot directory, so I guess it is possible, but like Oldsoldier2003 warns, it could lead to disaster if there is, for example, an unanticipated name conflict.

    I don't have actual experience mixing more than 2 OSs on one hard drive, so it's very possible there are problems I'm not foreseeing.
    Last edited by unutbu; May 2nd, 2008 at 02:54 PM.

  2. #12
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: grub questions

    I have 6 OS in 3 SATAII HDD. Separate homes. All have their Grub which I can interchange. All Grubs have all the rest of the OS's in then. Hardy owns the boot loader at the moment

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  3. #13
    Join Date
    Jul 2007
    Beans
    62
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub questions

    A separate grub partition (not boot partition) works like a breeze... menu.lst of the various distros are simply referenced.

    Thanks everyone for the kind help

  4. #14
    Join Date
    Mar 2008
    Beans
    4,715
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: grub questions

    Thanks for the notice. Would you please provide more details of how you did it?
    Code:
    sudo fdisk -l
    and a listing of menu.lst perhaps? Thanks!

  5. #15
    Join Date
    Jul 2007
    Beans
    62
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub questions

    No problem:

    DISCLAIMER:
    think before you type. This is a non checked rant.

    I used GParted (available in the live CD as "partition editor" in the admin menu). Created one big virtual partition containing others like so:

    Code:
    [sda6][           sda5             ]  ...(empty space). [ sda9 ][ sda8 ][ sda7 ]

    sda6: 100 MB (though 1 or 10 is probably enough) ext2 (though ext3 is no problem)

    sda5 is big home partition (nrs 5 & 6 are a bit weird for historic reasons, on a truly clean system I would simply work left to right and mayby not put everything in a virtual partition)

    starting at the right/end:
    sda7 = 10G swap
    from there on I put my distros right to left, giving each 10G which should be easily enough for"ever"


    Install nr 1:
    choose your distro > insert CD > walk through the steps;
    in terms of partitioning, choose manual, choose the correct mounting for /home (sda5) and swap (sda7) and choose (sda8 ) for /
    Note that there's no mention of boot (sda6 ) here.

    triple check that the /home partition is not about to be formatted

    Get coffee, restart, switching disks, set timezone etc. and:

    do install#2 as install #1, but make sure to select the next partition (sda9) for / and reverify all format checks are off.

    Now for the interesting part:

    after this, mount sda8 and sda6. I then just copied the whole grub directory (from /boot/grub) to sda6. (sudo cp -R /mnt/sda8/boot/grub /mnt/sda6 )

    I then replaced the menu section in the menu.lst (on sda6!) by this:
    (sda8 menu.lst is unchanged, except for hiddenmenu and timeout settings)

    Code:
    title        Ubuntu Gusty Gibbon
    configfile   (hd0,7)/boot/grub/menu.lst
    
    title        Ubuntu Hardy Heron
    configfile   (hd0,8)/boot/grub/menu.lst
    hiddenmenu and timeout have been set according to taste.

    Finish up with grub:

    Code:
    $ sudo grub
    in the terminal:

    Code:
    root (hd0,5)
    
    setup (hd0)
    
    quit
    note the number 5 which is sda6 in grubspeak

    .... that should do the trick, at least, as far as I remember....
    Last edited by klaasvanschelven; May 2nd, 2008 at 08:10 PM.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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