RSS
 

Freedos book usb stick

10 Aug

I am copying this verbatim from muzso.hu website. I am posting it here because one it's easier for me to find in the future, second things seem to go away on the web. And who said it was forever. :-)

Prerequisites:


Procedure (assumptions for this description: balder10.img is in CWD, stick appears as /dev/sdc):

  • Insert memory stick (Caution: all data on this stick will be destroyed)
  • Find out device name (e.g. /dev/sdc)
  • Make sure it's not mounted (check with mount command)
  • Clear the MBR:
    dd if=/dev/zero of=/dev/sdc bs=1012 count=2
  • Boot qemu:
    qemu -curses -boot a -fda ./balder10.img -hda /dev/sdc
    The -curses option will make it run in text mode.
    (This way you can run qemu easily eg. over an ssh connection.)
  • Answer all questions with their default values
  • At the A:\> prompt:
    fdisk
    (create a bootable, primary DOS partition)
  • Stop qemu
  • Remove memory stick and re-insert it.
  • Make sure it's still /dev/sdc, otherwise use new name in the next steps.
  • Make sure again that it is not mounted.
  • Boot qemu:
    qemu -curses -boot a -fda ./balder10.img -hda /dev/sdc
  • At the A:\> prompt:
    format c: /s
  • At the A:\> prompt:
    xcopy a: c: /n /e
  • Stop qemu

Done! Now you can mount the stick again and copy any required utilities on it ...

 

 
0 comments

Posted ed_mann in Open Source

 

Recording audio from command line

09 Aug

So i want to record the audio from my pc, this is the internal audio, not from an external source. So i found Jordi Carrillo's site that had the commands that i can use in Fedora Linux. I am posting the commands that i would user here so i can find them easier next time.

 

alsamixer

Once there, select the capture view by typing the tab key. You’ll get the next screen:

alsamixer.png

With the arrow keys select the column Capture and set it to the CAPTUR mode with the space key as in the screenshot. Adjust the recording volume with the arrow keys. You can also set it up with the gnome volume control panel going to the capture tab.

Recording sound to an mp3 file

You’ll need the lame mp3 encoder. Install it by doing

Recording sound to an ogg file

You’ll need the oggenc (the ogg encoder). Install it by doing

sudo yum install vorbis-tools

Type the following command

arecord -f cd -t raw | oggenc – -r -o out.ogg

And you’ll get your sound recorded to an ogg file. Take into account that we record directly to a compressed file, so there’s nothing in between, so you can record for hours saving an incredible amount of hard disk space.

 
0 comments

Posted ed_mann in Open Source

 

Installing Enlightenment on Fedora YUM Repo

02 Apr

For those who don't know E17 is in fedora, but it's not a very current release. So i found a repo that has some more up-to-date files. It's easy to install just follow the directions on the site. I will add more notes later, because i just wanted to capture the link.

http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f12/howto/e17-installation.html

Install Enlightenment and have fun.

 
0 comments

Posted ed_mann in Open Source

 

First Enlightenment App

01 Apr

Well Enlightenment has come a long ways. I remember getting e16 over 10 years ago and i thought it was awesome back then. It has only gotten better. I have been following the progress over the years and have tried e17 several times. Well now it looks like e17 is getting stable and a new stable release will be out. Now it may be another year i don't know, but things are looking very good.

I have two apps that i want to do the first is a gui front-end for notmuchmail. And the other is just a personal project to see if something is very feasible. I will give more input once i have it in a viewable state, right now it would be labelled as vaporware.

 
0 comments

Posted ed_mann in Open Source