3 Ways To Boot Ubuntu Linux From a USB Flash Drive

Hello Friends,

In this article we’ll see 3 way of installing Ubuntu on a USB drive.
We’ll see how to create a live USB Ubuntu disk, just like your live CD. Only difference is that we’ll be booting and installing Ubuntu using this live USB diskette, and as last option how to do a full installation of ubuntu on your USB drive.

Option 1: Boot Ubuntu as a Live CD from a USB Flash Drive

Use this option to install Ubuntu as a Live Install, which allows you to boot from the USB flash drive in Ubuntu, experience the Linux environment but will not retain any changes or settings after you shut down. This is a great way to get a feel for the OS, test some of it’s capabilities as well as typical hardware compatibility.

Programs you may need to download:

Ubuntu 10.04 (soon 10.10) Live CD ISO available at ubuntu.com

Universal USB Installer available at pendrivelinux.com

What you will need:

Running Windows XP/Vista/7

Fat32 Formatted USB 2.0 Flash Drive, at least 1GB

PC with a Bios that can boot from USB

Now with all of the necessary components in place, we can begin to setup our Ubuntu Live USB Drive.

1. Run the Universal USB Installer by Pendrivelinux.com that you downloaded earlier.

2. Choose Ubuntu 9.10/10.04.1 Desktop i386

3. Select the Ubuntu Live CD that you downloaded earlier

4. Choose your Flash Drive

5. In this instance, we are going leave the persistence option unchecked.

This can take anywhere from 15 minutes to 30 minutes depending on the speed of your system. At one point the progress bar will freeze until it is done, and this is the lengthiest wait of the process.

Once complete, you can reboot your computer with the USB flash drive in the USB port, press F12 for the Boot Menu and choose the removable media to boot from and you are in.

As this is a Live USB, any changes you make to the Ubuntu environment will not persist through a reboot. This is because running in this mode, Ubuntu uses available RAM in place of Swap and Hard Disk space. This option also contains the install files needed to install Ubuntu directly to your desktop if you should so desire.

Option 2: Boot Ubuntu as a Live CD with Persistence from a USB Flash Drive

This option will install Ubuntu Linux onto your flash drive with an area for persistent storage. You will be able to restart the computer, boot back into the Linux environment and all settings or changes made previously will persist.

NOTE: This option is particularly hard on Flash Memory, as there can be quite a bit of reading and writing to the Flash Memory.

What you will need:

Running Windows XP/Vista/7

Fat32 Formatted USB 2.0 Flash Drive, at least 2GB

PC with a Bios that can boot from USB

Now with all of the necessary components in place, we can begin to setup our Ubuntu Live USB Drive.

1. Run the Universal USB Installer by Pendrivelinux.com that you downloaded earlier.

2. Choose Ubuntu 9.10/10.04.1 Desktop i386

3. Select the Ubuntu Live CD that you downloaded earlier

4. Choose your Flash Drive

5. Select the Persistence Option of 1GB Casper-RW

This can take anywhere from 15 minutes to 30 minutes depending on the speed of your system. At one point the progress bar will freeze until it is done, and this is the lengthiest wait of the process.

Once complete, you can reboot your computer with the USB flash drive in the USB port, press F12 for the Boot Menu and choose the removable media to boot from and you are in.

As this is a Live USB with Persistence, any changes you make to the Ubuntu environment will keep through a reboot. This option also contains the install files needed to install Ubuntu directly to your desktop if you should so desire.

Option 3: Install Ubuntu directly to a USB flash Drive

This option works through installing Ubuntu to the flash drive as a complete installation. It does not retain the installation files to install on another system. This will allow you to use Ubuntu exactly as if it were installed alone on the hard disk. You can boot from it with any computer that can boot from a USB flash drive.

Note: This method requires that you disable your hard drive in BIOS to prevent overwriting your current operating system and force the install onto the USB drive.

What you will need:

USB 2.0 Flash Drive, at least 4GB

PC with a BIOS that can boot from USB

Blank CD

A Computer with the ability to Burn CD/DVD

Now with all of the necessary components in place, we can begin the process.

1. First, you will need to burn your Ubuntu ISO to CD using a program like ImgBurn available at ImgBurn.com

2. Boot your computer and press F2 to enter the system BIOS. Within here you will want to disable your Hard Drive. If this is not an option in your BIOS, I would suggest shutting down your computer and unplugging the power and data cables from your hard drive before proceeding. NOTE: If you choose not to disable your hard drive, you run the risk of installing Ubuntu on top of your current OS and can lose valuable information.

3. After you have disabled your hard drive, place the Ubuntu Live CD into your computer and boot from this.

4. At the initial boot screen, choose to try Ubuntu, not install.

5. Once Ubuntu loads, plug in the desired flash drive into the computer.

6. Now, double click on the Install Ubuntu icon that appears on the desktop.

7. The first 3 screens are language, time zone, and keyboard layout.

8. Now Ubuntu will notify you that there is a disk mounted, and asks to unmount it. This is your flash drive. Give it permission to unmount.

9. This is the prepare disk space screen. I chose to leave mine at default and let the installer handle the partitions needed by Linux.

10. Now you will see the login and user information screen.

11. Now you are ready to install, click install.

12. At one point during the installation, you may notice a skip button appear on the bottom left. This is to skip the auto update, and finally the language packs. I chose to skip language packs update.

13. This may take a while, mine took atbout 35 minutes to complete. When it is done, eject the disk and shut down the computer. Plug your hard drive back in if necessary, or boot your computer into bios and re-enable it. Reboot your computer and press F12 to enter the boot menu, choose the flash drive and boot into Ubuntu.

Source Link :- http://www.linuxaria.com/howto/ways-boot-ubuntu-linux-from-a-usb-flash-drive?lang=en

Ubuntu 10.10 “Maverick Meerkat” released

Hello,

Some time ago a group of hyper-intelligent pan dimensional beings
decided to finally answer the great question of Life, The Universe and
Everything.  To this end, a small band of these Debians built an
incredibly powerful distribution, Ubuntu. After this great computer
programme had run (a very quick 3 million minutes…or 6 years) the
answer was announced.  The Ultimate answer to Life, the Universe and
Everything is…42, and in its’ purest form 101010.  Which suggests that
what you really need to know is ‘What was the Question?’.  The great
distribution kindly pointed out that what the problem really was that
no-one knew the question. Accordingly, the distribution designed a set
of successors, marked by a circle of friends…to ultimately bring Unity
to all things living…Ubuntu 10.10, to find the question to the
ultimate answer.

And with that, the Ubuntu team is pleased to announce Ubuntu 10.10.
Codenamed “Maverick Meerkat”, 10.10 continues Ubuntu’s proud tradition
of integrating the latest and greatest open source technologies into a
high-quality, easy-to-use Linux distribution.

For more :- https://lists.ubuntu.com/archives/ubuntu-announce/2010-October/000139.html

Release notes :- http://www.ubuntu.com/getubuntu/releasenotes/1010

Download Ubuntu 10.10 :- http://www.ubuntu.com/getubuntu

e-Voting In Gujarat | Internet Voting in Gujarat | Online Voting Gujarat | Gujarat Elections | India

Hello Friends,

In India, You have to get into long queue to make your vote count, But In Gujarat i think this is the revolution which is going to take place in all over the India, Gujarat Municipal Corporations Election is going to be on Internet, Wow Isn’t this great????

As I am in IT Field I would like to share this news all over the world, That in India Gujarat Chief Minister Mr. Narendra Modi taken a nice initiative for e-Voting for the first time in India ( I don’t know about the rest of the world)

This is very nice concept, This is called a use of Technology, This Project is the first time in India and will make proud to all of us, I Hope every state should think on this so voters feel interesting and start voting by wasting time.

This election is for Municipal Corporations but Hoping to See this kind of elections for all other purpose.

I as Gujarati feeling so much proud that this kind of initiative started from Gujarat only, Thanks to Gujarat’s very popular Chief Minister for applying his mind on such a huge topic and taken initiative of e-Voting in India,

Thanks to Mr. Narendra Modi, A Chief Minister like Mr. Narendra Modi can only do this. We are lucky to having you as our C.M. ( Common Man)

Sudo with LDAP on RHEL 5 | RHDS | Red Hat Directory Server | OpenLDAP | Linux

Hello Friends,

On Internet this Post Known as :- Configuring sudoers with Red Hat Directory Server | Fedora Directory Server | Open Source | Linux

Yesterday at office i was trying to configure sudo with LDAP. To Configure SUDO with LDAP I have used RHEL 5 and with RHEL i have used Red Hat Directory Server and OpenLDAP with the same.

I was very shocked by Results because i was not sure that i will able to do it this in atleast 2 days, but as i said i was shocked by results that i was able to configured and get it working within 15-20 Minutes.

Requirement :- Users should authenticate with LDAP.

# cd /usr/share/doc/sudo-1.6.9p17/

Hello Friends,

Yesterday at office i was trying to configure sudo with LDAP. To Configure SUDO with LDAP I have used RHEL 5 and with RHEL i have used Red Hat Directory Server and OpenLDAP with the same.

I was very shocked by Results because i was not sure that i will able to do it this in atleast 2 days, but as i said i was shocked by results that i was able to configured and get it working within 15-20 Minutes.

Requirement :- Users should authenticate with LDAP.

# cd /usr/share/doc/sudo-1.6.9p17/

[root@station15 sudo-1.6.9p17]# ls
BUGS     HISTORY  README       sample.pam      sample.syslog.conf  schema.OpenLDAP  sudoers.pod  TROUBLESHOOTING  visudo.pod
CHANGES  LICENSE  README.LDAP  sample.sudoers  schema.iPlanet      sudoers2ldif     sudo.pod     UPGRADE
[root@station15 sudo-1.6.9p17]# cp schema.iPlanet /etc/dirsrv/schema/99sudo.ldif
[root@station15 sudo-1.6.9p17]# cp schema.iPlanet /etc/dirsrv/slapd-`hostname -s`/schema/99sudo.ldif
[root@station15 sudo-1.6.9p17]# /etc/init.d/dirsrv restart
Shutting down dirsrv:
station15…                                           [  OK  ]
Starting dirsrv:
station15…                                        [  OK  ]
[root@station15 sudo-1.6.9p17]# /etc/init.d/dirsrv-admin restart
Shutting down dirsrv-admin:
[  OK  ]
Starting dirsrv-admin:                                                            [  OK  ]
### Create LDIF Which contains below conetnt
[root@station15 ~]# cat sudoers.ldif
dn: ou=SUDOers,dc=station15,dc=example,dc=com
objectClass: top
objectClass: organizationalUnit
ou: SUDOers
[root@station15 ~]# ldapadd -x -c -W -f sudoers.ldif
root@station15 ~]# cd /usr/share/doc/sudo-1.6.9p17/
[root@station15 sudo-1.6.9p17]# ls
BUGS     HISTORY  README       sample.pam      sample.syslog.conf  schema.OpenLDAP  sudoers.pod  TROUBLESHOOTING  visudo.pod
CHANGES  LICENSE  README.LDAP  sample.sudoers  schema.iPlanet      sudoers2ldif     sudo.pod     UPGRADE
[root@station15 sudo-1.6.9p17]# chmod +x sudoers2ldif
[root@station15 ~]# SUDOERS_BASE=ou=SUDOers,dc=example,dc=com
[root@station15 ~]# SUDOERS_BASE=ou=SUDOers,dc=station15,dc=example,dc=com
[root@station15 ~]# export SUDOERS_BASE
[root@station15 ~]# echo $SUDOERS_BASE
ou=SUDOers,dc=station15,dc=example,dc=com
[root@station15 sudo-1.6.9p17]# ./sudoers2ldif /etc/sudoers > /tmp/sudousers.ldif
[root@station15 sudo-1.6.9p17]# ll /tmp/
total 76
-rw-r–r– 1 root root  2509 Sep  9 18:33 base.ldif
-rw-r–r– 1 root root  1639 Sep  9 17:56 buildscript
-rw-r–r– 1 root root  7388 Sep  9 18:34 group.ldif
-rw-r–r– 1 root root 17976 Sep  9 18:34 passwd.ldif
-rw——- 1 root root  9760 Sep  9 18:01 setupUP3wwp.log
-rw-r–r– 1 root root  1517 Sep  9 18:30 sudousers.ldif
[root@station15 sudo-1.6.9p17]# cd
[root@station15 ~]# mv /tmp/sudousers.ldif .
[root@station15 ~]# ldapadd -x -c -W -f sudousers.ldif
Enter LDAP Password:
adding new entry “cn=defaults,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=root,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=tejasbarot,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=visitor,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=linux-support,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=ahmedabad,ou=SUDOers,dc=station15,dc=example,dc=com”

# Configure your client to authenticate with your LDAP Server

[root@station15 ~]# authconfig –enableldap –ldapserver=station15.example.com –ldapbasedn=dc=station15,dc=example,dc=com –disableldapssl –disableldaptls –update
[root@station15 ~]# getent passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
avahi-autoipd:x:100:101:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
student:x:500:500::/home/student:/bin/bash
visitor:x:501:501::/home/visitor:/bin/bash
ldap:x:55:55:LDAP User:/var/lib/ldap:/bin/false
apache:x:48:48:Apache:/var/www:/sbin/nologin
linux-support:x:502:502::/home/linux-support:/bin/bash
tejasbarot:x:503:503::/home/tejasbarot:/bin/bash
ahmedabad:x:505:505::/home/ahmedabad:/bin/bash
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
mailnull:x:47:47:mailnull:/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51:smmsp:/var/spool/mqueue:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
pcap:x:77:77:pcap:/var/arpwatch:/sbin/nologin
ntp:x:38:38:ntp:/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
gdm:x:42:42:gdm:/var/gdm:/sbin/nologin
avahi-autoipd:x:100:101:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
student:x:500:500:student:/home/student:/bin/bash
visitor:x:501:501:visitor:/home/visitor:/bin/bash
ldap:x:55:55:LDAP User:/var/lib/ldap:/bin/false
apache:x:48:48:Apache:/var/www:/sbin/nologin
linux-support:x:502:502:linux-support:/home/linux-support:/bin/bash
tejasbarot:x:503:503:tejasbarot:/home/tejasbarot:/bin/bash
ahmedabad:x:505:505:ahmedabad:/home/ahmedabad:/bin/bash
[root@station15 ~]# echo “SUDOERS_BASE ou=SUDOers,dc=station15,dc=example,dc=com” >> /etc/ldap.conf
[root@station15 ~]# echo “sudoers: ldap” >> /etc/nsswitch.conf

######### Now Just remove entries from visudo file and Login using LDAP Authentication and just execute below command
[tejasbarot@station15 ~]$ sudo -l
Enter your password when it ask you for the password and you will able to see results as below :-
udo: unknown defaults entry `env_keep ‘ referenced near line 1
User root may run the following commands on this host:
(ALL) ALL

LDAP Role: root
RunAs: (ALL)
Commands:
ALL

[tejasbarot@station15 ~]$ sudo /etc/init.d/network restart
sudo: unknown defaults entry `env_keep ‘ referenced near line 1
Password:
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0… done.
[  OK  ]

That’s It.

I hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues at http://linuxforums.tejasbarot.com

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Sudo with LDAP 🙂 Enjoy RHDS 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

Install Google Voice & Video Chat using Official Google RPM | Fedora | RHEL | Linux

Hello Friends,

I was waiting for this day eagerly, After Release of Google Voice & Video chat in DEB file i was waiting for Google Official RPM for Voice & Video Chat. As i was unable to found i have tried so many things, Fortunately some things works smoothly unfortunately some not. But Now No need to do any tricks for Installing Google Voice and video chat on Fedora and RHEL Linux, Because of Huge demand from Fedora & RHEL users Google It self released Official RPM for Voice & Video Chat so it feels very Nice.

Still this is the very quick release so some bugs or problems may be there but its very good to see google for releasing very fast.

Follow below procedure to install Google Voice & Video Chat using Official Google RPM

1. You need to be root for doing this procedure.

2. Download Official RPM from below link :-

http://www.google.com/chat/video

3. Once RPM Downloaded Just Execute below Command :-

rpm -ivh google-talkplugin_current-xxxx.rpm

4. If You face dependencies error then try to link your library files as per below instructions

# cd /usr/lib
# ln -s ../../lib/libcrypto.so.1.0.0a libcrypto.so.0.9.8
#
ln -s libssl.so.1.0.0a libssl.so.0.9.8
5. Once above procedure completed just close your firefox and Google Chrome and Reopen Firefox & Google Chrome.
Thanks Google for release RPM quick, Infact very quick.
Enjoy Google Voice & Video Chat on Fedora | RHEL 🙂 Enjoy Open Source 🙂 Enjoy Linux 🙂

Howto: Install Google Voice and Video Chat on Fedora | RHEL | Linux | RPM-Based System

Hello Guys,

As I have already posted that Google Voice and Video chat is available for Linux but Only for Ubuntu, Today i was googling for installing Google Voice and Video chat on Fedora | RHEL and RPM Based Linux.  So I Found 1 very nice howto on google helps itself. A very nice howto which shows us that howto install using DEB file. I am posting that with some modification.

Google Released Official RPM to Install using Official RPM follow this link :- http://www.tejasbarot.com/2010/09/02/install-google-voice-video-chat-using-official-google-rpm-fedora-rhel-linux/

Perform following steps to install Google Voice & Video chat on Fedora | RHEL and RPM Based Linux

1. You need to be root for Doing this. So be as a root

2. Click Here to Download DEB File. Or Execute Below command on Terminal.

# wget -c http://dl.google.com/linux/direct/google-talkplugin_current_i386.deb

3. Move deb file to /tmp directory. Execute below command
# mv google-talkplugin_current.deb /tmp

4. Now Change your Directory to /tmp. Execute cd /tmp

5. Now Execute below command
# ar vx google-talkplugin_current.deb # This command will extract DEB file here.

6. Above command will install drivers, but as we don’t have exact RPM so we have to make link of some library files. Execute below commands
# cd /usr/lib
# ln -s ../../lib/libcrypto.so.1.0.0a libcrypto.so.0.9.8
#
ln -s libssl.so.1.0.0a libssl.so.0.9.8

(non-Fedora distributions, and other versions of Fedora, may have different locations and version numbers for these libraries, but the same basic method should work.)

7. Now Again lets change our directory to /tmp where we have extracted DEB file. Execute command below
# cd /tmp
# tar xvzf data.tar.gz -C /

8. Now change your directory to /opt/google/talkplugin by executing command below
cd /opt/google/talkplugin

9. Type Below command
./GoogleTalkPlugin

If Everything is fine you will able to see two lines as below

./GoogleTalkPlugin: /usr/lib/libssl.so.0.9.8: no version information available (required by ./GoogleTalkPlugin)
./GoogleTalkPlugin: /usr/lib/libcrypto.so.0.9.8: no version information available (required by ./GoogleTalkPlugin)

Above lines are not errors its just warnings so Don’t worry.

By following this howto on some systems plugin will work on firefox and on some plugin will work on Google Chrome. Don’t know the reason but its only like that. Also I don’t say or not any surety that this will works for all.

I want to thank this post for showing a very nice way to install Google Plugin without RPM.

Source link :- http://www.google.co.uk/support/forum/p/chat/thread?tid=273c9ff21a1bbf53&hl=en

Enjoy Linux 🙂 Enjoy Voice & Video Chat on RPM Based Systems 🙂

All comments accepted.