• Run Ubuntu Live CD
  • Enter a terminal
  • Locate the linux boot partition lives
    [user@net ~]$sudo fdisk -l
  • Assume the boot partition lives in /dev/sda6 then do mount into a directory, example /mnt/root
  • [user@net ~]$sudo mkdir /mnt/root
  • [user@net ~]$sudo mount -t ext3 /dev/sda6 /mnt/root
  • [user@net ~]$sudo grub-install –root-directory=/mnt/root /dev/sda –recheck
  • reboot

[Source]

    Advertisements

    Ubuntu can play the most popular non-free media formats, including DVD, MP3, Quicktime, Windows Media, and more by following the instructions below:

    For Ubuntu 8.04/7.10, open the terminal, and execute the following command:
    #sudo apt-get install ubuntu-restricted-extras

    Another way is using Synaptic:

    • Go to ApplicationsAdd/Remove…
    • Set Show: to All available applications
    • Search for ubuntu-restricted-extras and install it. Note that there is also xubuntu-restricted-extras (for Xubuntu) and kubuntu-restricted-extras (for Kubuntu.)

    [Source]

    In order to enable the user-specific public_html directory open up a terminal and switch to the apache module config directory:

    cd /etc/apache2/mods-enabled

    If you list all the files inside this directory you’ll notice that all of them are actually symbolic links. To enable mod_userdir, which is the module you’re interested in, you’ll have to create two symlinks to the relevant files:

    sudo ln -s ../mods-available/userdir.load

    sudo ln -s ../mods-available/userdir.conf

    All done! Now restart Apache via:

    sudo apache2ctl restart

    We can now access the web applications stored in our /home/username/public_html directory via http://localhost/~username/