On Fri, 06 Apr 2012 13:31:15 +0500, Muhammad Yousuf Khan wrote:

> Thank you every one for helping me. actually i followed and read every
> thing but just "grub install /dev/sdb"
>  alone didn't help 

What was the ouput for the above command? Maybe it returned an error but 
we can't know.

> i also run some commands in grub as well
>
> grub install /dev/sda (not necessary ) 
> grub install /dev/sdb

Careful. Remember that you have swapped the disks in the BIOS, so ensure 
that your "/dev/sda" is still your first disk and "/dev/sdb" is the 
second.

> grub
> grub> root (hd0,0)
> grub> setup (hd0)
> grub> root (hd1,0)
> grub> setup (hd1)
> grub> quit

I warned you about not copy/paste (grrr...) >>:-)

The above will only work if these two apply:

- You have GRUB legacy (GRUB2 partitions now start at "1" instead "0")
- Your "/boot" partition is located in the first partition of the first/
second disk

Are both points matching your installation? 

> Thank Camaleón. your links literally helped me a lot. :)

You're welcome, but let's focus on how we can solve the problem now ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jlml5v$j6g$6...@dough.gmane.org

Reply via email to