Find the answer to your Linux question:
Results 1 to 10 of 10
Hello I installed Ubuntu 8 with Vista home already installed and changed the boot manager to EasyBCD 1.7.2. It worked but now after a few days (and may be some ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    4

    [SOLVED] Cannot boot to Ubuntu


    Hello

    I installed Ubuntu 8 with Vista home already installed and changed the boot manager to EasyBCD 1.7.2. It worked but now after a few days (and may be some inadvertent operation in EasyBCD) I tried to boot to Ubuntu and I get the below error.
    BootPart 2.60 BootSector ...url of winimage by C.H.Hochstatter
    Loading new partition bootsector from C.H.Hochstatter
    Cannot read from hard disk
    Insert system disk and press any key

    How can I restore GRUB? I don't think I like EasyBCD.

    Thanks

  2. #2
    Linux User kmitnick's Avatar
    Join Date
    May 2008
    Location
    Jordan - Amman
    Posts
    329
    there is sth called super grub disk
    may be it helps

    Or Visit Here
    Dual Booting Ubuntu 10.04, Windows 7

    Toshiba Satellite A200-1M5, Duo Core 2.0 Ghz, 1 Gigs RAM, 256 Intel Card

    You are registered Linux user number 490788
    Happy Linuxing

  3. #3
    Just Joined!
    Join Date
    May 2009
    Location
    USA
    Posts
    8
    boot off of live cd get to a terminal window follow these commands

    -sudo grub

    -root (hd0,0)

    -setup (hd0)

    -exit

    this will get you back the grub

    if windows is missing from grub after repair

    sudo vi /boot/grub/menu.lst

    uncomment

    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1

    that should help you out

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    Use your Ubuntu CD, let it load, open a terminal and run command: fdisk -l (lower case Letter L) and post the output here. This will show your partition information and enable someone to give you a correct entry to put in your menu.lst and tell you where to install Grub boot files.

  6. #5
    Just Joined!
    Join Date
    May 2009
    Posts
    4
    Quote Originally Posted by yancek View Post
    Use your Ubuntu CD, let it load, open a terminal and run command: fdisk -l (lower case Letter L) and post the output here. This will show your partition information and enable someone to give you a correct entry to put in your menu.lst and tell you where to install Grub boot files.

    I had errors using the
    chroot .... etc commands and
    setup (hd0) also gave some error.

    The output of fdisk -l is as follows

    Name Boot start end type
    /dev/sda1 1 7 Dell Util
    /dev/sda2 8 133 hpfs/ntfs
    /dev/sda3 * 1313 14061hpfs/ntfs
    /dev/sda4 14061 19452 extended
    /dev/sda5 linux swap
    /dev/sda6 linux


    Pl. help with appropriate commands to restore GRUB so that I can dual boot.
    Thanks

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Boot up from Ubuntu LiveCD, open Terminal and execute this
    Code:
    sudo grub
    You will get a grub prompt, grub>
    Execute this:
    Code:
    find /boot/grub/stage1
    Using this information, set the root device (fill in X,Y with whatever the find command returned):
    Code:
    root (hdX,Y)
    setup (hd0)
    quit
    Reboot machine.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    May 2009
    Posts
    4
    Quote Originally Posted by devils casper View Post
    Boot up from Ubuntu LiveCD, open Terminal and execute this
    Code:
    sudo grub
    You will get a grub prompt, grub>
    Execute this:
    Code:
    find /boot/grub/stage1
    Using this information, set the root device (fill in X,Y with whatever the find command returned):
    Code:
    root (hdX,Y)
    setup (hd0)
    quit
    Reboot machine.
    That worked, I had hd0,5.
    Now, if I choose Vista loader from the grub menu, I get another menu from the older boot loader. But Ubuntu boots now.
    I tried
    sudo vi /boot/grub/menu.lst
    to edit the menu but there is no such file.
    Thanks

  9. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Press Alt+F2 and type this
    Code:
    gksu gedit /boot/grub/menu.lst
    Add this code at the end of file :
    Code:
    title Windows Vista
    rootnoverify (hd0,2)
    chainloader +1
    Save file and reboot machine.

    In case it menu.lst has same code already, you have to re-install Vista Boot Loader to remove EasyBCD completely.
    Post the contents of menu.lst file here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    Just Joined!
    Join Date
    May 2009
    Posts
    4
    Quote Originally Posted by devils casper View Post
    Press Alt+F2 and type this
    Code:
    gksu gedit /boot/grub/menu.lst
    Add this code at the end of file :
    Code:
    title Windows Vista
    rootnoverify (hd0,2)
    chainloader +1
    Save file and reboot machine.

    In case it menu.lst has same code already, you have to re-install Vista Boot Loader to remove EasyBCD completely.
    Post the contents of menu.lst file here.
    OK, I moved the Vista entry to the top in menu.lst and deleted the Ubuntu entry in the Vista bootloader entry (in Windows in EasyBCD) and now everything is OK.

    Thanks All, especially devils casper.

  11. #10
    Linux User kmitnick's Avatar
    Join Date
    May 2008
    Location
    Jordan - Amman
    Posts
    329
    glad to hear that it is solved and please make the thread as solved
    Dual Booting Ubuntu 10.04, Windows 7

    Toshiba Satellite A200-1M5, Duo Core 2.0 Ghz, 1 Gigs RAM, 256 Intel Card

    You are registered Linux user number 490788
    Happy Linuxing

Posting Permissions

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