Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 06-09-2008, 08:06 AM   #1
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 438

Rep: Reputation: 32
missing /boot/grub after fresh install of Ubuntu 8.04

I have installed Ubuntu 8.04 LTS Desktop Edition on my Acer Aspire 5100 laptop. But the problem is when I reboot Ubuntu is not listed in the boot-menu items. On further inspection I found that /boot/grub was not created. So how do I install grub?
Old 06-09-2008, 10:58 AM   #2
Larry Webb
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
We need to know more about your disk partitions and the distros on there now. From terminal as root run 'fdisk -ls' without the quote marks and post the results.
Old 06-09-2008, 11:18 AM   #3
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Pretty simple really.

Just use the command
find / -name stage1
to find out which directory has Grub's system files stage1 and stage2. Then copy these two files into the directory /boot/grub.

Fire up a Grub shell at terminal, say the partition contains /boot/grub is the 2nd partition of your 1st hard disk known to Grub as (hd0,1) then Grub will be setup in the MBR by terminal commands
sudo su
root (hd0,1)
setup (hd0)
In the above the red commands are inside the Grub shell while the others are Linux terminal commands.

The above, after a reboot, boots you to a Grub prompt with which you can boot any system manually. To boot the system automatically you need to write a menu.lst or Grub's configuration file.

We can suggest a menu.lst if you provide

(1) output of "fdisk -l" in a Bash terminal
(2) List of files inside /boot

Having said that there is no installed PC system that cannot be booted in a Grub prompt so it pays to know how to use it.
Old 06-12-2008, 08:59 PM   #4
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 438

Original Poster
Rep: Reputation: 32
Thanks guys,
your suggestion seems to have worked.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 7.10 jeos fresh install, will not boot VanillaSlice Linux - Desktop 6 09-11-2008 07:07 PM
Grub Error 21 on Fresh Ubuntu install aids4n Linux - Newbie 13 05-06-2008 08:40 PM
GRUB hard disk error on fresh ubuntu RAID install dreamer.redeemer Linux - Software 6 01-30-2008 02:33 AM
devices missing: fresh slack 12 install alphisb0t Slackware 18 09-07-2007 01:48 PM
winxp reinstall w/grub manual install on ubuntu causes missing hal.dll file for xp pulper Linux - Software 6 09-13-2006 02:26 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration