Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I had a dual boot between Windows XP and Fedora core 2 on IBM thinkpad, intel centrino 1.4GB. I reinstalled windows and this changed my MBR so I had ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    5

    Question prblem with GRUB

    Hi,

    I had a dual boot between Windows XP and Fedora core 2 on IBM thinkpad, intel centrino 1.4GB. I reinstalled windows and this changed my MBR so I had to install grub again. After doing so the linux boots fine but when I choose the windows I get a message saying:
    rootnoverify hd(0,0)
    chainloader +1
    makeactive

    Error 12: invalid device requested

    Press any key to continue...

    hd(0,0) is the correct partition with windows.
    If I fix MBR with the windows cd I will not be able to boot Linux....

    Anyone knows why this happens and what I can do to fix it?
    I found a lot about these things on Google but nothing for my specific problem.

    Any help would be appriciated,
    YotiB.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    post the output of 'fdisk -l' . you must be root to execute this command.




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

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    5

    Output of fdisk -l

    [QUOTE=devils_casper]post the output of 'fdisk -l' . you must be root to execute this command.

    Output of fdisk -l is:

    Disk /dev/hda: 36.8 GB, 36812876288 bytes
    240 heads, 63 sectors/track, 4755 cylinders
    Units = cylinders of 15120 * 512 = 7741440

    Device Boot Start End Blocks Id System
    /dev/hda1 2 1364 10304280 f W95 Ext'd (LBA)
    /dev/hda2 * 1365 4755 25635960 7 HPFS/NTFS
    /dev/hda5 2 1226 9254920+ 83 Linux
    /dev/hda6 1226 1364 1048792+ 82 Linux swap


    Thanks,
    YotiB.

  4. #4
    Just Joined!
    Join Date
    Oct 2006
    Posts
    5

    Smile Got it!!!!!!! Thanks Casper!!!

    Hey Casper,

    I figured out from the fdisk command that the wrong partition was defined in the grub configuration file. I fixed it and it works!!!!!

    Thanks a lot mate!!
    YotiB.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by yotiB
    rootnoverify hd(0,0)
    chainloader +1
    makeactive
    hda1 is Extended partition and hda2 is Primary ( Windows XP).
    the code should be

    Code:
    rootnoverify hd(0,1)
    chainloader +1
    makeactive

    EDIT : Well Done !!! i am a bit slow...



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

Posting Permissions

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