LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


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

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


Hi,
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, 11: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, 12:18 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Pretty simple really.

Just use the command
Code:
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
Code:
sudo su
grub
root (hd0,1)
setup (hd0)
quit
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, 09:59 PM   #4
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 440

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


Reply


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 08:07 PM
Grub Error 21 on Fresh Ubuntu install aids4n Linux - Newbie 13 05-06-2008 09:40 PM
GRUB hard disk error on fresh ubuntu RAID install dreamer.redeemer Linux - Software 6 01-30-2008 03:33 AM
devices missing: fresh slack 12 install alphisb0t Slackware 18 09-07-2007 02:48 PM
winxp reinstall w/grub manual install on ubuntu causes missing hal.dll file for xp pulper Linux - Software 6 09-13-2006 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:45 PM.

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