Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Grub2 stop ubuntu

  Date: Dec 04    Category: Unix / Linux / Ubuntu    Views: 327
  

i am facing problem in ubuntu , it does not work at all in my laptop .
the last time i installed grub2 after that i shutdown my computer , then when i
start again , the boot screen appear like that :

chainload into Grub2
words told me upgrade-from-grub-legency as i understand
Debian GNU/linux , Kernel 2.6.28 22 generic
.......... etc ( as usually )
Windows Vista (loader)

when i hit one of them ( except Windows vista of course ) the screen told me
the following :

Error 11 : unrecognized device string
press any key to continue .....

and then when i press any key i back to boot screen again .
i do not what i do , so i need your help if you can

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Dec 04    

Grub uses relative device naming, counting devices by ordinals. Grub is
saved just as your system was when you installed. It is therefore a snapshot
in time. If you remove a device it throws grub off. For example if you have
a usb drive and unplug it or plug one in when one wasn't there before,
devices in grub after that would be looking for the kernel on a different
device and then you get an error.

You have two choices. You can attempt to plug in devices just as they were
when you installed Linux or you can edit or re-write grub. You can
temporarily edit grub by pressing e on the boot line of grub that you want
to edit. You can make changes and press Ctrl-X when done.

Grub names devices using ordinals counting from zero. The first drive would
be names hd0 and partitions on that drive would be (hd0,0) and (hd0,1) and
the second would be named hd1 with partitions being (hd1,0) and (hd0,1) etc.
The first number is the drive and the second is the partition ordinal.

Once you sort it out you can make the change permanent by using gedit to
change the grub.cfg file. You need to do this as root (sudo gedit in a
terminal).

You can try to rewrite grub by either editing grub manually to get into
Ubuntu or to do it from the Live CD.

https://wiki.ubuntu.com/Grub2

I install Ubuntu to a SD card on my netbook and I write grub to the SD card
and not the hard drive then I press escape at boot up and use the boot
manager that came with it to switch boot devices. This way it does not
matter if I forget and have a usb key in when I boot up and if I want
Windows I just let it boot to the hard drive. When you install Ubuntu you
can change where grub is written on page 7 by clicking the Advanced button.
I usually write grub to the device on which the distro is installed and not
on the first hard drive. I have 17 partitions and at least six distros
installed at any one time. Editing grub could be a full time job, but doing
it this way minimizes any problems. If one drive does not boot I can usually
resurrect things by booting another drive and editing grub manually.

 
Answer #2    Answered On: Dec 04    

I resolved the problem , as it written in wiki ubuntu

Error 11: Unrecognized device string...
* press any key to continue
* highlight "Chainload into GRUB 2"
* press e
* highlight "root xxxxxxxxxxxxxxxxxxxx"
* press e
* change "root xxxxxxxxxxxxxxxx" to "uuid xxxxxxxxxxxxxxxxxx"
* press b to boot "uuid xxxxxxxxxxxxxxxxxxx"
* load your kernel and press enterand after i entered to ubuntu , in terminal i
entered the following
sudo upgrade-from-grub-legacy
and every thing is ok know

 
Didn't find what you were looking for? Find more on Grub2 stop ubuntu Or get search suggestion and latest updates.




Tagged: