rss
email
twitter
facebook

Tuesday

My Latest Ubuntu System

Saturday

Dual-Booting Windows XP/Vista And Ubuntu 7.04

---------------------------------------------------------------------------

In this tutorial I will teach you how to dual-boot between Windows XP/Vista and Ubuntu.

This tutorial will be split up into two parts:

one for people who have no operating system installed.
two for people who have Windows XP/Vista installed and don't want to re-install Windows.
lo
Fresh start

In this part I will go though every step from installing Windows and Ubuntu to creating the dual-boot.
Windows XP + Ubuntu 7.04

What you will need:

* Windows XP Boot Disk
* Ubuntu 7.04 Boot Disk

Make sure your computer is set to boot from a CD.

To check this go into your BIOS. From there go to "Boot" and go to "Boot Priorities". Make sure CD-ROM is set to boot first and you're all set.
Installing Windows XP

Now I am going go over how to install Windows XP step-by-step.

1. Make sure your XP boot up disk is in the CD-ROM and start your PC.

2. A blue MS-DOS screen will load up first asking you if you want to install drivers or run an Automated System Recovery. Just wait for them to go by and then Windows will begin to load files needed to install XP.




Windows XP requires at least 1.5 gigabytes of hard drive space.
1000 megabytes (MB)= 1 gigabyte (GB). So when entering XP's partition make sure to write it as 90000 instead of 90, because it reads in megabytes, not gigabytes.












Congrats! You have fully installed Windows XP on your system. Activate windows if you want or do anything thing else to it. When ready go on to the next part to install Ubuntu and get the dual-boot up.

Insert the Ubuntu 7.04 boot disk and start up your computer. The boot screen will come up next. Highlight the Start or install Ubuntu choice and press Enter. Be patient while the loader goes back and forth. This may take a few minutes


Ubuntu Installation


After that Ubuntu will load up and you will be presented with a very bare screen. Double click on the Install icon to begin setting up Ubuntu.



After you double-click on the install icon it will first ask you to pick your preferred language. Choose one and click Forward




The next screen will ask you to pick a location near you for time purposes.




Once again it is time to partition your hard drive. From this screen make sure that Manual is checked and click Forward.




Now you should see a screen entitled Prepare partitions. We are now going to create the partition in which Ubuntu will run on plus a file called "SWAP" to act as virtual memory.


First let's create the SWAP file. Click on New partition. The SWAP file won't need a whole lot of space to run, so just give it 512 megabytes which will be more than enough for it to run. Now just change the Use as: option to SWAP while keeping the type of partition as Primary and the location as Beginning. Click OK to add it.


Now make sure free space is highlighted and click New partition again. This time we will add the hard drive space for Ubuntu to use. Give it what ever amount of space you would like depending on your hard drive space. Just remember to give it at least 2 GB though I recommend you give it much more. Now change the Use as: to ext3 and keep the rest of the settings the same. Click OK to add




Next right-click on the partition ext3 and click edit. From here change the mount point to a forward slash / and click OK



You should see a screen similar to this one, but with the partition NTFS on it. Last thing to do before proceeding is check the box next to ext3 to format and then click Forward.



You should see a screen similar to this one, but with the partition NTFS on it. Last thing to do before proceeding is check the box next to ext3 to format and then click Forward.




The next screen is going to ask you if you want to import any accounts you may have on Windows XP. If you want to do it, if not just proceed.


Time to enter your personal information. Just as a note: your login has to be all lowercase letters.








Well congratulations you have just fully installed both Windows XP and Ubuntu 7.04 to run on the same system under a dual-boot! I hope you enjoyed reading this as I have had a blast writing it.

--------------------------------------------------------------------------------------
For Installation of UBUNTU after Installaling Vista Follow Above Procedure as It is....
For Dual Boot with Vista/Ubuntu you need:

* Windows Vista Boot Disk
* Ubuntu 7.04 Boot Disk

Make sure your computer is set to boot from a CD. or F12 on blue screen and set default boot CD option selected.

To check this go into your BIOS. From there go to "Boot" and go to "Boot Priorities". Make sure CD-ROM is set to boot first and you're all set.
Now I am going go over how to install Windows Vista step-by-step.

1. Make sure your Vista boot up disk is in the CD-ROM and start your PC.

2. When it begins to boot you should see a black screen with a loading bar. This may take a few minutes so just let it load everything.


Please go thr each individaul screen and install vista on your machie,, (If you really dont love your machine---hahaha)







The following screen will now ask you how you want to install. As you booted from the disk the top option is likely shaded out. So just click on Custom (advanced) to continue.






You have succesfully install Vista on your machine
now for installation of ubuntu on second part please follow the above installation procedure as on XP installation.

Friday

missing parport 0 on Ubuntu

For parallel port on Ubuntu we found some good Fixes
listed as below

parport is missing on your /dev/partport0
then please follow this
on terminal ;
sudo mknod -m 666 /dev/parport0 c 99 0
ur password:
then it should be avialble for use

or

For Edgy or Dapper please remove the lp module from /etc/modules and reboot.
on terminal;

sudo gedit /etc/modules
and remove lp save the file.

This lets cupsys load both the lp and ppdev kernel module and creates /dev/parport0.

Run lpinfo -v from a terminal after rebooting, your parallel printer should be autodetected without problems now.

Wednesday

Creative WebCam Notebook setup on Ubuntu

From your terminal type
sudo gedit /etc/apt/sources.list
Add to the bottom of the list
deb http://blognux.free.fr/debian unstable main
Save and Close gedit
Install EasyCam
From your terminal type in

sudo apt-get update

Once that is finished type
sudo apt-get install easycam
Once that is finished

sudo apt-get install camorama

From your terminal type in

sudo easycam

Select the camera from the list and continue
Using your camera

Go to Applications >> Graphics >> Camorama WebCam Viewer

Friday

Upgrade Ubuntu 6.10 to 7.04

Ubuntu 7.04 is the current stable version of the Ubuntu . The common name given to this release from the time of its early development was “Feisty Fawn”.

Before Upgrading You need to remember the following point

Take comple backup of your system before upgrading .Now you need to upgraded Ubuntu Edgy Machine to Ubuntu Feisty.

We can Use Two methods to upgrade Ubuntu Edgy to Ubuntu Feisty

1) Using GUI

2) Using apt-get

Upgrading Ubuntu Edgy to Ubuntu Feisty

f you want to upgrade using GUI use the following command

gksu “update-manager -c ”

“-c” switch tells it to look for upgrades at all.

You should see the following screen here Now you can see 7.04 is available for upgrade click on upgrade



gpg:Go ahead and type your message …

Press Ctrl+C and then start the install process again.

Now you should see the following screen downloading upgrade tool

You need to enter root password and click ok

Preparing the upgrade in progress

You need to confirm the upgrade process by clicking “Start Upgrade”

Download in progress for all the required packages for Upgrade

Installation in progress

If you click on Terminal to see detailed installation in progress

Cleaning Up is in Progress

You need to restart the system to complete the Upgrade by clicking “Restart Now”

Method 2 - Using apt-get

Edit your /etc/apt/sources.list as root. Change every occurrence of edgy to feisty.

Use any prefered editor. If you have a CD-ROM line in your file, then remove it.

sudo vi /etc/apt/sources.list

or

use the following Simple command

sudo sed -e ’s/\edgy/ feisty/g’ -i /etc/apt/sources.list

Now you need to update the source list using the following command

sudo apt-get update

Upgrade using the following command

sudo apt-get dist-upgrade

Double check your process was finished properly using the following commd

sudo apt-get -f install

sudo dpkg --configure -a

Now you need to Reboot your machine to take your new ubuntu 7.04 installation to effect all changes.

Testing Your Upgrade

You can check the ubuntu version installed using the following command

sudo lsb_release -a

Output Looks like below

Distributor ID: Ubuntu
Description: Ubuntu feisty (development branch)
Release: 7.04
Codename: feisty

or

Just type the following command in your terminal

cat /etc/issue

Output Lokks like below

Ubuntu feisty (development branch) \n \l



Avant Window Navigator Installation

Installing:

Repository:

NOTE: Repository is for Feisty 32-bit ONLY.

If you are using Feisty 32-bit, this is the recommended method of installation.

Just add this to your /etc/apt/sources.list:
Code:
deb http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
deb-src http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
Then do this in a terminal:
Code:
wget http://download.tuxfamily.org/syzygy42/8434D43A.gpg
sudo apt-key add 8434D43A.gpg
rm 8434D43A.gpg
sudo apt-get update
Available packages:
avant-window-navigator-svn - the latest development version of AWN.
affinity - the latest stable version of affinity.
affinity-svn - the latest development version of affinity.
All -svn packages are updated daily.

NOTE: The Affinity in the repo (both stable and svn) only supports tracker for its search backend. If you prefer to use beagle, you will need to follow the instructions below to compile Affinity from source.
NOTE: There is no stable AWN currently because the only stable release of AWN is actually worse than SVN. Use the SVN build for now, and when the next stable version is available, I will build a package for it.

If anyone wants to create and maintain packages for other Ubuntu versions, I will gladly host them as well, and I can provide scripts for building the svn versions (almost) automatically.

Compiling from source:
If you're not running Feisty, you'll have to compile it yourself.
NOTE: Keep the source directory, you'll need it if you ever want to uninstall.

Avant-Window-Navigator (stable):
No instructions for the stable version, as it requires a patched libwnck and is not as stable/functional as the svn version. Use svn for now, when the next stable release comes out I'll post instructions here.

Avant-Window-Navigator (svn):
First install the dependencies:
Code:
sudo apt-get install build-essential autotools-dev libxdamage-dev libxcomposite-dev libgnome2-common libgnome2-dev libgnome-desktop-dev libgnome-vfs-dev libgtk2.0-dev libwnck-dev libgconf2-dev libglib2.0-dev libdbus-glib-1-dev libgnomevfs2-0 libgnome-desktop-2 libgnome2-0 libwnck-common python-gtk2 python-gconf subversion gnome-common
Now, open a terminal in the directory you want to build AWN in (I use ~/Installs/avant/) and do this:
Code:
svn checkout http://avant-window-navigator.googlecode.com/svn/trunk/ avant-window-navigator
cd avant-window-navigator
./autogen.sh
make
sudo make install
Affinity (stable):
First install the dependencies:
Code:
sudo apt-get install build-essential autotools-dev libgnome-vfs-dev libgtk2.0-dev  libgnome2-dev libgnome-desktop-dev libgnomevfs2-0 libgtk2.0-0 libgnome2-0 libgnome-desktop-2 libtrackerclient-dev libbeagle-dev
Important: You will also need to install and configure Tracker or/and Beagle for Affinity to work properly.

Now, open a terminal in the directory you want to build Affinity in (I use ~/Installs/affinity/) and do this:
Code:
wget http://affinity-search.googlecode.com/files/affinity-0.1.tar.gz
tar -xzf affinity-0.1.tar.gz
cd affinity-0.1
./configure
make
sudo make install
Affinity (svn):
First install the dependencies:
Code:
sudo apt-get install build-essential autotools-dev libgnome-vfs-dev libgtk2.0-dev  libgnome2-dev libgnome-desktop-dev libgnomevfs2-0 libgtk2.0-0 libgnome2-0 libgnome-desktop-2 libpanel-applet2-dev libtrackerclient-dev libbeagle-dev subversion
Important: You will also need to install and configure Tracker or/and Beagle for Affinity to work properly.

Now, open a terminal in the directory you want to build Affinity in (I use ~/Installs/affinity/) and do this:
Code:
svn checkout http://affinity-search.googlecode.com/svn/trunk/ affinity-search
cd affinity-search
./autogen.sh
make
sudo make install

Uninstalling:
I don't know why you would ever want to remove these awesome pieces of software, but in case you do, here's how.

Repository:

Just use synaptic or apt-get to remove the packages you installed.

Here's an apt-get line to remove all:
Code:
sudo apt-get remove avant-window-navigator avant-window-navigator-svn affinity-tracker affinity-beagle affinity-svn
Source:

Just open a terminal in the source directory (it should have a file called Makefile in it) you installed from and do
Code:
sudo make uninstall

Thursday

UBUNTU HELP

If you have experience with Linux but are new to Ubuntu

If you're already familiar with Linux and just wonder why Ubuntu/Kubuntu uses sudo instead of root, this page isn't for you. You're really looking for https://help.ubuntu.com/community/RootSudo. It has a full explanation of why Ubuntu uses sudo instead of root and what the advantages and disadvantages of that choice are.

If you are new to Linux and Ubuntu

This page is for people who are new to Linux and Ubuntu/Kubuntu and want to know what the deal is with file permissions.

What you may be used to

My guess is you're probably a typical ex-Windows user (as I was), used to running as Administrator and being able to edit pretty much any file you want—even system files, even the registry—at will, very little stopping you... maybe the occasional "read-only" file that you can just make read/write by checking a little box in the Properties dialogue.

You may also never have installed and configured an operating system before (especially if you bought a computer with Windows preinstalled for you).

The need to edit system files

Some in the Linux camp will say "you shouldn't have to edit such-and-such a file." That's simply not true. Most Linux users aren't just user—they have to install and configure stuff themselves (as Dell or HP won't do it for them), usually configuration files and system files that normal users don't have to touch (say, in order to adjust the possible screen resolutions or install new software). You do have to edit these files from time to time. It's in your best security interests to have to go out of your way to edit them, but you should still be able to occasionally edit, move, copy, and rename files that only an Administrator (or Root) can modify.

Frequently edited system files

In Linux, the only files a user can modify are the ones in her home directory. For example, if the user's name is Bronte, the files she can modify live in the /home/bronte/ folder. Anything outside the /home/bronte folder she will not be able to modify. Some of the top files new installers need to modify are:

/etc/fstab (making hard drives and partitions viewable as folders)
/boot/grub/menu.lst (controlling the boot menu that lets you choose which operating system to boot to)
/etc/apt/sources.list (the list of sources from which you can easily install software)
/etc/X11/xorg.conf (screen resolution options, among other things)

and all of these files need Root privileges to modify.

Why do people recommend the command-line?

If you're like a lot of new Linux users, you probably have not yet embraced the command-line. Some people may have told you to "just"
sudo rm -r /usr/share/icons/themename
as if "rm" really means anything to you yet. The fact of the matter is that people recommend command lines because they're easier instructions to give than "Click on that button that looks like a purple arrow. A new dialogue will pop up with three choices. Pick the left-most choice."

Making system-wide changes graphically

Most new Linux users just want to be able to click and drag and drop. So one of these commands should be your new best friends...

If you're using Ubuntu (Gnome), press Alt-F2 and type

gksudo nautilus

If you're using Kubuntu (KDE), press Alt-F2 and type

kdesu konqueror

If you're using Xubuntu (XFCE), press Alt-F2 and type

gksudo thunar

What does sudo do?

What do these commands do? They allow you to generally operate as a regular user but have a temporary window within your user account to operate as Root (just within the Nautilus or Konqueror window you've opened). Once you close the Root window, it's just as if you're a user again. You don't have to log out of user, log in as Root, make changes, log out of Root, and log back in as user again. You can be Root and user simultaneously.

Mac OS X users may be familiar with this security model (Mac uses sudo, believe it or not!). As a Mac user, you operate as a user. When you want to install something, a dialogue box comes up asking for your administrator (sudo/root) password. Once it's installed, you're a user again.

So how does this work? Let's say you want to edit the /etc/apt/sources.list file. If you want to do it command-line style, you'd

sudo nano /etc/apt/sources.list
and then use Nano to edit it. If you do it the graphical way we've been talking about, you'd run the gksudo nautilus or kdesu konqueror command and a file browser window will pop up (with Root/administrator privileges just in that window). You'd browse to /etc/apt and find the file called sources.list. You'd click to open it, edit it, close it, and close the browser window, and it would be done.

Final recommendations

If you find that (especially right after the initial Ubuntu/Kubuntu install) that you're making a lot of changes as Root, create a launcher with the command gksudo nautilus or kdesu konqueror. Then, when you click on that launcher, you can type in your password, make root changes, and then close the window and be a user again.

Ubuntu User #

The Ubuntu Counter Project - user number # 1713

coutner