Posts Tagged ‘Grub’

ISO Testing Natty

1, December 2010

ISO Testing Natty Alpha 1

Testing PC details: hardware

Downloaded the testing iso from http://cdimage.ubuntu.com/daily-live/20101130.1/ using zsync

first install zsync

$ sudo apt-get install zsync

then I created a folder called iso-testing and copied my last Meerkat iso into it then created a script called iso-testing.sh as follows

#!/bin/sh
## created by Martin Cooper ##
##
echo “open iso testing folder:…”
cd ~/iso-testing
echo
echo “Now check local iso with current iso and update if out of date…”
echo
## Alpa 1 iso location ##
zsync -i *.iso http://cdimage.ubuntu.com/daily-live/20101130.1/natty-desktop-i386.iso.zsync
echo “ok all done now..”

The -i *.iso makes zsync check any iso image in the folder to see if it is an up to date version of the version of ubuntu we have named in the download URL, in this case natty-desktop-i386.iso and if not use it as a base only downloading the files that have changed.

Once that was done and the iso was burned to a DVD [the current Alpha1 iso is too big to fit a CD] I booted it up in the test pc.

The iso booted ok but to a Live desktop with wallpaper, an examples folder and an install link but no gnome panels top and bottom. The graphics card I have will need a restricted driver adding before it [maybe] supports the new Unity desktop and there does not seem to be a fall-back option for unsupported graphics cards to give users the option to update the rivers yet. So for me the test was a fail!

I then decided to complete another of the Tests in the ISO Testing Tracker http://iso.qa.ubuntu.com/, the free software only install. I knew I would still have no Desktop but I wanted Natty on the testing PC and wanted the opportunity to continue testing up to Alpha2. The install was to the 1st of the 2 Hard Drives on the PC, the 2nd currently has the LinuxMint Debian rolling release on it.

The result was the same no Desktop panels, just the revolting purple wallpaper. I could however open a Terminal using Ctrl+Alt+T and confirm that there was no non free software installed on the PC using the command line tests given in the testing script.

Verify that neither the restricted nor multiverse archives have been enabled:

$ grep “restricted\|multiverse” /etc/apt/sources.list | grep -v “^#”

should return nothing

Verify that the linux-restricted-modules package has not been installed:

$ dpkg -l linux-restricted-* | grep -vE “^[a-z]n”

should return no packages

so that works but no usable desktop!

To fix this I found this post http://ubuntuforums.org/showpost.php?p=10184462&postcount=10 by lidex

Opened a Terminal using the keyboard shortcut Ctrl+Alt+T, then entered

$ gconf-editor

and once the gconf editor opened navigated to desktop/gnome/session/required_components/panel and changed “” to gnome-panel then rebooted.

The second major problem was that the install of Natty has wiped the LinuxMint boot options from Grub so to fix this I followed this http://ubuntuforums.org/showthread.php?t=1581099 thread by drs305 from 3. as I could get into Ubuntu and had a working Internet connection.

3. Purge Grub 2 packages. The next command will remove grub, grub-pc (Grub 2) and grub-common.

* Here is what you will do:

* Press ENTER to continue.

* Read the warning during the install about removing the bootloader. TAB to highlight “” and press ENTER.

* If you are sure you have never had Grub legacy on the current installation you may omit “grub” from the next command (apt-get purge grub-pc grub-common).

Code:

$ sudo apt-get purge grub grub-pc grub-common

4. Reinstall the grub packages. Here is what will happen:

* You will be given the opportunity to add extra kernel options to the kernel line. If you don’t know, you probably don’t need them ; TAB to highlight “” and press ENTER.
* Read the installation notes. TAB to “” to continue.
* When presented with the device option, use the UP/DN keys to select the correct drive (sdX).

Make sure the installation drive [*] /dev/sdX has an asterisk next to it ( example: [*] /dev/sda ). If it doesn’t, highlight it and press the SPACE bar to select it.
Do not select a partition ( example: [ ] /dev/sda5 , etc).

* TAB to “” and press ENTER. When it has finishing the installation, you should have Grub 2 installed.

Code:

$ sudo apt-get install grub-common grub-pc

5. Update the Grub 2 files . This command shouldn’t be necessary, but it won’t hurt to update Grub once more before exiting.
Code:

$ sudo update-grub

and rebooted to test, all is right with grub2 again.

Testing Alpha [Edit: ]

Just added the restricted nVidia driver [tried both v173 & 96] and both somehow removed the Gnome panels again, with the fix above not helping as the gnome-panel option is still in place. When I revert back to no restricted driver the panels return.

 

 

10 Things to Do After installing Maverick

20, October 2010

Before you mess, backup the sources.list with;
$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

1] Select a new wallpaper as the wallpaper has not improved since the purple tie dyed T Shirt look of Lucid. Right Click the desktop and select [Change Desktop Background] and select any other wallpaper from the defaults or one of your own.

2] remove the revolting purple background to the graphical login window, install GDM2 Setup

GDM2 Setup, A login interface management utility for the new GDM. Allows for wallpaper setting, autologin option, prompted or userlist login, etc.

The setup utility that comes in Ubuntu Karmic (and many other Gnome based distros) is missing most of the older GDM setup utility’s functionality. This application puts the functionality back in the hands of the users through a familiar and simple GUI. https://launchpad.net/gdm2setup
Add this empty directory first [the program halts if it can’t find it, a bug https://bugs.launchpad.net/gdm2setup/+bug/560130 that should have been sorted by now guys];

$ sudo mkdir /usr/share/images/xsplash

Add source with;

$ sudo add-apt-repository ppa:gdm2setup/gdm2setup

there is no Maverick repo yet, so you then need to open [System], [Administration], [Synaptic Package manager], {settings], [Repositories] and click on the “other Software” Tab. Now highlight the gdm2setup line and select [Edit] and change Maverick back to Lucid and close.

then update

$ sudo apt-get update

now add the program

$ sudo apt-get install python-gdm2setup

Then find the program called Login Screen (GDM2Setup) in [System], [Administration]

3] Swap the Close/Min & Max buttons back to the Right on the Windows, try if for a while first as it hear to stay! “windicators” are on their way for right hand side.

Install Ubuntu Tweak http://ubuntu-tweak.com/

Add Ubuntu Tweak source
$ sudo add-apt-repository ppa:tualatrix/ppa

$ sudo apt-get update

$ sudo apt-get install ubuntu-tweak

Then find the program called Ubuntu Tweak in [Applications], [System Tools] and in the program select [Windows Manager Settings], [Windows Titlebar Button Layout]

4] Remove the Social networking/message notification indicators i.e. the new “me” menu and the “envelope” from the top Right Hand notification area, I’m not Social and proud of it :-).

remove me-menu with;

$ sudo apt-get remove -y indicator-me

remove the envelope with;

$ sudo apt-get remove -y indicator-messages

both will disapear on rebooting the desktop.

5] Add the Gnome Configuration Editor to your menus. Right Click on the [Application] menu and select [Edit Menus], then select [System Tools] and place a tick in the box next to [Configuration Editor] and then select [Close]. Now select [Applications], [System Tools] then [Configuration Editor]

6] Remove the 60 second to shutdown confirmation message. Open the Configuration Editor [see 4 above] in Applications, [System Tools] now using the left-hand menu select [apps], then [indicator-sessions] and tick the box next to [ suppress_logout_restart_shutdown ] then [File], [Quit]

Or in a Terminal;
$ gconftool-2 --type Boolean --set /apps/indicator-session/suppress_logout_restart_shutdown True

7] Updates: revert back to the update icon in the top toolbar, open Gnome Configuration Editor [see 4 above], then navigate to [apps], [update-notifier] and untick the [auto-launch] option, then change the [regular_auto_launch_interval] to zero, then [File], [Quit] and reboot your PC.

Or in a Terminal;
$ gconftool-2 --type Boolean --set /apps/update-notifier/auto_launch False
and
$ gconftool-2 --type int --set /apps/update-notifier/regular_auto_launch_interval 0

8] Hate the Nautilus bread-crumb file path?, switch back to the text file path with Ctrl+l or / and back again with Esc. You can also switch permanently by opening the Gnome Configuration Editor [see 4 above], then navigate to [apps], [nautilus], [preferences] and putting a tick in the always_use_location_entry box.

9] Get Flash working in Firefox: Open Firefox and access [Tools], [Add-ons], select the [Get Add-ons] Tab and then [Browse All add-ons] then search for FLASH-AID and install it and follow the on screen instructions.

10] Enjoy…..

Edit Grub

8, August 2009

I had too many entries on the Grub menu and decided to edit it, 1st I opened a Terminal and typed;

sudo cp /boot/grub/menu.lst sudo /boot/grub/menu.lst.back

and hit [Enter], which copies the menu file to a file called menu.lst.back in the same folder.
then I typed;

sudo gedit /boot/grub/menu.lst

This opened the boot menu in the gedit text editor, I then placed # at the start of any line I did not want to show on the menu, re saved it and re booted the laptop all done.