[ubuntu-uk] Boot/Grub problem

Tony Pursell ajp at princeswalk.fsnet.co.uk
Mon Oct 31 22:39:13 UTC 2011


On 31 October 2011 22:08, Timothy Rittman <tim.rittman at doctors.org.uk>wrote:

>
> On 31/10/11 20:14, Tyler J. Wagner wrote:
>
>> On 2011-10-31 20:04, Tony Pursell wrote:
>>
>>> I've got a problem with booting after I removed my old 1GB swap file and
>>> created a new bigger swap file.  The upshot of this seems to be that
>>> /boot
>>> is now on /dev/sda6 instead of /dev/sda7.  (That's because the old swap
>>> was
>>> before it on the disk).  What I get now is Error: unknown filesystem and
>>> the Grub Rescue prompt.  I can put in appropriate commands there, which
>>> gives me the Grub menu and I can boot from there.  I have run update-grub
>>> and as far as I can see, grub.cfg now refers to /dev/sda6, but I am still
>>> getting the Grub error.
>>>
>>> Do I have to run grub-install as well?  If I do, what is install_device?
>>>  I
>>> don't want to make things worse by getting this wrong.
>>>
>> Yes, you do. Run:
>>
>> grub-install /dev/sda
>>
>> Regards,
>> Tyler
>>
>>
> Hi Tony,
>
> Not sure if you've already found it, but there are some useful step by
> step commands here:https://help.ubuntu.com/**community/Grub2<https://help.ubuntu.com/community/Grub2>.
> I found
> them useful in a similar situation.
>
> Regards,
>
> Tim
>
> Thanks Tim  & Tyler for your help.  I'm up and running OK now.  I did see
the article on Grub2, but didn't find it quite definite enough and needed
some re-assurance.

Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20111031/35b59ed6/attachment-0001.html>


More information about the ubuntu-uk mailing list