Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
Hi; I have been using linux, xp and me on different partitions on my hd all controlled by grub for about 1 year now, the problem is that the other ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Location
    australia
    Posts
    11

    grub is not working

    Hi;
    I have been using linux, xp and me on different partitions on my hd all controlled
    by grub for about 1 year now, the problem is that the other day window$ refused to load properly (system files scramble) then I tried to reboot the system into linux with grub and it worked ok. But when I have tried to fix the
    problem with windows cd (I choose not not carry on with the reformatting of the hd and exit the windows intall) after that the systems boot on ME , but grub does not come up.
    can you please shed some light on this?
    thank you very much
    sorry about the long post
    mariano

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Hi mariano, welcome to Linuxforums.

    Sounds to me you need to re-install grub. How you do this will depend on which distro you are running.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Location
    australia
    Posts
    11
    thank you for the quick reply
    Im running RH 9

    mariano

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    boot up from RH installation CD/DVD and execute this code at boot: prompt
    Code:
    linux rescue
    chroot /mnt/sysimage
    grub-install /dev/hda
    press Ctrl+D two times. Machine will reboot.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Nov 2006
    Location
    australia
    Posts
    11
    thanks again I will try that, but will it damage any files on the xp drive?
    mariano

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    No ! it will re-install GRUB in Master Boot Record. Windows and its files are safe.






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Nov 2006
    Location
    australia
    Posts
    11

    Smile

    can you please specify step by step? , as how to execute the code?- as soon as I type the linux rescue <enter> the system start to execute the rh install
    thanks
    mariano
    ps perhaps I should change my name to brain dead http://www.linuxforums.org/forum/images/icons/icon7.gif
    Smile

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    after executing linux rescue, system loads a few recovery modules and returns 'shell prompt'. execute next code at that prompt.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Nov 2006
    Location
    australia
    Posts
    11
    it works! thank you very much, now to repair the window$ installation
    regards
    mariano

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316


    isn't windows booting up? post the contents of /boot/grub/grub.conf file and output of 'fdisk -l' command.






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 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
  •  
...