Find the answer to your Linux question:
Results 1 to 8 of 8
I just installed Windows XP, and I have debian installed before, but now grub won't load and I cant boot linux. can anyone help me please??...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5

    I need help please



    I just installed Windows XP, and I have debian installed before, but now grub won't load and I cant boot linux. can anyone help me please??

  2. #2
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    You need to re-do the grub bootloader.

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    17,784
    Yeah, Windows will overwrite grub everytime, so you'll need to reinstall grub as pointed out by oosterhouse.

    There are quite a few ongoing threads here about reinstalling grub, so if you'll do a search, you should be able to find them. Otherwise, you can use a Knoppix CD to install grub to your mbr again.

  4. #4
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    I saw your reply and I was wondering, how would you install Grub from the Knoppix LiveCD? It wouldn't install Knoppix itself at all? Only Grub?

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    17,784
    Quote Originally Posted by oosterhouse
    I saw your reply and I was wondering, how would you install Grub from the Knoppix LiveCD? It wouldn't install Knoppix itself at all? Only Grub?
    This should work:

    Boot the Knoppix CD and go to a terminal, then determine the root partition of your linux system, and mount it "dev" option enabled, with write permissions.

    If the filesystem isn't mounted you'll need to mount it like this (be sure to change "hda1" and "hda" to match the root location/device in your own system):

    Code:
    sudo mount -o dev,rw /mnt/hda1
    if it's already mounted, remount it like this:

    Code:
    sudo mount -o remount,dev,rw /mnt/hda1
    now, restore grub like this:

    Code:
    sudo chroot /mnt/hda1 grub-install /dev/hda
    if the chroot method doesn't work, try remounting as outlined above and do:

    Code:
    sudo grub-install -root-directory=/mnt/hda1 /dev/hda

  6. #6
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5
    I need to completely re-install grub... or lilo. How can I do that?

  7. #7
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    I think it works off a cd just go to http://www.gnu.org/software/grub/ and it should explain how to do it somewhere.

  8. #8
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    Or get a Knoppix livecd and do as ozar said.

Posting Permissions

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