Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-23-2008, 02:07 PM   #1
LQ Newbie
Registered: May 2007
Posts: 20

Rep: Reputation: 0
Help me up with Grub

I installed fedora 8 as the 3 OS .

I couldn't load in mandriva 2009 error2 :BAD FILE or directory type. from GNU GRUN.97

Here is the fdisk O/P :-

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdcefdcef

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/sda2 6375 17272 87538185 f W95 Ext'd (LBA)
/dev/sda3 17273 18164 7164990 83 Linux
/dev/sda4 18165 18572 3277260 82 Linux swap / Solaris
/dev/sda5 6375 11473 40957686 7 HPFS/NTFS
/dev/sda6 11474 15935 35840983+ 7 HPFS/NTFS
/dev/sda7 15936 16917 7887883+ 83 Linux
/dev/sda8 16918 17272 2851506 82 Linux swap / Solaris

and here is the menus-list from /boot :

# 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 (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
title Fedora (
root (hd0,2)
kernel /boot/vmlinuz- ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-
title WinXP64
rootnoverify (hd0,0)
chainloader +1

root (hd0,6)
kernel /boot/vmlinuz BOOT_IMAGE=linux root=UUID=ba7fcd5c-9f8b-11dd-8571-8bc71cc17489 splash=silent vga=788
initrd /boot/initrd.img

Old 10-23-2008, 02:25 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
How was the entry for Mandriva generated? eg, did the Mandriva installer setup and install GRUB?
Can you still boot into Fedora and Windows?

Make sure that the Mandriva /boot directory has a file (or link) named "vmlinuz" (I always make soft-links in /boot, so that I can always use "vmlinuz" in menu.lst)

I don't know what this does:
BOOT_IMAGE=linux root=UUID=ba7fcd5c-9f8b-11dd-8571-8bc71cc17489

I would simply replace it with the traditional root=/dev/sda7
Old 10-23-2008, 02:25 PM   #3
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Is there a question in there somewhere?
Old 10-23-2008, 06:58 PM   #4
LQ Newbie
Registered: May 2007
Posts: 20

Original Poster
Rep: Reputation: 0
I can boot into MANDRIVA and windows, after i installed Fedora i couldn't boot mandriva but fedora and windows are fine.

Here is the grub menu.lst from mandriva boot before install Fedora:-

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,6)/boot/gfxmenu
default 0

title linux
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=ba7fcd5c-9f8b-11dd-8571-8bc71cc17489 splash=silent vga=788
initrd (hd0,6)/boot/initrd.img

title linux-nonfb
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=ba7fcd5c-9f8b-11dd-8571-8bc71cc17489
initrd (hd0,6)/boot/initrd.img

title failsafe
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=ba7fcd5c-9f8b-11dd-8571-8bc71cc17489 failsafe
initrd (hd0,6)/boot/initrd.img

title windows
root (hd0,0)
chainloader +1



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
Why /boot/grub/grub.conf is symlinked to /boot/grub/menu.lst raj_hcl1986@rediffma Linux - Newbie 2 10-19-2008 03:19 AM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 07:40 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM
can some fc4 user mail his grub.conf and tell me how can i make this grub read this amolgupta Linux - Software 1 03-15-2006 05:04 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 05:55 AM > Forums > Linux Forums > Linux - Newbie

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

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