Grub-pc problem

View: New views
6 Messages — Rating Filter:   Alert me  

Grub-pc problem

by Simon Vos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have an AMD64 debian unstable installation running on my laptop. I upgraded my system today, but while installing an updated version of grub-pc something goes wrong. It tells me that it "cannot find a device for /boot/grub" while executing grub-probe. What can I do to try and solve this issue on my pc (or perhaps work around this)?

Simon

Re: Grub-pc problem

by Michael-352 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Simon,

Are you upgrading from grub-legacy to grub2 (grub-pc) ?
If the old grub worked for you before without problems then it may help if you post the old config file /boot/grub/menu.lst and the new one which is effectively /etc/default/grub.

If there's something special with your laptop then you probably would need to tell that of course. Like an exotic or encrypted filesystem.

You can enter a grub shell with 'c' and there are some commands available to test if grub can find any file in /boot/grub directory. Try 'search' (search devices by a file or a filesystem label) and 'help'.

http://grub.enbug.org/CommandList

http://grub.enbug.org/Manual

Another thing which you can do is downgrade to legacy grub again, then repeat the upgrade process and try to answer the debian configurators' questions somehow differently.


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Grub-pc problem

by Michael-352 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>Try 'search' (search devices by a file or a filesystem label) and 'help'.

oh if you're still on legacy then it's rather 'find' not 'search'


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Parent Message unknown Re: Grub-pc problem

by Simon Vos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for the suggestions, I will try to look at the configuration and see if that is the problem. I am not upgrading from grub-legacy, I have been using grub-pc for some time now. I tried to downgrade to the previous version or grub-pc, but that didn't work for me either.

On Oct 7, 2009 1:24 AM, "Michael" <codejodler@...> wrote:

>Try 'search' (search devices by a file or a filesystem label) and 'help'.

oh if you're still on legacy then it's rather 'find' not 'search'

-- To UNSUBSCRIBE, email to debian-amd64-REQUEST@... with a subject of "unsubscribe"...


[SPAM detected Spam-Test: True ; 4.0 / 3.0] Re: Re: Grub-pc problem

by naths :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Simon,

After upgrading you may have option for grub legacy or grub2 for use.
Please check which one you are using.You have to use command
'upgrade-from-grub-legacy' to use grub2 permanently.

grub2 use file /boot/grub/grub.cfg and legacy file /boot/grub/menu.lst
compare to use right device for root.

/usr/share/doc/grub* may help you.

Have fun

regards,

G.NATH



--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: [SPAM detected Spam-Test: True ; 4.0 / 3.0] Re: Re: Grub-pc problem

by Simon Vos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry, I have been able to solve the problem in the mean time. For some reason one of the grub commands called by the script that creates grub.cfg failed. It was the one retrieving the id of the HDD. I changed the grub.cfg file manually to use a /dev/ device instead of uuid and my laptop booted again. After that I tried running the script manually after updating my system again and everything worked again.

And I was using grub2 already, I was *not* booting grub2 through grub1..

Simon


On Fri, Oct 23, 2009 at 5:47 PM, naths <prab9062@...> wrote:
Hi Simon,

After upgrading you may have option for grub legacy or grub2 for use.
Please check which one you are using.You have to use command
'upgrade-from-grub-legacy' to use grub2 permanently.

grub2 use file /boot/grub/grub.cfg and legacy file /boot/grub/menu.lst
compare to use right device for root.

/usr/share/doc/grub* may help you.

Have fun

regards,

G.NATH



--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...