LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-23-2008, 01:07 PM   #1
nbg
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
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-42.fc8)
root (hd0,2)
kernel /boot/vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.23.1-42.fc8.img
title WinXP64
rootnoverify (hd0,0)
chainloader +1

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


thanks.
 
Old 10-23-2008, 01:25 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 01:25 PM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Is there a question in there somewhere?
 
Old 10-23-2008, 05:58 PM   #4
nbg
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)
makeactive
chainloader +1


thanks
 
  


Reply



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 02:19 AM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 06:40 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12: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 04:04 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

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