Thursday, August 19, 2010
Installing Pspice under Ubuntu
Recently i was asked if one could install Pspice under Ubuntu. Here is a post outlining a method using Wine. It looks promising, though i haven't tried it out yet http://translate.google.com/translate?hl=en&sl=fr&u=http://doc.ubuntu-fr.org/wine&ei=H5JtTJ_eNIW2vQODgam4DQ&sa=X&oi=translate&ct=result&resnum=2&ved=0CBsQ7gEwAQ&prev=/search%3Fq%3Dplayonlinux%2B%2522pspice%2522%26hl%3Den%26sa%3DG
For the tech savy
For those of you who feel Ubuntu is boring and has got nothing to offer. Well, here is a very nice article i just came across http://www.unixmen.com/linux-tutorials/937-things-to-do-after-installing-ubuntu-1004-lts-lucid-lynx
P4E-I Lab 1 & Lab 2 Fall 2010
We have covered a lot of Linux basics. Please refer to my older post for links to online tutorials and further reading http://zaidmunir.blogspot.com/2010/06/useful-links-for-learning-linux.html
Tuesday, August 17, 2010
DCN lab 2 - FALL 2010
In this lab we will be learning tcl and Otcl. The lab manual has been placed at the photocopier you are supposed to fill it up and submit it by the end of today's lab.
You can google and follow any tutorial on tcl that you wish. A list of tcl tutorials is also given here:
1. http://www.tcl.tk/man/tcl/tutorial/tcltutorial.html
2. http://users.belgacom.net/bruno.champagne/tcl.html
You can google and follow any tutorial on tcl that you wish. A list of tcl tutorials is also given here:
1. http://www.tcl.tk/man/tcl/tutorial/tcltutorial.html
2. http://users.belgacom.net/bruno.champagne/tcl.html
Monday, August 16, 2010
Quote of the day
"Muft ke cheez mein makhi zaroor hoti hai", Shoaib Bhatti.
So true for Ubuntu :p :D
So true for Ubuntu :p :D
Sunday, August 15, 2010
Ubuntu suxs when you get to know it well! Its a nightmare
Make sure you do this
sudo dpkg-reconfigure adduser
Give "no" for an answer
Also don't forget to add this line to ~/.profile
umask 077
Then you may also want to do this
cp ~/.profile /etc/skel
this will change the default (pathetic) rights on files created by a user form 755 to 700. Note: this change will only be for users that are added after you made this change.
Or instead of changing and copying the ~./profile into etc/skel you may just simply change /etc/profile. At the end of this file you would find umask 022 change it to 077. Enjoy :)
Reference:
http://ubuntuforums.org/showpost.php?p=4461165&postcount=4
sudo dpkg-reconfigure adduser
Give "no" for an answer
Also don't forget to add this line to ~/.profile
umask 077
Then you may also want to do this
cp ~/.profile /etc/skel
this will change the default (pathetic) rights on files created by a user form 755 to 700. Note: this change will only be for users that are added after you made this change.
Or instead of changing and copying the ~./profile into etc/skel you may just simply change /etc/profile. At the end of this file you would find umask 022 change it to 077. Enjoy :)
Reference:
http://ubuntuforums.org/showpost.php?p=4461165&postcount=4
Friday, August 6, 2010
Recovering lost Ubuntu installation after installing windows
You can try installing and using Boot-repair, for instructions on installing and using it refer to the following link. (Note: i have not personally tried it but seems user friendly)
https://help.ubuntu.com/community/Boot-Repair
Or alternately you can choose to do it manually
Boot from a live cd of Ubuntu 10.04.
First, find out about your drives.
Then check to see if the drive is already mounted or not
If it is not mounted then mount it first. This is the drive in which Ubuntu is installed. In this example i will be mounting /dev/sda2 on to the folder /home/mtf
In case you are not sure which drive has Ubuntu installed, you would like to look for a drive with System field as "Linux" in the output of sudo fdisk -l
If you have multiple such drives and are confused, then you can check the drives by mounting each of them and looking at the contents to see which is which. You can mount multiple drives on different folders using the steps mentioned above. You may also mount to the same folder (not consecutively) by unmounting the former drive.In this example /dev/sda2 is unmounted and /dev/sda3 is mounted in its stead
Once the drive is mounted
Replace x with the letter for your hard disk.
In my example, /dev/sda3 is the drive with Ubuntu installation, mounted on /home/mtf so the command would be
Note that in the above case it is /dev/sda and NOT /dev/sda2
Additionally to ensure everything is in order boot into your Ubuntu and then do the following to fix any missing or malfunctioning entries in grub
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
https://help.ubuntu.com/community/Boot-Repair
Or alternately you can choose to do it manually
Boot from a live cd of Ubuntu 10.04.
First, find out about your drives.
sudo fdisk -l
df
mkdir /home/mtf sudo mount /dev/sda2 /home/mtf
If you have multiple such drives and are confused, then you can check the drives by mounting each of them and looking at the contents to see which is which. You can mount multiple drives on different folders using the steps mentioned above. You may also mount to the same folder (not consecutively) by unmounting the former drive.In this example /dev/sda2 is unmounted and /dev/sda3 is mounted in its stead
sudo umount /home/mtf sudo mount /dev/sd3 /home/mtf
sudo grub-install --root-directory=/path-of-mounted-drive-with-ubuntu-install /dev/sdx
In my example, /dev/sda3 is the drive with Ubuntu installation, mounted on /home/mtf so the command would be
sudo grub-install --root-directory=/home/mtf /dev/sda
Additionally to ensure everything is in order boot into your Ubuntu and then do the following to fix any missing or malfunctioning entries in grub
sudo update-grub
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
Subscribe to:
Posts (Atom)