Posts

Showing posts from May, 2009

Reinstall Ubuntu Grub Bootloader After Windows Wipes it Out

Image
If you run a dual-boot system with Linux and Windows, this has happened to you. You had to do your monthly reinstall of Windows, and now you don't see the linux bootloader anymore, so you can't boot into Ubuntu or whatever flavor of linux you prefer. Here's the quick and easy way to re-enable Grub. This option will use the Desktop/Live CD to install Grub into your MBR (Master Boot Record). This option will overwrite your Windows Boot Loader . It is OK to do this, in fact that is the goal of this how to (in order to boot Ubuntu) 1. Boot the Desktop/Live CD. (Use Ubuntu 8.04 or later) 2. Open a terminal (Applications -> Accessories -> Terminal) 3. Start grub as root with the following command Open a Terminal and type in the following commands, noting that the first command will put you into the grub "prompt", and the next 3 commands will be executed there. Also note that hd0,0 implies the first hard drive and the first partition on that drive, which is whe

Extract tar.bz2 file in UBUNTU

tar -xvjf also using following command user can extract list of files for tarfile in `ls *.tar.bz2` do tar -xvjf $tarfile done