Find the answer to your Linux question:
Results 1 to 2 of 2
I have RedHat Linux and Win XP on my machine and was using GRUB to boot either of them. It was working fine. I wanted to move some extra space ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    2

    Problem in booting after resizing partition


    I have RedHat Linux and Win XP on my machine and was using GRUB to boot either of them. It was working fine. I wanted to move some extra space from Linux partition to windows. So I used Partition Magic to free some space on Linux partition and merged it with Windows partition.

    Now when I boot, I am taken to the GRUB command prompt. I tried to boot using Linux Intallation CD and also Win XP installation CD, but I always get to that grub command prompt. I don't know what to do from there. Any pointers will be helpful.

    Thanks.

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    At the grub> prompt try the following:
    Code:
    grub> root (hdX,X)
       (it'll say somthing about the file system found)
    grub> kernel /vmlinuz-<tab> ro root=/dev/hdXX rhgb
       &#40;it'll say something else&#41;
    grub> initrd /init<tab>
       &#40;I don't think it says anything, it just waits for...&#41;
    grub> boot
    it was taken from here

    rememebr to replace all the big X with the apropriate hard drive and partition numbers.

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

Posting Permissions

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