Find the answer to your Linux question:
Results 1 to 8 of 8
Hi everyone I've got a dual boot machine which all of a sudden stopped working. Whenever I boot up the computer I get the grub prompt and right next to ...
  1. #1
    Linux User
    Join Date
    Jul 2007
    Location
    Greece
    Posts
    277

    Dual boot is messed up

    Hi everyone

    I've got a dual boot machine which all of a sudden stopped working.

    Whenever I boot up the computer I get the grub prompt and right next to it the underscore symbol _ which keeps flicking but I can't type anything. It just hangs there.

    Any suggestions please?

    Many thanks
    One Love!!!

  2. #2
    Just Joined!
    Join Date
    Jan 2010
    Location
    Russia
    Posts
    10
    Quote Originally Posted by goude View Post
    Hi everyone

    I've got a dual boot machine which all of a sudden stopped working.

    Whenever I boot up the computer I get the grub prompt and right next to it the underscore symbol _ which keeps flicking but I can't type anything. It just hangs there.

    Any suggestions please?

    Many thanks

    Hi!

    You need just to update the grub
    You should do this
    1. boot from any linux LiveCD
    2. mount your partitions " mount /dev/sdaX /mnt; mount -t proc none /mnt/proc; mount -o bind /dev /dev
    3. chroot in your root partition: chroot /mnt
    4. run grub command: grub
    5. In grub terminal type following commands: root (hd0,0) than setup (hd0) and quit
    6. reboot
    Where X - it's your number of root partition.
    I hope it will be help you resolve your issue.

    P.S
    Sorry, my english is not too good. I hope you will understand what i wrote above.

  3. #3
    Linux User
    Join Date
    Jul 2007
    Location
    Greece
    Posts
    277
    Hi Xorg

    Thanks for your quick reply. I used knoppix and following your steps I stuck on this
    3. chroot in your root partition: chroot /mnt

    When I run this as root I get the error: chroot: cannot run command 'bin/bash': No such file or directory. However the mnt directory is there.

    Decided to skip this and continue with grub. When I run root (hd0,0) I get the error:
    Filesystem type unknown, partition type 0x7

    What am I doing wrong?

    Here is the output of fdisk -l
    Code:
    /dev/sda1  *   1  5006 HPFS/NTFS
    /dev/sda2   is swap
    /dev/sda3 is the Linux partition
    /dev/sdb1 * 1 48 SFS
    Last edited by goude; 06-02-2010 at 03:08 PM.
    One Love!!!

  4. #4
    Just Joined!
    Join Date
    Jan 2010
    Location
    Russia
    Posts
    10
    Quote Originally Posted by goude View Post
    Hi Xorg

    Thanks for your quick reply. I used knoppix and following your steps I stuck on this
    3. chroot in your root partition: chroot /mnt

    When I run this as root I get the error: chroot: cannot run command 'bin/bash': No such file or directory. However the mnt directory is there.

    Decided to skip this and continue with grub. When I run root (hd0,0) I get the error:
    Filesystem type unknown, partition type 0x7

    What am I doing wrong?

    Here is the output of fdisk -l
    Code:
    /dev/sda1  *   1  5006 HPFS/NTFS
    /dev/sda2   is swap
    /dev/sda3 is the Linux partition
    /dev/sdb1 * 1 48 SFS


    OK, try to replace (hd0,0) on (hd0,2) it is should helps you. Because your root partition is /dev/sda3. (all partitions starting numeric at 0)

    P.S try to use absolute path to chroot for instance: /usr/sbin/chroot /bin/bash

  5. #5
    Linux User
    Join Date
    Jul 2007
    Location
    Greece
    Posts
    277
    Running root (hd0,2) gives the error:

    Filesystem type is ext2fs, partition type 0x83

    I think the filesystems are messed up for some reason?
    One Love!!!

  6. #6
    Just Joined!
    Join Date
    Jan 2010
    Location
    Russia
    Posts
    10
    Quote Originally Posted by goude View Post
    Running root (hd0,2) gives the error:

    Filesystem type is ext2fs, partition type 0x83

    I think the filesystems are messed up for some reason?
    It's right message! run next command setup (hd0)

  7. #7
    Linux User
    Join Date
    Jul 2007
    Location
    Greece
    Posts
    277
    Thanks a lot Xorg. Is working fine now.

    After I followed your steps, rebooted the machine and I got the following:

    Failed to read image press any key to enter the menu.

    Pressed any key got into the menu. Windows booted up fine but when I chose Fedora I got the error error 22: No such partition
    which means the requested partition does not exist so I did the following in case someone else faces a similar issue.

    Went back to the grub menu, highlighted fedora and hit the e button. The fedora partition was pointing to hd(1,2). The boot order had changed for some reason so I changed hd(1,2) to hd(0,2) where fedora is located and hit the b button to boot.

    It worked and then made that change permanent in the grub.conf file.

    Also I made the same change in grub.conf on the following line
    Code:
    splashimage=(hd0,2)/boot/grub/splash.xpm.gz
    and the Failed to read image press any key to enter the menu message is gone.

    I learned this from devil_casper. Another user in this forum that has helped me a lot with dual boot problems.

    Many thanks for your help Xorg. Thanks a lot.
    One Love!!!

  8. #8
    Just Joined!
    Join Date
    Jan 2010
    Location
    Russia
    Posts
    10
    Quote Originally Posted by goude View Post
    Thanks a lot Xorg. Is working fine now.

    After I followed your steps, rebooted the machine and I got the following:

    Failed to read image press any key to enter the menu.

    Pressed any key got into the menu. Windows booted up fine but when I chose Fedora I got the error error 22: No such partition
    which means the requested partition does not exist so I did the following in case someone else faces a similar issue.

    Went back to the grub menu, highlighted fedora and hit the e button. The fedora partition was pointing to hd(1,2). The boot order had changed for some reason so I changed hd(1,2) to hd(0,2) where fedora is located and hit the b button to boot.

    It worked and then made that change permanent in the grub.conf file.

    Also I made the same change in grub.conf on the following line
    Code:
    splashimage=(hd0,2)/boot/grub/splash.xpm.gz
    and the Failed to read image press any key to enter the menu message is gone.

    I learned this from devil_casper. Another user in this forum that has helped me a lot with dual boot problems.

    Many thanks for your help Xorg. Thanks a lot.
    I'm very glad that it's help 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
  •  
...