Skip to main content

Grub Ubuntu Missing

Grub Ubuntu Missing! Yeah, this error show when i turn on my ubuntu pc. It make me confuse what should i do. With several steps i have fix it. These are the steps :

1. You have to prepare Ubuntu Live CD. Then use it to boot your PC.

2. After desktop of ubuntu live cd show, open terminal and type this command :
$sudo grub
and it will open grub prompt ( grub> )

3. Next step is type :

grub>geometry (hd0);

then find one of partition that using Linux Filesystem (ex : Ext3, Ext2, etc)

4. After you find the Linux Partition, type this command
grub> root (hd0,?);
while the ? is number of position your linux partition. Example, if your partition in position 6 then type
grub > root (hd,6);

5. The last step is install grub again with command :
grub> setup (hd0);

Wait for a while until it finish and word "Done" show up. Next, restart your pc and don't forget remove your ubuntu live cd.
If your computer support boot using USB Flash Disk, you can use it too. That's all i hope it can fix your 'Grub Ubuntu Missing'

Comments

Popular posts from this blog

Install ffmpeg on Centos

I want to install youtube-clone to my server (Centos 5) and it need some files. The important files that i have to install is ffmpeg. Then ask to uncle google where can i find how to install ffmpeg. I found one website that give tutorial how to install ffmpeg on Centos 5. The installation is begin from download the files. First, ffmpeg in rpm and others in tar.gz. Rpm files easy to install. But another have to do some config. You can read the tutorial install ffmpeg on Centos 5 here and here (Centos 4) . Another Link about Centos Guide For CentOS Centos 5 Live CD Password For root

15 Linux lsof Command Examples (Identify Open Files)

lsof stands for List Open Files. It is easy to remember lsof command if you think of it as "ls + of", where ls stands for list, and of stands for open files. It is a command line utility which is used to list the information about the files that are opened by various processes. In unix, everything is a file, ( pipes, sockets, directories, devices, etc.). So by using lsof, you can get the information about any opened files. 1. Introduction to lsof Simply typing lsof will provide a list of all open files belonging to all active processes. # lsof COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME init 1 root cwd DIR 8,1 4096 2 / init 1 root txt REG 8,1 124704 917562 /sbin/init init 1 root 0u CHR 1,3 0t0 4369 /dev/null init 1 root 1u CHR 1,3 0t0 4369 /dev/null init 1 root 2u CHR ...

Extend a LVM partition after increasing its virtual disk on Virtualbox

No Linux machine at work? the easy way could be to simply install Virtualbox in one of the PC, create a VDI and install Ubuntu 14.04 in it. But the day will come when you need more space! Here is how to resize it: Resize Virtualbox VDI Open Virtualbox, make sure to shutdown your virtual machine. Then open a terminal (here windows): 1 2 3 4 cd “ C : \ Program Files \ Oracle \ VirtualBox ” VBoxManage list vms VBoxManage clonehd uuid 0000000000000000 backup . vdi VBoxManage modifyhd uuid 0000000000000000 -- resize 204800 This is the Virtualbox official manual  of available commands. And  this is a website  to convert Gb into Mb (–resize takes Mb as input, 200Gb = 204800Mb). Boot Gparted to resize the partition After a default install of Ubuntu Server on one physical disk, you will have a SWAP partition, and then an extended partition in which you’ll have your LVM partition (So 3 partitions).  Download Gparted  .iso,...