Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 31-10-2006, 09:05 PM   #1 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default GRUB error 18

i tried to triple boot with fedora, ubuntu and windows. windows and fedora boot but ubuntu returns with GRUB error 18.
what is grub error 18 and how can it be corrected.
thnx
saurabh.sauron is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 01-11-2006, 12:19 AM   #2 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: GRUB error 18

Give us the output of
Code:
fdisk -l
Also tell us your Hard Disk setup. Which ports have you connected your Hard Drives to and which partition you have installed your OS on.
eddie is offline  
Old 01-11-2006, 03:05 PM   #3 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default Re: GRUB error 18

it is showing command not found??? though i know it exists.

i have installed fedora on hdb1, ubuntu on hda6. my grub.conf file

Quote:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img
title Microsoft XP Pro
rootnoverify (hd0,0)
chainloader +1
title Ubuntu
rootnoverify (hd0,5)
chainloader +1

Last edited by saurabh.sauron; 01-11-2006 at 03:15 PM.
saurabh.sauron is offline  
Old 02-11-2006, 12:05 AM   #4 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: GRUB error 18

Quote:
Originally Posted by saurabh.sauron
it is showing command not found??? though i know it exists.
You needed to use sudo. Anyways, your grub.conf shows the underlying problem. This is your problem
Code:
title Ubuntu
rootnoverify (hd0,5)
chainloader +1
You can't load Ubuntu using chainloader because the root partition of your Ubuntu installation does not have any bootloader installed. chainloader is used for OS like Windows that always has bootloader like boot.ini available and chainloader can handle the booting process to these files.

You need to mention exact kernel and initrd image of Ubuntu partition in your grub.conf to boot it correctly. I am not a GRUB user thus I can't help you but some users like mehul or JGuru can help you here. They can give you exact syntax of what to mention in your grub file but chainloader will simply not work.
eddie is offline  
Old 02-11-2006, 12:11 AM   #5 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: GRUB error 18

You need to use
Code:
su
in FC to get access to fdisk. I guess it's the same for slacky?
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 02-11-2006, 12:15 AM   #6 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default Re: GRUB error 18

go to your /boot directory and note down the exact filenames for vmlinux-2.6.-foobar and initrd.img-2.6-foobar
where foobar is some number rrepresenting your kernel version.

then put this for ubuntu:
Code:
title           Ubuntu
root            (hd0,5)
kernel          /boot/vmlinuz-2.6-foobar root=/dev/hda6 ro quiet splash vga=791
initrd          /boot/initrd.img-2.6-foobar
savedefault
boot
__________________
- --
http://www.MovieAB.com - A tiny movie mashup!
GNUrag is offline  
Old 07-11-2006, 11:26 AM   #7 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default Re: GRUB error 18

thnx GNUrag. that solved my problem. it worked.
saurabh.sauron is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 05:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2