torsdag den 12. august 2010

That looked scary.

I just got up this morning and needed my slackware box to do some work, again just transferring files from one harddisk to another, when I was met by a unwelcome error.

Non-system disk or disk error

I wasn't to happy about that, and had no idea about  why my pc would say that.
Just as a little heads up for you, I left my floppy in the computer when I turned it off yesterday (never do that).
But I did a little searching on the web, and I found http://www.duxcw.com/faq/win/nosys.htm which did describe that it is most probably caused by a floppy in the floppy drive. When I removed the floppy sure enough it booted just as it usually do.

Which made me very happy.

onsdag den 11. august 2010

Video without X.

I just manage to make mplayer run in a framebuffer as in no graphical environment.
What I did. 

It is still a bit primitive as I only just got it up.
But the basic steps I took (which I think you should be able to mimic to your system), were


links
tar xvpf
cd
./configure
make
su
make install


Well with all this done. now you just need to make sure you have framebuffer support on your system.
slackware gets it by default (else you need to configure your lilo.conf or grub.conf)
I got best result for svgalib for video playback.
I can do this to run video

su
mplayer -vo svga -ao alsa

howto: mount harddisks on system.

This is probably not for people already using some of the more "geekie" distros out there, some of the bigger one are gentoo slackware, debian. But if your new to linux or something like that this might be a rather pleasent entry :-) at least I hope.

Well first things first
Required for this
1. A Harddisk (prefereably external)
2. A computer running linux
3. Some files

I guess you got those things if your reading so lets get started.
first thing you need to do is

fdisk -l


That should give you a list of partitions currently mounted on your system.
as in this picture.













In that picture I am having two extra harddrives on my computer.
As I am moving some files from one to the other.

Well the important thing about this is whether your partitions are hda or sda (most newer ones are sda on linux)
and your external drive are probably also sda (well sdb if your internal are sda)
if sda and sdb are taken the next one is sdc.
So now you have just got to issue the command

mount -t vfat /dev/sd /mnt/

Important: This need to be done as root to have suffiecient rights

Well if it does not complain then you can move into your harddisk and do all the things you use to do in your system.
When done with the harddisk you simply do umount and take it out. 

On a sidenote I would recommend a nice piece of software for seeing the disk usage -> ncdu.
NCurses
Disk
Usage.

I like that.

tirsdag den 10. august 2010

Know your screen.

^That is Gnu Screen ofcause.
But you should know that wonderful piece of software.
It is a terminal multiplexer, which lets you have more than one terminal open and run all kind of software inside.
I would like to write a little about that, but I am not very good at it.
So I will point you toward the Gnu documentation
http://www.gnu.org/software/screen/manual/screen.html
But know your screen :-)

Slackware great for a simple system. Debains great apt - together

Well with those being great in to so different ways, slackware being build on the foundation of BSD and debian being based on free software (mostly anyway), there is that thing in debian I really like (also whenever I sit at a debian based mirror) apt-get apt-cache or apt-whatever, are quality tools, probably among the best build system in the linux world (that does mean the entire world when it comes to package managers windows and MAC are well out of that race), I am no great expert on the apt-get or simply "apt" package.

However I do know that I probably would like end up using something like that on my slackware, which is what I really would like to write about in this post.
Becourse slackware being so old, and popular (well at least at some point), somebody thought that we should have an optional package manager alike that of debian, so I will try to show something of that.

http://a.imageshack.us/img31/511/linksyx.png (link for bigger picture)
That is how I like my system X-less :-)
well this is also my favorite search engine as it does not collect information or store ip :-)
http://a.imageshack.us/img31/511/linksyx.png
Well I just like to take some pictures. Well I am just showing how easy that part was.
After all that download
then comes the really easy part.

tar xvpf (your just downloaded package)
cd (to your just extracted package)

(no configure script but there is a make file.)

su
make install :-)


no error (no dependencies not fulfilled, which is usually not the case on slack).
and now slapt-get get software installations done nice and easily.
just do

slapt-get -u

to update your information.
I admit that it hasn't got everypackage but to see how much it has got lookup

slapt-get --available

And as in apt you can add extra reposities to your slapt-get.
But for now your own your own to find some new reposities to add (but your a slack user so that should be no problem, even if you have to find it on the internet.
Well just ixquick.com for it.
Which searches a bit more than google and are more interested in keeping private data private.
But well try it, you can always go back to googling.

mandag den 9. august 2010

A Strange grub error.

I tried to install slackware some times today, as I couldn't understand why it kept doing a Grub error 17.
Which is sort of irritating googling I found some answer so I will probably try to fix the error, so I can get to use my slackware installation.
It seems that slackware managed to "forget" what I told it in fdisk ?
Nevermind I just do a fresh install, and then we can see where that will leave us if I get a Error 17 again I might try something else - I would like to be able to install debain without having to download 23 discs of 700 Mbs each.

But well slack is what I will be going for.
When then problems with the grub are gone I might be able to use it a little more sophisticated.
And get to write about software :-)

Sidenote: BinaerPilot

You might think that might be a program, I did think something like that, but nope it is a musical artist who created free music (you only have to distribute to all you know.)
http://binaerpilot.no/
His entire music collection is in a torrent, so just pull that down. it is really good, I am not so sharp to define electrical/computer music, but it is something in that direction. Well I cant say anything other than you really should try and listen to it.