Re: [Dorset] Editing grub menu config
On Thu, 2009-12-10 at 10:57 +, John Cooper wrote: On 10/12/09 09:32, Peter Merchant wrote: On Wed, 2009-12-09 at 18:50 +, Terry Coles wrote: On Wednesday 09 Dec 2009, Peter Merchant wrote: From the LUG meeting last week and the discussion about getting rid of obsolete versions and their partitions, it was suggested that I edit /boot/grub/menu.lst. Well, I looked at the partitions with gparted, and found two swap partitions. I tried to remove an unused obsolete ext3 partition and the oldest swap, and now when I boot I get the Grub_Recovery prompt. This is Grub2 with Kubuntu 9.10. So I am now working (temporarily) from the other home machine. It seems to me that Grub2 doesn't like changes! I'll keep you informed. Peter M. Later the same evening https://wiki.ubuntu.com/Grub2#Recover%20Grub%202%20via%20LiveCD Enabled me to get back my kubuntu system. All I need to do now is recover my XP side. Peter M. I saved the relevant part of that link as a file, so I have it available if someone needs it -- Next meeting: Dorchester, Tuesday 2010-01-05 20:00 Dorset LUG: http://dorset.lug.org.uk/ Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset List info: https://mailman.lug.org.uk/mailman/listinfo/dorset
Re: [Dorset] Editing grub menu config
DON't Do IT! See below On Wed, 2009-12-09 at 18:50 +, Terry Coles wrote: On Wednesday 09 Dec 2009, Peter Merchant wrote: From the LUG meeting last week and the discussion about getting rid of obsolete versions and their partitions, it was suggested that I edit /boot/grub/menu.lst. In Kubuntu 9.1 it looks like the file is grub.lst and the first line is - You must not edit this file Dare I? Well whether you dare or not is up to you, but it's not advisable. 9.10 uses Grub2 and it's configured in a totally different way. Also, there's something funny about it if you previously had an earlier version and upgraded as opposed to a clean installation. We discussed this some weeks ago, I'll see if I can find the relevant post. -- Terry Coles 64 bit computing with Kubuntu Linux I dared. and the consequences were dire. I edited grub.cfg and took out a couple of menu selections. Rebooted and it wouldn't boot. I had to boot from a bootable CD, navigate to the appropriate place, and replace the edited file with the backup. StartupManager won't edit out some of the selections from the grub menu, so I am still at square 1. Peter -- Next meeting: Dorchester, Tuesday 2010-01-05 20:00 Dorset LUG: http://dorset.lug.org.uk/ Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset List info: https://mailman.lug.org.uk/mailman/listinfo/dorset
Re: [Dorset] Editing grub menu config
On 10/12/09 09:32, Peter Merchant wrote: On Wed, 2009-12-09 at 18:50 +, Terry Coles wrote: On Wednesday 09 Dec 2009, Peter Merchant wrote: From the LUG meeting last week and the discussion about getting rid of obsolete versions and their partitions, it was suggested that I edit /boot/grub/menu.lst. In Kubuntu 9.1 it looks like the file is grub.lst and the first line is - You must not edit this file Dare I? Well whether you dare or not is up to you, but it's not advisable. 9.10 uses Grub2 and it's configured in a totally different way. Also, there's something funny about it if you previously had an earlier version and upgraded as opposed to a clean installation. We discussed this some weeks ago, I'll see if I can find the relevant post. -- Terry Coles 64 bit computing with Kubuntu Linux I dared. and the consequences were dire. I edited grub.cfg and took out a couple of menu selections. Rebooted and it wouldn't boot. I had to boot from a bootable CD, navigate to the appropriate place, and replace the edited file with the backup. StartupManager won't edit out some of the selections from the grub menu, so I am still at square 1. Ubuntu 9.10 only installs grub2 (v1.9) on new installs. Upgrades stay with grub1 (known as grub legacy, v 0.9). Help on recovering is here :- http://grub.enbug.org/Manual -- -- Discover Linux - Open Source Solutions to Business and Schools http://discoverlinux.co.uk -- -- Next meeting: Dorchester, Tuesday 2010-01-05 20:00 Dorset LUG: http://dorset.lug.org.uk/ Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset List info: https://mailman.lug.org.uk/mailman/listinfo/dorset
[Dorset] Editing grub menu config
From the LUG meeting last week and the discussion about getting rid of obsolete versions and their partitions, it was suggested that I edit /boot/grub/menu.lst. In Kubuntu 9.1 it looks like the file is grub.lst and the first line is - You must not edit this file Dare I? Peter M. -- Next meeting: Dorchester, Tuesday 2010-01-05 20:00 Dorset LUG: http://dorset.lug.org.uk/ Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset List info: https://mailman.lug.org.uk/mailman/listinfo/dorset
Re: [Dorset] Editing grub menu config
On Wednesday 09 Dec 2009, Peter Merchant wrote: From the LUG meeting last week and the discussion about getting rid of obsolete versions and their partitions, it was suggested that I edit /boot/grub/menu.lst. In Kubuntu 9.1 it looks like the file is grub.lst and the first line is - You must not edit this file Dare I? Well whether you dare or not is up to you, but it's not advisable. 9.10 uses Grub2 and it's configured in a totally different way. Also, there's something funny about it if you previously had an earlier version and upgraded as opposed to a clean installation. We discussed this some weeks ago, I'll see if I can find the relevant post. -- Terry Coles 64 bit computing with Kubuntu Linux -- Next meeting: Dorchester, Tuesday 2010-01-05 20:00 Dorset LUG: http://dorset.lug.org.uk/ Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset List info: https://mailman.lug.org.uk/mailman/listinfo/dorset
Re: [Dorset] Editing grub menu config
This is what we said a month or so ago. On Sunday 01 Nov 2009, Andrew Morgan wrote: Hi Terry, I have just had to do the same thing on my work laptop which is now running Ubuntu 9.10. I'm not sure if this is the same in Kubuntu but here's the way I did it: Install StartUp-Manager. This can be found in Ubuntu Software Centre, or by running 'apt-get install startupmanager' if you prefer. This creates a launcher in System/Administration called StartUp-Manager. I think once you run this you'll work out how to change the default operating system, its the big obvious drop-down list box marked 'Default operating system'. :) I did change the Bootloader menu resolution (Advanced tab) which worked fine, but this simply ended up with the text becoming smaller. Would be useful if you have a lot in the list though. The other thing I did was edit /etc/default/grub and un-comment the last line: GRUB_DISABLE_LINUX_RECOVERY=true This gets rid of the (recovery) menu options. The difference between these and the normal ones is that the options 'quiet splash' are removed and 'single' is added. I have never used a recovery option and I'm sure I can edit the grub entry if I need to do this, also it looks slightly neater. This method didn't require any coffee products or logos, and you may have noticed that I have not quoted any text so I can't be accused of top- or bottom- posting. Aren't I good? :) ps. My work laptop shuts down/reboots in about 3-4 seconds! I was amased. But then it isn't much more than a default install + mpd. -- Terry Coles 64 bit computing with Kubuntu Linux -- Next meeting: Dorchester, Tuesday 2010-01-05 20:00 Dorset LUG: http://dorset.lug.org.uk/ Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset List info: https://mailman.lug.org.uk/mailman/listinfo/dorset