Re: [ubuntu-uk] Boot/Grub problem

2011-10-31 Thread Tyler J. Wagner
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

-- 
No one can terrorize a whole nation, unless we are all his accomplices.
   -- Edward R. Murrow

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Boot/Grub problem

2011-10-31 Thread Timothy Rittman

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




--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Boot/Grub problem

2011-10-31 Thread Tony Pursell
On 31 October 2011 22:08, Timothy Rittman tim.ritt...@doctors.org.ukwrote:


 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/Grub2https://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
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/