LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot start Ubuntu 9.10 after update from 9.04 (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-start-ubuntu-9-10-after-update-from-9-04-a-768875/)

ffilc7373 11-13-2009 05:24 AM

Cannot start Ubuntu 9.10 after update from 9.04
 
I have just updated from 9.04 to 9.10 (after reading several good reports) and initially had intermittent crashes so decided to go back to 9.04. Somewhere on the way I have screwed it up and now nothing works.
The Boot list shows only 2 prompts;
kernel 2.6.27-9-generic (which returns a lank screen)
kernel 2.6.27-9-generic (recovery mode)

If I start the Recovery mode, Drop to root shell prompt and type gedit /boot/grub/menu.lst
I would expect to get the possibility to review/change the list but I get;

(gedit:3102): Gtk-WARNING ** cannot open display+

I have tried dpkg-reconfigure xserver-xorg
but this does nothing and returns me to the shell prompt.

I don't have a backup copy of Grub and I updated from the update manager so do not have an update CD.

Anyone got a fix, a way into the menu.lst "might" help
Thanks Cliff

repo 11-13-2009 05:38 AM

try
Code:

vi /boot/grub/menu.lst

ffilc7373 11-13-2009 10:08 AM

Thanks Repo, that was quick and easy!
It got me into /boot/grub/menu.lst and I find I have 10 options in the file. Only 2 show on the boot list (The number is set to 7)
I think the 2 are on sda2 (although that is not obvious from the menu.lst) and the others may be on sda4, because of partition size.
Before I start trying to move things is there a Grub command to Boot from a different sda? or am I asking the wrong question?
Thanks Cliff

SharpyWarpy 11-13-2009 07:45 PM

I recommend you do a clean install, not an upgrade. Save all the data in your home directory and any other configuration files you need to keep and then do the installation. I have used Fedora and Mandriva and I learned years ago upgrades seldom work out. I think if others told the truth they'd tell you too -- upgrades are a pain.

ffilc7373 11-15-2009 05:10 AM

Thanks, that's sound advice but I have had good results updating Ubuntu year by year. You only know it's a mistake when it screws you!!
Right now I can't get Ubuntu to Boot at all and since I have Gigabites of data in there somewhere I am reluctant to do a new install and lose it all.
Since I can't open the o/s I can't copy anything out.
Right now I am lost and don't even know what question to ask.
Thanks for your input
Regards Cliff

repo 11-15-2009 05:35 AM

Quote:

The Boot list shows only 2 prompts;
kernel 2.6.27-9-generic (which returns a lank screen)
kernel 2.6.27-9-generic (recovery mode)
These seems the kernels from 9.04 to me

Do you have more options in your /boot/grub/menu.lst
eq do you see a more recent kernel?
If yes, try to remove the # and see if they boot.


Quote:

Right now I can't get Ubuntu to Boot at all and since I have Gigabites of data in there somewhere I am reluctant to do a new install and lose it all.
Since I can't open the o/s I can't copy anything out.
You can use a live cd (puppy is good for recovering) and copy the data to an external device.
http://puppylinux.org/main/index.php...ad%20Puppy.htm
Next time, create a seperate /home and/or /data partition, to keep your files, so when you need to reinstall, you can reuse them.

ffilc7373 11-15-2009 01:25 PM

Thanks for the input repo.
The Boot Menu shows;
Ubuntu 8.10, Kernel 2.6.27-9-generic (on sda4)
Ubuntu 8.10, Kernel 2.6.27-9-generic (on sda4)recovery mode
Ubuntu 8.10, memtest 86+
Ubuntu 8.10, memtest 86+
Other operating systems
Microsoft Windows XP Home Edition

.............................

The /boot/grub/menu.lst shows;
Title Ubuntu 8.10, 2.6.27-9-generic (on sda4)
Title Ubuntu 8.10, 2.6.27-9-generic (on sda4)recovery mode
Title Ubuntu 8.10, 2.6.27-7-generic (on sda4)
Title Ubuntu 8.10, 2.6.27-7-generic (on sda4)recovery mode
Ubuntu 8.10, memtest 86+

###END DEBIAN AUTOMAGIC KERNELS LIST
#This is a divider, added to seperate the menu items below from the Debian ones

Title Other operating systems

#This entry automatically added by the Debian installer for non linux OS on /dev/sda1

Title Microsoft Windows XP Home Edition.

#This entry automaticaaly added by the Debian installer for an existing linux
#installation on /dev/sda2

Title Ubuntu 8.10, kernel 2.6.27-9-generic (on sda2)

#This entry automaticaaly added by the Debian installer for an existing linux
#installation on /dev/sda2

Title Ubuntu 8.10, kernel 2.6.27-9-generic (on sda2)recovery mode

#This entry automaticaaly added by the Debian installer for an existing linux
#installation on /dev/sda2

Title Ubuntu 8.10, kernel 2.6.27-7-generic (on sda2)

#This entry automaticaaly added by the Debian installer for an existing linux
#installation on /dev/sda2

Title Ubuntu 8.10, kernel 2.6.27-7-generic (on sda2)recovery mode

#This entry automaticaaly added by the Debian installer for an existing linux
#installation on /dev/sda2

Title Ubuntu 8.10, kernel 2.6.27-9-generic

#This entry automaticaaly added by the Debian installer for an existing linux
#installation on /dev/sda2

Title Ubuntu 8.10, kernel 2.6.27-9-generic

Title Ubuntu 8.10, memtest 86+

Each of these headings have several lines of additional data which I have ommitted in this reply.

You will note that none of the items are blocked (ie #)

The advantage of gedit is that it allows me to edit/copy/save files which vi or vim doesn't but gedit doesn't work.

Hope that make sense and perhaps shows what needs to be done. Meanwhile I am trying your idea with a live CD, first I have to make one.
Thanks again repo
Cheers Cliff

ffilc7373 11-17-2009 10:10 AM

Thank you to all for input, problem solved by reinstalling Ubuntu 8.10 and update to 9.04.
It would have been nice to understand what had gone wrong but it is sufficient that it now works.
I will not be updating to 9.10 (again) anytime soon.
Cheers Cliff

rameshp3 03-15-2010 05:52 AM

Try the following commands

# X -configure
# fsck
# init 6

After the reboot, one will get GUI login


All times are GMT -5. The time now is 06:18 PM.