Feb
13
2009
0

HOWTO: Restore GRUB (if your MBR is messed up)

6,235 views

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

2. Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary.

3. Type "grub" which makes a GRUB prompt appear.

4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines.

5. Type "root (hd0,3)".

6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".

7. Type "quit".

8. Restart the system. Remove the bootable CD.

credit
http://ubuntuforums.org/archive/index.php/t-24113.html

Written by Pipo in: Ubuntu | Tags: ,
Nov
06
2008
0

reconfig xserver

1,274 views
$ sudo dpkg-reconfigure -phigh xserver-xorg

Written by Pipo in: Ubuntu |
Oct
29
2008
0

Install Virtualbox (2.x, 1.6.x) with USB support in Ubuntu 8.04, 8.10

1,935 views
  • sudo dpkg -i virtualbox-2.0_2.0.2-36488_Ubuntu_hardy_xxxx.deb # Install the package (change the version to suit your needs)
  • sudo groupadd vboxusers # Add the "vboxusers" group (seems to be already created by the current (>1.6.2) virtualbox install process)
  • sudo usermod -G vboxusers -a $USER # Add users who will be using the program to the "vboxusers" group. Add more users after $USER
  • To get USB support, you just need to execute the following code:
    echo "none /proc/bus/usb usbfs devgid=$(grep plugdev /etc/group | sed 's/plugdev:x:\(.*\):.*/\1/'),devmode=664 0 0" | sudo tee -a /etc/fstab
  • sudo /etc/init.d/vboxdrv setup # Run the Virtualbox kernel setup routine
  • Logout and Login again # for the changes to take effect.

Credit: ubuntuforums.org

Written by Pipo in: Ubuntu |
Oct
16
2008
1

Share folder between Ubuntu, XP, Vista with Samba

5,058 views

Share folder from Ubuntu
Install Samba
{smartads}

$ sudo apt-get install samba

Edit config

$ sudo nano /etc/samba/smb.conf

(more...)

Written by Pipo in: Ubuntu | Tags: ,
Oct
15
2008
0

change desktop folder in gnome

1,364 views
$ sudo gedit ~/.config/user-dirs.dirs

Written by Pipo in: Ubuntu |
Oct
15
2008
0

remove partition from places menu

1,188 views
$ sudo gedit ~/.gtk-bookmarks

Written by Pipo in: Ubuntu |
Page 1 of 11

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes