[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub warning when updating



Le 21/10/2013 08:23, Guy Marcenac a écrit :
Le 20/10/2013 23:39, Bob Proulx a écrit :

[...]
How should I do to come back to a correct installation of grub?
note: this is a remote server I manage through ssh
Hopefully you can get on the console to see console messages and to
take corrective console action?  Yes?  No?
Hello Bob,

I do
But being remote, if I mess up my boot sequence or my partionning, I dont have the backup of booting from CD

To reconfigure the grub-pc package run dpkg-reconfigure:

   # dpkg-reconfigure grub-pc
[...]
That is the case you are faced with now.  Your df command shows that
you have "/" on "/dev/sda1".  That is great.  In the next screen it
will display several options.  One of those options should be
"/dev/sda".  In a normal case I would install grub to there.  But I
think previously you followed the written advice above, and installed
grub to _all_ locations as they recommended.  But one of those was the
boot device and that is causing things to complain due to the need for
blocklists in that case.

Is there any reason you would not want to install grub to /dev/sda?
Is there ?
I am always dreadful of overlapping a partition :(

Grub-install shoes that I installed on /dev/sda1:
[ ] /dev/sda (1000204 MB; ST31000528AS)
[*] - /dev/sda1 (10737 MB; /)

And fdisk -l
Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        4096    20975616    10485760+  83  Linux
/dev/sda2 20975617 24879411 1951897+ 82 Linux swap / Solaris
/dev/sda3        24879412  1953520064   964320326+  8e  Linux LVM

If that is the decision the select *only* that one location, unselect
any other locations, and proceed.

Bob


After lots of reading about grub and the boot gap, I eventualy did it.
Works fine
Thanks for your help


Reply to: