Augie’s Weblog

October 31, 2008

2 SATA drives linux multi boot windows xp and fedora

Filed under: Linux — admin @ 12:58 pm

make sure you install grub on the windows drive, normally this would be sda.

don’t install on the Linux drive, or windows will not boot with grub.

This is assuming you have windows on your first drive and installing linux on the second.

October 29, 2008

reverse lookup of uuid hard drive in linux – ubuntu

Filed under: Linux — admin @ 2:05 pm

ls /dev/disk/by-uuid/ -alh

total 0
drwxr-xr-x 2 root root 100 2006-10-19 13:32 .
drwxr-xr-x 5 root root 100 2006-10-19 13:32 ..
lrwxrwxrwx 1 root root 10 2006-10-19 13:32 77755aaf-f843-424c-aabd-46d52cc05d5c -> ../../hda2
lrwxrwxrwx 1 root root 10 2006-10-19 13:32 8038788838787F4A -> ../../hda1
lrwxrwxrwx 1 root root 10 2006-10-19 13:32 ba8e5cfb-12fb-4601-b5ff-2f2787c69cb3 -> ../../hda5

this way you can tie back the sda to uuid.

Linux (ubuntu) check uuid of partition

Filed under: Computer, Links — admin @ 2:00 pm

example
vol_id -u /dev/sda1

or for more information use
vol_id /dev/sda1

very handy if you have ubuntu and the fstab is using uuid

it is more robust… i am learning to hate that word.

ref:http://ubuntuforums.org/showthread.php?t=223182&highlight=uuid&page=2

Hot deals posted on anandtech

Filed under: Computer, Links — admin @ 1:29 pm

http://forums.anandtech.com/categories.aspx?catid=40&entercat=y

Shop link for great deals discounts, coupons slickdeals.net

Filed under: Computer, Links — admin @ 1:26 pm

http://www.slickdeals.net

Open-SUSE 11 screen capture option

Filed under: SUSE — admin @ 8:16 am

If you would like to do screen captures in SUSE, you can install
KSnapshot

It seems to wrok well.

ref:
http://www.linuxquestions.org/questions/susenovell-60/suse-9.3-screen-capture-options-384119/

October 27, 2008

find difference in files

Filed under: Linux, OS — admin @ 2:13 pm

use the diff command

diff filename filenameofotherfile

if there is a difference, it will tell you. Many additional options too.

linux commands on windows Cygwin

Filed under: Linux, OS, Windows — admin @ 2:10 pm

Cygwin

Awesome program.

if you have to add more commands, google, download and copy to bin directory. Sweet.

use diff, split, etc.

Join two files – Linux Command

Filed under: Linux, OS — admin @ 2:08 pm

use the cat command

cat file1 file2 >> output file

ref:
http://www.linuxforums.org/forum/linux-newbie/63686-how-copy-two-files-into-one.html

Split a large file up into smaller files

Filed under: Linux — admin @ 2:04 pm

use the command
split

split –bytes=3999m filename.img

this will split the file into 4.2GB files so they can fit on a DVDs.

then use cat command to join again.

cat file1 file2 >> outputname

ref:
http://www.techiecorner.com/107/how-to-split-large-file-into-several-smaller-files-linux/

http://www.computerhope.com/unix/usplit.htm

Older Posts »

Powered by WordPress