Find the answer to your Linux question:
Results 1 to 6 of 6
I know there have been many questions about removing/replacing GRUB over the years, but I have my own, so pls. bear with me. I have two HDD's, with WIN XP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    4

    Unhappy Replacing GRUB bootloader with WIN NT bootloader


    I know there have been many questions about removing/replacing GRUB over the years, but I have my own, so pls. bear with me.

    I have two HDD's, with WIN XP SP3 on HD1 and Fedora Linux on HD2. I have GRUB boootloader, which, as best I can grasp, resides on the WIN XP disk drive (HD1).

    I don't like the idea of a Linux loader on a WIN drive (it just doesn't seem right to me), and would like to replace it with the WIN NT Boot Loader. I understand that that this can be done with the WIN Recovery Console, FIXMBR command, or similar. But then I ask, how can one modify the WIN bootloader Configuration file (presumably boot.ini) to add the existing Linux installation? I haven't seen any reference anywhere as to how to add additional (non-WIN) OS's to the WIN NT Boot Loader.
    So, that is my question.
    If any of of the earlier steps (removal of GRUB) I outlined are erroneous or incomplete, I'd be grateful for clarification of those.

    I do think that playing with bootloaders is a bit of a precarious task and if you screw it up, one can end up with an unbootable machine, the last thing anyone wants, which is perhaps why there have been so many discussions on this matter on the Forums over the years.
    Thanks
    wombat53

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    Two ways :

    * Remove GRUB from MBR of disk having Windows OS. Plug-in Fedora disk as Primary Master and Windows OS disk as Secondary. Re-install GRUB in MBR of Fedora Disk and add an entry for Windows OS in its grub.conf file. In this way, both OSes will be independent of each other. GRUB will call Windows Boot Loader to boot up Windows.

    OR

    Use Bootpart to configure Windows Boot Loader. You must install GRUB in Boot Sector of Fedora's / ( or /boot, if any ) partition.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    4
    Casper - many thanks.
    I played aroud last nite with the supplied WIN CD from DELL, but could not install Recovery Console as it was a version of WIN prior to what I have (XP SP 3). So, I am stuck at first base, that is, to try and even run FIXMBR, which I believe is the recommended way to restore the MBR (I realize this is a WIN question, not LINUX).
    Or is this method (removing GRUB) not required if one uses bootpart?
    Also, how, exactly, does one "install" GRUB in /boot? YUM? Some other way?
    Thanks
    wombat53

  4. #4
    Just Joined!
    Join Date
    Mar 2009
    Posts
    4
    Casper - further to the above, this is what bootpart shows:
    Physical number of disk 0 : fd478bc7
    0 : C: type=de , size= 16033 KB, Lba Pos=63
    1 : C:* type=7 (HPFS/NTFS), size= 38909430 KB, Lba Pos=32130
    2 : C: type=f (Win95 XInt 13 extended), size= 205270537 KB, Lba Pos=77850990
    3 : C: type=7 (HPFS/NTFS), size= 205270506 KB, Lba Pos=77851053
    Physical number of disk 1 : 1d93c117
    4 : D:* type=83 (Linux native), size= 200781 KB, Lba Pos=63
    5 : D: type=83 (Linux native), size= 74903062 KB, Lba Pos=401625
    6 : D: type=82 (Linux swap), size= 3068415 KB, Lba Pos=150207750
    Physical number of disk 2 : 4ab0076f
    7 : E:* type=e (Win95 XInt 13), size= 976880 KB, Lba Pos=32
    I belive part 4 is /boot partition, part 5 is /root (the rest of disk, excluding swap)
    wombat53

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    I have to check Partition structure of you Hard disk first. Execute this in Fedora's Terminal and post output here :
    Code:
    su -
    fdisk -l
    df -h
    For using bootpart, you have to remove GRUB. It won't work if you wont remove GRUB from MBR. If Windows disk is not working, use SuperGRUB CD/USB/Floppy to remove GRUB.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Mar 2009
    Posts
    4
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xfd478bc7

    Device Boot Start End Blocks Id System
    /dev/sda1 1 2 16033+ de Dell Utility
    /dev/sda2 * 3 4846 38909430 7 HPFS/NTFS
    /dev/sda3 4847 30401 205270537+ f W95 Ext'd (LBA)
    /dev/sda5 4847 30401 205270506 7 HPFS/NTFS

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

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 25 200781 83 Linux
    /dev/sdb2 26 9350 74903062+ 83 Linux
    /dev/sdb3 9351 9732 3068415 82 Linux swap / Solaris
    As for df -h ..................
    [root@DELLLNX1 perl]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sdb2 71G 12G 56G 17% /
    /dev/sdb1 190M 24M 157M 13% /boot
    tmpfs 759M 472K 759M 1% /dev/shm
    /dev/sda2 38G 28G 11G 74% /mnt/win_c
    /dev/sda5 196G 32G 165G 16% /mnt/win_d
    [root@DELLLNX1 perl]#
    Thanks
    wombat53

Posting Permissions

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