booting problem in upgrade to ubuntu 9.10

Asked by Rehab

Using internet to upgrade from Ubuntu 9.04 to 9.10. restarting the dell laptop, different types of OS appears to boot, selection any type gives initrd is unknown

Question information

English Edit question
Ubuntu grub Edit question
No assignee Edit question
Solved by:
Digvijay Patankar
Last query:
Last reply:
Revision history for this message
Best Digvijay Patankar (dbpatankar) said :

Try reinstalling the GRUB.
Since you upgraded from 9.04, follow these steps:

This will reinstall the grub and perhaps solve the problem.

Revision history for this message
Rehab (rehab-alwan) said :

The problem solved by following the steps of manual boot available in the site below:

A. Set the Root Partition (Step 1)

1. set root=(hdX,Y)
  Type with correct X,Y results from the ls command and ENTER. Remember GRUB 2 counts the first drive as 0, the first partition as 1. Example: If the Ubuntu system is on sda5, enter: set root=(hd0,5)

B. Enter the "linux" Line Information (Step 2a - 2d)

linux kernel root ro

2a. linux

 Type linux, add a space, and continue.

2b. /boot/vml

 Type /boot/vml, then TAB to show the available kernels. Enter the correct kernel, add a space after the complete kernel name, and continue.

2c. root=/dev/sdXY
  Type (with the correct device such as "sda1", "sdb5", etc), add a space, and continue.

2d. ro
  Add any options, such as ro, etc.

Once all the information on the line is correct it should look similar to the sample below. Press ENTER. Look for confirmation. If successfully entered GRUB 2 will display stored information between [ ] symbols. (First highlighted section below).

linux /boot/vmlinuz-2.6.31-9-generic root=/dev/sda1 ro
C. Enter the "initrd" Line Information (Step 3a - 3b)

initrd /boot/initrd.img-2.6.31-9-generic

3a. initrd

 Type initrd, add a space, and continue.

3b. /boot/initrd

 Type /boot/initrd, then TAB to show the available initrd images. Enter the correct initrd image. Look for a line similar to the confirmation line highlighted above.

D. Boot (Step 4)

4. boot
  Boot to the entered kernel/OS. CTRL-x may also work.

then i install grub from the terminal (sudo grub-install /dev/sdX), now the laptop works normally.