Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.


  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    At the grub> prompt try the following:
    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.

    Registered Linux User #371543!
    Get force-get May The Source Be With You

Posting Permissions

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