Professional Web Applications Themes

MBR booting solution - Linux Setup, Configuration & Administration

Hi, What is the right way (in Linux) to allow MBR to boot the active partition? I used to install Windoze (98) on my PC first, and let it creates the right MBR which can boot the active partition. My disk partition tools was pq magic. Now, I am trying to do everything in Linux. I created my disk partition by sfdisk, and I restored my Win/Linux disk images by Partimage. Now the problem is that the MBR created by sfdisk can not boot the active partition. I've tried it many times, and have even tried to restore the previous ...

  1. #1

    Default MBR booting solution

    Hi,

    What is the right way (in Linux) to allow MBR to boot the active
    partition?

    I used to install Windoze (98) on my PC first, and let it creates the
    right MBR which can boot the active partition. My disk partition tools
    was pq magic. Now, I am trying to do everything in Linux. I created my
    disk partition by sfdisk, and I restored my Win/Linux disk images by
    Partimage.

    Now the problem is that the MBR created by sfdisk can not boot the
    active partition. I've tried it many times, and have even tried to
    restore the previous Windows MBR then work on it by sfdisk... nothing
    works.

    Just to make sure it is only the MBR's booting problem. I boot my grub
    from floppy, then

    rootnoverify (hd0,1)
    chainloader +1
    boot

    I am able to boot into my Windoze 98. Then, I tried 'format /mbr' from
    there but strangely, the format that comes with Windoze 98 doesn't have
    this /mbr option.

    All in all, I have no problem creating my partitions, change the
    bootable partition... etc, but simply can't make MBR boot the active
    one.

    Any suggestions to allow me to have a most simple MBR booting capability
    (just like DOS) are appreciated. Thanks.


    --
    Tong (remove underscore(s) to reply)
    *niX Power Tools Project: http://xpt.sourceforge.net/
    - All free contribution & collection
    * Guest

  2. #2

    Default Re: MBR booting solution

    * Tong * wrote:
     

    .... "fdisk /mbr" ...
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    Would you mind terribly much if I asked you to take your silly-assed
    problem down the hall?

    mjt Guest

  3. #3

    Default Re: MBR booting solution

    * Tong * wrote:
     

    The usual advice is that one should use Windows fdisk or equivalent
    to create the Windows partition,
    and Linux fdisk or similar to create Linux partitions.
    But I don't know how important that is.

    Normally people install Windows first, and then install Linux.
    The Linux installation will almost certainly install grub on the MBR,
    allowing you to boot into Windows or Linux.

    If you have a proper /boot/grub/grub.conf (or /etc/grub.conf)
    you should be able to install grub on your MBR with "grub-install".

    But I may have misunderstood your question.





    --
    Timothy Murphy
    e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
    tel: +353-86-2336090, +353-1-2842366
    s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
    Timothy Guest

Similar Threads

  1. booting problems
    By phongle in forum Linux / Unix Administration
    Replies: 9
    Last Post: February 24th, 02:01 AM
  2. booting users off
    By Macpunk in forum Linux / Unix Administration
    Replies: 6
    Last Post: February 28th, 02:13 AM
  3. ufs error while booting
    By jeremy in forum Linux / Unix Administration
    Replies: 1
    Last Post: February 14th, 10:31 AM
  4. booting
    By gamalt in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: October 1st, 06:14 AM
  5. booting IDE
    By Renaud Barbier in forum Sun Solaris
    Replies: 1
    Last Post: July 17th, 07:24 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139