Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23
the title explains it all,I'm doing a HD install and I don't want to mess up my MBR,can the boot-loader(grub or lilo) be installed on the same HD partition as ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    54

    possible to install bootloader on HD instead of MBR?


    the title explains it all,I'm doing a HD install and I don't want to mess up my MBR,can the boot-loader(grub or lilo) be installed on the same HD partition as linux instead?

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Posts
    54
    HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP MEEEEEEEEEEEEEEEEEEEEEEEE

  3. #3
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    766
    Yes.
    Registered Linux user #384279
    Vector Linux SOHO 7

  4. #4
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    The bootloader has to be installed at the beginning of the hard drive... So you can't. The MBR has to contain it. Install it on a floppy instead, then your MBR on your HD isn't touched.

    Edit:K, apparently I'm wrong... but I'm always willing to learn
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  5. #5
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    I at least know lilo can be installed to the root-partition since it's an option if you install slackware...

  6. #6
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    766
    Correct. LILO does not need to be loaded at the MBR. GRUB? Not so sure.

    Another option would be to use NTLDR and let Windows handle the dual boot process. A little more involved to set up, but not all that difficult. And you won't be modifying the MBR either.
    Registered Linux user #384279
    Vector Linux SOHO 7

  7. #7
    Just Joined!
    Join Date
    Apr 2005
    Posts
    54
    I don't have windows,I have knoppix installed on my HD and now I want to install Ubuntu too.At the knoppix installation,I chose to install lilo on root-partition.Will Ubuntu try to install it's own bootloader or is the lilo also going to be OK for booting Ubuntu?(or even better yet,will it even give me the option of which OS to boot at startup?)

  8. #8
    Linux User eugrus's Avatar
    Join Date
    Dec 2004
    Location
    Russia
    Posts
    391
    The both GRUB and Lilo could be in MBR or part's.bootsector

    MBR:
    Code:
    /sbin/grub-install /dev/hda
    Code:
    /sbin/lilo -b /dev/hda -v
    Some partition's bootsector:
    Code:
    /sbin/grub-install /dev/hdX
    Code:
    /sbin/lilo -b /dev/hdX -v
    You need DOS-MBR for the second one.
    To generate it use
    Code:
    fdisk /mbr
    from DOS.

  9. #9
    Just Joined!
    Join Date
    Apr 2005
    Posts
    54

  10. #10
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    For your purposes, you can install the bootloader for Grub to the root partition of Ubuntu.
    Then you will edit the LiLo in Knoppix to boot Ubuntu.
    I do this on all of my extra distros.
    I use SUSE Grub to boot the rest.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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