LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2010, 04:51 AM   #1
rhklinux
Member
 
Registered: Jan 2010
Location: india/pune
Distribution: Arch Fedora20
Posts: 126

Rep: Reputation: 18
Exclamation can't install GRUB


Hi,
once i have mint(gloria 7) installed on my pc and then i updated it but the grub uses splah image of gloria only!!
Now i have ubuntu 9.10 and the installation disk had not installed grub,
so what should i do??
i am a linux newbie!!
MY menu.list is like this:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default saved

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=10643b64-52c2-4dc9-a5a7-4c45736d7e7e ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=10643b64-52c2-4dc9-a5a7-4c45736d7e7e

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 9.10, kernel 2.6.31-20-generic
uuid 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=10643b64-52c2-4dc9-a5a7-4c45736d7e7e ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic

title Ubuntu 9.10, kernel 2.6.31-20-generic (recovery mode)
uuid 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=10643b64-52c2-4dc9-a5a7-4c45736d7e7e ro single
initrd /boot/initrd.img-2.6.31-20-generic

title Ubuntu 9.10, kernel 2.6.31-19-generic
uuid 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/vmlinuz-2.6.31-19-generic root=UUID=10643b64-52c2-4dc9-a5a7-4c45736d7e7e ro quiet splash
initrd /boot/initrd.img-2.6.31-19-generic

title Ubuntu 9.10, kernel 2.6.31-19-generic (recovery mode)
uuid 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/vmlinuz-2.6.31-19-generic root=UUID=10643b64-52c2-4dc9-a5a7-4c45736d7e7e ro single
initrd /boot/initrd.img-2.6.31-19-generic

title Ubuntu 9.10, kernel 2.6.31-17-generic
uuid 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/vmlinuz-2.6.31-17-generic root=UUID=10643b64-52c2-4dc9-a5a7-4c45736d7e7e ro quiet splash
initrd /boot/initrd.img-2.6.31-17-generic

title Ubuntu 9.10,
kernel 2.6.31-17-generic (recovery mode)
uuid 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/vmlinuz-2.6.31-17-generic root=UUID=10643b64-52c2-4dc9-a5a7-4c45736d7e7e ro single
initrd /boot/initrd.img-2.6.31-17-generic

title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=10643b64-52c2-4dc9-a5a7-4c45736d7e7e ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic

title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=10643b64-52c2-4dc9-a5a7-4c45736d7e7e ro single
initrd /boot/initrd.img-2.6.31-14-generic

title Chainload into GRUB 2
root 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/grub/core.img[/B][/I][/B][/B]

title Ubuntu 9.10, memtest86+
uuid 10643b64-52c2-4dc9-a5a7-4c45736d7e7e
kernel /boot/memtest86+.bin[/B]

### END DEBIAN AUTOMAGIC KERNELS LIST
plz help!!
thanks in advance!!
 
Old 02-20-2010, 10:16 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,990

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Ubuntu 9.10 uses Grub2 and Grub2 does not have a menu.lst file. Linux Mint 7 uses Grub legacy which does have a menu.lst file which I would guess is what you posted?? All of your menu.lst entries are for Ubuntu and none for Mint and you also have four different Ubuntu kernels?

So, what was your system earlier? Did you have only Linux Mint installed? or other operating systems? if so, which? Can you log in or use your live CD to post partition information: sudo fdisk -l
post that here.

Quote:
but the grub uses splah image of gloria only!!
Now i have ubuntu 9.10 and the installation disk had not installed grub,
I have a system that boots from Mint 7 Grub and when I select Ubuntu, it displays the Mint logo but boots to Ubuntu, not a problem for me.
 
Old 02-21-2010, 01:30 AM   #3
rhklinux
Member
 
Registered: Jan 2010
Location: india/pune
Distribution: Arch Fedora20
Posts: 126

Original Poster
Rep: Reputation: 18
Yes i have only mint installed on my comp.After installing ubuntu i have tried to install grub2 but installation failed and i have to install ubuntu again
 
Old 02-21-2010, 01:32 AM   #4
rhklinux
Member
 
Registered: Jan 2010
Location: india/pune
Distribution: Arch Fedora20
Posts: 126

Original Poster
Rep: Reputation: 18
how to flush off other three kernals i am not using
 
Old 02-21-2010, 10:55 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,990

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Run the "sudo fdisk -l" command and post the results. Do it without quotes and that is a lower case Letter L, not the number one.

You can just delete the entries from your menu.lst and you can delete the kernel (vmlinuz)files from your /boot directory. Before doing that, I would suggest you boot with the most recent kernel to make sure it works. Your title line contains the kernel version so you will know which you are using. Make a note of this so when you delete you get the correct files/entries.


I don't understand how you are getting a menu.lst entry with only Ubuntu entries. Ubuntu 9.10 doesn't have a menu.lst. From that menu.lst, how do you boot Mint as there are no entries for it?
 
Old 02-22-2010, 11:50 AM   #6
rhklinux
Member
 
Registered: Jan 2010
Location: india/pune
Distribution: Arch Fedora20
Posts: 126

Original Poster
Rep: Reputation: 18
I don't have mint now but i have it before ubuntu.

Disk /dev/sda: 80.1 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x084c084b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1824 14651248+ 83 Linux
/dev/sda2 1825 8458 53287605 5 Extended
/dev/sda5 1825 2432 4883728+ 82 Linux swap / Solaris
/dev/sda6 2433 8458 48403813+ 7 HPFS/NTFS

Now question is how to install grub2??as the installtion disk is not installing it!!

Last edited by rhklinux; 02-22-2010 at 11:51 AM.
 
Old 02-22-2010, 12:22 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,990

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Now question is how to install grub2??as the installtion disk is not installing it!!
I would expect Ubuntu to install Grub2 to the master boot record by default. If it doesn't, then you may need to click on an Advanced tab during bootloader installation to select where to install Grub2. It might also be a bad download or a bad burn of the CD which is why it is not installing.
 
  


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
install kubuntu 8.10 with lilo rather than grub (because of grub error 18) dukeinlondon Ubuntu 7 12-27-2008 07:53 PM
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 11:29 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 03:01 PM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 02:06 PM


All times are GMT -5. The time now is 12:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration