From e118bfd1011e4f0ef4789464dc9d0c8101fd186c Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Thu, 26 Apr 2012 19:23:14 +0000 Subject: - updated .HTML files (26th April 2012) --- setupBootloaderExpert.html | 156 ++++++++++++++++++++++++++++----------------- 1 file changed, 96 insertions(+), 60 deletions(-) (limited to 'setupBootloaderExpert.html') diff --git a/setupBootloaderExpert.html b/setupBootloaderExpert.html index 43f8ba5..b4f3a22 100644 --- a/setupBootloaderExpert.html +++ b/setupBootloaderExpert.html @@ -22,6 +22,12 @@ + + + + + + @@ -36,10 +42,10 @@ + + - -

If you haven't done so yet, please read the section called “Bootloader main @@ -70,7 +76,8 @@

  • Boot into the - system in question and in order to determine the grub version, in a terminal run the command: + system in question. In order to determine the GRUB2 version run the + following command in a terminal:

    @@ -105,12 +112,13 @@

    Make a note of - the version and enter this command to identify the root partition: + the version and enter this command to identify the root + partition:

    -

    df / -

    +

    df -h + / |(read; awk '{print $1; exit}')

    This will @@ -118,16 +126,34 @@

    -

    Filesystem Size Used - Avail Use% Mounted on

    -

    /dev/sdb11 15G 7.0G 7.0G - 50% /

    +

    /dev/sdb11

    + + +

    sdb11 is the + root partition - make a note of it. +

    + +
  • +
  • + +

    Now check that + the /boot folder is in the same partition by entering the following + command: +

    + + +

    df -h + /boot |(read; awk '{print $1; exit}')

    + + -

    The "sdb11" - part is the root partition - make a note of it. +

    If the /boot + partition is different to the root partition then make a note and use + the /boot partition in the "root" line when editing menu.lst + below.

  • @@ -142,7 +168,7 @@

    In your new running Mageia system, open a terminal and as root edit the file - /boot/grub/menu.lst. as follows: + /boot/grub/menu.lst as follows:

    @@ -153,7 +179,8 @@

    -

    su

    +

    su + -

    (enter root @@ -180,8 +207,9 @@

  • Add the - following entry for your (e.g. Ubuntu) system possibly as the second - stanza: + following entry for your (e.g. Ubuntu) system, possibly as the second + stanza. The position the item appears in the menu will depend on its + position in the file:

    @@ -196,6 +224,41 @@

    kernel /boot/grub/core.img

    +
  • +
  • + +
    + + + + + + + + +
    [Note]Note
    + +

    In the second + line, "hd1" means the second hard drive, the "10" indicates the 11th + partition. Drives and partitions in Mageia's legacy GRUB count from + zero. +

    + + +

    Therefore: +

    + + +

    sdb11 = + (hd1,10)

    + + +

    sda1 + = (hd0,0)

    + +
    +
    +
  • @@ -205,12 +268,18 @@

    kernel - /boot/grub/i386-pc/core.img

    + /boot/grub/i386-pc/core.img

    If you needed - to use "grub2-install" earlier then change /grub/ - to /grub2/ in the last line. + to use "grub2-install" earlier then change "grub" + to "grub2" in the last line. +

    + + +

    If /boot was + on a separate partition, then remove "/boot" from + the last line.

  • @@ -224,49 +293,16 @@ - - -
    - - - - - - - - -
    [Note]Note
    - -

    The "sdb" - indicates the second hard drive hd1, (sda would be hd0), likewise sdb11 - indicates partition 11 which in GRUB legacy (counting from zero) is - partition 10. -

    - - -

    So: -

    - - -

    sdb11 = - (hd1,10)

    - - -

    sda1 = - (hd0,0)

    - -
    -
    -
    +

    Using an - existing GRUB2 boot loader + existing GRUB2 bootloader

    @@ -276,8 +312,8 @@

    If you didn't read the general part about using an existing bootloader yet, do so now. See - the section called “Using an - existing boot loader”

    + the section called “Using an + existing bootloader”

    @@ -290,10 +326,10 @@

    There is a known - bug in OS-prober used during GRUB2 installation in some older versions of - Debian/Ubuntu that incorrectly creates grub.cfg when adding Mageia (or - Mandriva) systems. This is simple to work around and details of a fix - can be found in the Mageia forum here : + bug in OS-prober used during GRUB2 installation in some older versions + of Debian/Ubuntu that incorrectly creates grub.cfg when adding Mageia + (or Mandriva) systems. This is simple to work around and details of a + fix can be found in the Mageia forum here: https://forums.mageia.org/en/viewtopic.php?p=13547#p13547

    -- cgit v1.2.1