Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I used to have a Windows 7 partition on my primary hard drive. But I recently moved the partition to the secondary partition, thus a change from sda1 to sdb1.

I know that I'm not supposed to edit /boot/grub/grub.cfg, which is still configured to sda1.

Which file should I edit?

share|improve this question
    
Just to clear things up, you moved it to second partition or second drive ? the letter after "sd" (sdA, sdB) is a physical drive, the number (sda1, sda2) is a partition on the same drive.... So, sda1 is the first partition of the first physical drive, sdb1 is the first partition of the second physical drive. –  Mobidoy Dec 15 '10 at 14:16
add comment

1 Answer

up vote 3 down vote accepted

just re-run grub-mkconfig discussion here: http://kubuntuforums.net/forums/index.php?topic=3106368.0

share|improve this answer
    
note: you may have to edit the boot.ini on the windows partition to get it to boot –  hbdgaf Dec 15 '10 at 14:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.