Posts Tagged ‘linux

06
Jun
10

Ubuntu 10.04 /boot or /dev/sda startup mount problem

After a long gap,I am back to Ubuntu from Fedora and I am really impressed by the pleasing interface ‘Lucid Lynx’ comes up with. 🙂

After installing Windows XP ,I installed Ubuntu 10.04.The installation process was smooth.But the problem I faced when I restarted the system is, at the splash startup screen.It said ,

The disk drive for /boot is not ready yet or not present.

Continue to wait, press S to skip or M for manual recovery.

I waited for a long time and it is of no use.so I skipped the process and edited some file to mount it automatically.

here is what I did,

1.Open your terminal by ctrl+alt+t or Applications –> Accessories –> Terminal

2.use the below command in terminal,

gksudo gedit /etc/fstab

3.A file will open,find /boot line.It will look something like this ,

/dev/sda2 /boot ext4 defaults 0 0

4.Now open another terminal and use the below command ,

ls -l /dev/disk/by-uuid

5.Now find the UUID for /dev/sda2 and replace the below line in fstab ,

/dev/sda2 /boot ext4 defaults 0 0

as

UUID=a647ea33-74ee-4123-84bf-7edc32e2e39b /boot ext4 defaults 0 0

[Replace the UUID number with your number]

6.save the file and restart the system.It will work fine.The same solution can be addressed for /dev/sda mounting problem.

😉

Advertisements
22
Oct
09

Best picture of the year – “sarcastic Linus” :P

Linus has the word "sarcasm" written on his teeth.

Linus has the word "sarcasm" written on his teeth.

Microsoft tried to torpedo the success of the Japan Linux Symposium by launching their Windows 7 product that same day. They even had setup a big promotion booth across the street from the conference center.

During a break, somebody decided to make some fun of Microsoft and dragged Linus over there. When others arrived there, Linus was sold immediately on the product as you can see in the picture. At least that’s what the sales guy thought. He obviously had no idea who he was dealing with. But in the end Linus surprisingly did not buy a copy. Wise man!

13
Oct
09

I am not a fan of WINE..

My fedora 11 linux machine was running good,with faster boot up[ 21 seconds to the login screen 🙂 ],until I installed WINE in it.As a web-developer,I am in need of IE6,for cross browser compatibility issues that will occur only in that browser,while others are working fine.so I had to install WINE,to run ies4linux script.Unfortunately,after installing WINE,my fedora freezes then and there.I cannot open a browser,I cannot open my back up drive.Everything freezes.Even my cpu2 performance level went for 30-50% increase.Also,WINE runs slowly.I am sure,that ies4linux caused such problem.Also,my booting of fedora went for more than a minute.So I uninstalled WINE and ies4linux,but still my bootup time got slow and my fedora freezes all of the sudden.so I went for reboot and used ‘ctrl+alt+F2’ at the login page.I don’t know what was the problem,so I logged in as root user and run ‘fsck‘ and it solved my problem.It seems that an unwanted script in ies4linux,has blocked my entire fedora.The fsck cleaned it with zero errors and now my fedora is back.

27
Sep
09

Install Eclipse Galileo/Ganymede on Fedora 11

Step 1:

Before installing Eclipse IDE,make sure you installed JDK/JRE.If you have not installed it,follow the instruction provided in the below link,

link

step 2:

Download the Eclipse IDE from eclipse download site,as tar.gz file.

step 3:

After the tar.gz file is downloaded,open the terminal and type

#tar xzvf filename.tar.gz

This will extract the file in the parent directory

step 4:

Move to eclipse folder,

#cd ~/eclipse

Open the eclipse.ini file,

#gedit eclipse.ini

The file will look something like this,

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

Now add the following lines before the ‘-vmargs’,

-vm
/[HOME-DIRECTORY]/jdk1.6.0_xx/bin/java

[ make sure you follow the same pattern as above,the path should be an absolute one starting from parent directory to the java,and replace ‘xx’ by the version you are using. ]

After adding the line,the file will look something like this,

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-vm
/opt/jdk1.6.0_16/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

Now save the file and close it.

Step 5:

Now open the terminal and navigate to eclipse folder and type,

#./eclipse

Now your eclipse is ready.

27
Sep
09

Installing jdk/jre on fedora 11

Download the required version of jdk or jre from the below link,
http://java.sun.com/javase/downloads/index.jsp

Download the bin file,not the rpm,
ex : jdk-6u16-linux-i586.bin

[ SAME PROCEDURE IS FOLLOWED FOR BOTH JDK AND JRE, FOR JRE TO BE INSTALLED USE JRE INSTEAD OF JDK HERE]

After the download is over,move the file to opt,

# mv jdk-6u16-linux-i586.bin /opt

Change the file permission as executable as,[THIS HAS TO BE DONE AS ROOT USER]
# cd /opt
#chmod +x jdk-6u16-linux-i586.bin

Execute the file,

# ./jdk-6u16-linux-i586.bin

After the file gets executed,remove the file,

#rm -rf jdk-6u16-linux-i586.bin

Now open with gedit,

#gedit /etc/profile.d/java.sh

Now paste the following,

export JDK_HOME=/opt/jdk1.6.0_xx
export PATH=$JDK_HOME/bin:$PATH

[replace xx by the version of your jdk]

Now, type the following command to make that file available:

#source /etc/profile.d/java.sh

Then type,

#/usr/sbin/alternatives –install /usr/bin/java java /opt/jdk1.6.0_xx/bin/java 2
#/usr/sbin/alternatives –config java

After entering the above command,it will ask for which java version to be used,press the number of updated version

After that enter,

#java -version

This will provide the java version used.
Now your Fedora is ready for java files to be executed…..