Few tips/troubleshoots for Debian based Linux

Will work for Debian,Ubuntu etc.
here is a full list of Debian based linux See this
or this

1>Recover grub::

1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.

2. Open a Terminal. Open a root terminal (that is, type su in a non-Ubuntu distro, or sudo -i in Ubuntu). Enter root passwords as necessary.

3. grub

4. find /boot/grub/stage1. eg.hd0,3

5. root (hd0,3)

6. setup (hd0,3)

7. quit

==================================================

2> Permanent mount of filesystems

sudo fdisk -l

edit
/etc/fstab ::

/dev/sda1 /mnt/c_drive vfat rw,uid=sunny 0 0 eg. uid=sunny
/dev/sda5 /mnt/d_drive ntfs rw,uid=sunny 0 0

===========================================
3>Install gcc
apt-get install gcc build-essential

============================================
4>change grub

edit
/boot/grub/menu.lst
=============================================
5>remove completely

sudo apt-get remove vlc eg. to remove vlc

sudo apt-get install deborphan
apt-get remove –purge vlc
apt-get clean

=============================================

6>update apt-get

sudo apt-get update

Leave a comment

Pages

Archives

Current Month

April 2008
S M T W T F S
 12345
6789101112
13141516171819
20212223242526
27282930