Loading Search...

Thursday, August 28, 2008

boot & install debian / ubuntu from ntfs

so, when other distros fail me, i always return to debian. it's a little bit harder to setup, but it (almost) always works on any hardware i have.
  • first i download this debian installer mini.iso
  • i dont burn it. coz, i cant use the cd drive anymore.
  • extract 2 files from the iso into (say) c:\debinst: linux and initrd.gz
  • edit c:\menu.lst and add this:
title install debian
kernel /debinst/linux acpi=off
initrd /debinst/initrd.gz
  • reboot
  • on boot, choose grub. then choose install debian
  • that's it. i install debian (again!)
btw. you can use this way to install ubuntu using Ubuntu Minimal CD

update:

--
tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain

Saturday, August 23, 2008

apt-get freevo on Ubuntu Hardy with packages from Intrepid

this is how i install freevo on ubuntu hardy using apt-get to get packages from ubuntu intrepid.
First, from Freevo Apt Ubuntu Doc

# Add Medibuntu
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo aptitude install medibuntu-keyring && sudo apt-get update

# Mandatory dependencies
sudo aptitude install libglib2.0-dev libimlib2 libimlib2-dev libdvdread-dev python-xml python-pygame python-twisted python-dev python-beautifulsoup xmltv lsdvd aumix mplayer libdvdcss2

# Optional packages
sudo aptitude install w32codecs python-pylirc lirc tvtime xine-ui

now, install Python XML

# install dependencies
sudo apt-get install python2.5-dev

# download and unzip pyxml
wget http://superb-west.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz
tar -xzf ./PyXML-0.8.4.tar.gz
cd PyXML-0.8.4

# build and install pyxml
python setup.py build
sudo python setup.py install

# remove temporary files, be careful where you point that loaded rm -rf!
cd ..
rm -rf ./PyXML-0.8.4

then, some apt pinning

# sudo vi  /etc/apt/preferences
# then paste these into it:
Package: *
Pin: release a=hardy
Pin-Priority: 900

Package: *
Pin: release a=intrepid
Pin-Priority: 90
now, get the intrepid repo:
# sudo vi /etc/apt/sources.list.d/intrepid.list
# then paste these into it:
deb http://archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
finally, do the install:
sudo apt-get update
sudo apt-get -t intrepid install freevo

that's all it. i got freevo up and running on my hardy

btw. similar setup can be used to make it work on debian stable.

--
tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain

Wednesday, August 20, 2008

ways to configure Linux X display driver

continuing my popular howto easily configure x display, here are other ways to configure X display driver in Linux.

first, we should backup the original xorg.conf, just in case...
cp /etc/X11/xorg.conf xorg.conf.backup1
and when we need to restore:
sudo cp xorg.conf.backup1 /etc/X11/xorg.conf
you might also want to backup xorg.conf from each step result and then choose the one that satisfy you most.

so here's many ways how to configure your X display driver:
  • sudo rm /etc/X11/xorg.conf # just remove the xorg.conf. usualy, X will try to configure itself.
  • if you have gdm installed, kill it with Ctrl-Alt-Backspace until it gives safe mode. or intentionally breaks xorg.conf with wrong entries. 
  • sudo X -configure && sudo cp xorg.conf.new /etc/X11/xorg.conf
  • sudo dpkg-reconfigure -phigh xserver-xorg
  • sudo displayconfig-gtk
  • try paste xorg.conf from failsafe / default xorg.conf
  • Fix Video Resolution Howto on ubuntu
as always, most stuffs should also works with debian and derivatives.
--
tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain

Thursday, August 14, 2008

Atheros 5007 wifi (AR2425 chips) Linux Driver Installs

i got a laptop with built-in Atheros 5007 wireless LAN (AR2425 chips). and the driver came with ubuntu is not working at all. i also tried ndiswrapper that works but causing a lot of crash. so, after google a lot i found many (somewhat outdated) solutions to make this wireless works but not working anymore...

until i found a ticket at madwifi, then follow this guide. but it's so very long conversation to digest...

so, here i try to summarize it in case i need to repeat the whole steps:

wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6-current.tar.gz
tar zxvf madwifi-hal-0.10.5.6-current.tar.gz
cd madwifi-hal-0.10.5.6-current/scripts 
sudo ./madwifi-unload
sudo ./find-madwifi-modules.sh $(uname -r)
cd ..
make
sudo make install

that's all it. now i can use the wifi from ubuntu 8.04 hardy.
(it should also works on all other linux distros).

update: reports said it also works on ubuntu 8.10 intrepid.
--
tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain