Welcome, Guest. Please login or register.
April 19, 2014, 14:03:01 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Installing Pardus
| | |-+  Grub: menu.lst not updating
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Grub: menu.lst not updating  (Read 1864 times)
James T
Pardus Master
***
Posts: 155



View Profile
« on: April 18, 2010, 19:38:51 PM »

On my "test-bed" machine, I have 3 different distros installed. Originally Chakra (Arch), Mandriva and Pardus.  I then replaced Mandriva with Sidux, and that replaced grub with grub2. At this stage no major problem, it detected Chakra & Pardus (though Sidux became the default boot).

However following the recent Pardus kernel update, things start to come unravelled:
Not unexpectedly, the grub2 loader from Sidux didn't spot the update. So I figured: "try to install grub from Pardus", but grub-install still only has the older Pardus kernel listed (and still lists the Mandriva boot options).

Is there a way to get menu.lst to update (other than entering all the details manually via the system settings) to include the latest Pardus kernel (even if I have to manually add the Sidux one).

Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #1 on: April 18, 2010, 21:28:02 PM »

Use Rescue System > Reinstall GRUB from the installation CD/USB.
This option will try to detect all available OS and generate a new /boot/grub/menu.lst and install GRUB.
Logged
James T
Pardus Master
***
Posts: 155



View Profile
« Reply #2 on: April 21, 2010, 16:32:33 PM »

Not good so far.
1) The 2009 CD left the boot list unchanged (and failed to exit properly -- python syntax error).
2) After renaming menu.lst & grub.conf 2009 left grub with nothing.
3) 2009.1 produced a new boot menu but the Pardus entry won't boot (I've not yet had a chance to investigate properly what it's done as the machine has now decided that it won't boot from CD [any CD so it's not just a marginal burn])

I'll probably have to wait for the weekend to see if it's just a loose IDE cable or a failed drive.
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #3 on: April 21, 2010, 21:33:39 PM »

1) The 2009 CD left the boot list unchanged (and failed to exit properly -- python syntax error).
This is a known Bug in P2009 and has been solved in P2009.1. Grin

2) After renaming menu.lst & grub.conf 2009 left grub with nothing.
This isn't necessary.

And not every update (build number) of the kernel needs a new entry in GRUB.
You can compare the entry in System Settings > Boot Manager with "pisi info kernel" in a Konsole.
Logged
James T
Pardus Master
***
Posts: 155



View Profile
« Reply #4 on: April 22, 2010, 16:44:26 PM »

3) 2009.1 produced a new boot menu but the Pardus entry won't boot (I've not yet had a chance to investigate properly what it's done as the machine has now decided that it won't boot from CD [any CD so it's not just a marginal burn])

I've managed to figure this one out. The good news is it's unlikely to affect anybody else to the extent of unbootability:
The rescue system creates a menu.lst entry not for the latest kernel it finds on the disk, but rather for the one matching the 2009.1 original release. However on my system  that was one of the test kernels generated to track down a major kernel bug
  •   just before the 2009.1 release (for the release the developers reset the build numbers). Moral: don't leave defective development kernels lying around!
  • Unable to boot AMD Athlon XP CPUs.
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #5 on: April 22, 2010, 21:37:27 PM »

  •   just before the 2009.1 release
You mean Pardus 2009.1 RC

  • Unable to boot AMD Athlon XP CPUs.
Where is this coming from Huh? (because this would be very strange.)
It's a regular every day CPU.
Logged
James T
Pardus Master
***
Posts: 155



View Profile
« Reply #6 on: April 22, 2010, 22:40:48 PM »

  •   just before the 2009.1 release
You mean Pardus 2009.1 RC

  • Unable to boot AMD Athlon XP CPUs.
Where is this coming from Huh? (because this would be very strange.)
It's a regular every day CPU.

I forget the  exact timeline now, but I think that the RC came out with the problem kernel, and there was then a fairly frantic exchange as it became clear that the problem was on pretty mainstream hardware. If you really want to check it out look for bug 11939 http://bugs.pardus.org.tr/show_bug.cgi?id=11939. In essence the devs produced a number of test kernels to try to isolate the problem (these were only installed by a small number of users [2 or 3 as I recall]) and the version numbers of these were then reused in the actual release and the version that was released re-used the version number of one of the tests that didn't work (and I had left that lying around).
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!