[ubuntu-uk] Boot/Grub problem
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
>>> is now on /dev/sda6 instead of /dev/sda7. (That's because the old swap
>>> 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?
>>> don't want to make things worse by getting this wrong.
>> Yes, you do. Run:
>> grub-install /dev/sda
> 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.
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-uk