Find the answer to your Linux question:
Results 1 to 7 of 7
I installed Ubuntu on Windows Xp.Due to Some Virus Attcks I was forced to format by C Drive but after formatting I am not getting Ubuntu Start Up Menu through ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    13

    Problem While Booting Ubuntu


    I installed Ubuntu on Windows Xp.Due to Some Virus Attcks I was forced to format by C Drive but after formatting I am not getting Ubuntu Start Up Menu through which I can selecy one of the OS.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    boot up from Ubuntu CD and open gnome-terminal.
    execute this command
    Code:
    sudo grub-install /dev/hda
    it will ask for password, press 'Enter' key.





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

  3. #3
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by amanujjwaluu
    I installed Ubuntu on Windows Xp.Due to Some Virus Attcks I was forced to format by C Drive but after formatting I am not getting Ubuntu Start Up Menu through which I can selecy one of the OS.
    Did you have Ubuntu and XP dual-booting on the same harddrive? If so, you formatting the whole drive has wiped out both operating systems permanently and you will have to reinstall.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by techieMoe
    Did you have Ubuntu and XP dual-booting on the same harddrive? If so, you formatting the whole drive has wiped out both operating systems permanently and you will have to reinstall.
    i think amanujjwaluu formatted C: drive only and rest of disk space/drives are intact.





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

  6. #5
    Linux User ImNeat's Avatar
    Join Date
    Feb 2006
    Location
    N. America
    Posts
    392
    The reason you can't see the bootloader menu (which was most likely grub) is because Windows automatically overwrites the MBR (master boot record) with its own Windows bootloader upon installation. Currently the Windows bootloader cannot detect/boot Linux.

    As casper said, you'll have to reinstall grub to the MBR.
    10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
    14" Dell Inspiron 1420N 2GHz Core2Duo 2GB RAM 160GB HD : Xubuntu

  7. #6
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by devils_casper
    i think amanujjwaluu formatted C: drive only and rest of disk space/drives are intact.

    casper
    If that is indeed the case then your instructions are correct. I'm just unsure at this point since we haven't received any more details from the original poster.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    i formatted C: drive many times coz of Virus, malware etc etc.. i think original poster has same problem and he formatted C: drive only.





    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
  •