[ubuntu-uk] Boot/Grub problem
Timothy Rittman
tim.rittman at doctors.org.uk
Mon Oct 31 22:08:53 UTC 2011
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. I found
them useful in a similar situation.
Regards,
Tim
More information about the ubuntu-uk
mailing list