Grub Problem

Status
Not open for further replies.

anantkhaitan

Burning Bright
I have a dual boot configuration with
Fedora Core on hda1 Primary partition
Dream Linux in hda5 Logical Partition

But I am unable to boot Dreamlinux, I don't know what is the problem

Content of my /boot/grub/grub.conf :
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.20-1.2925.fc6)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-1.2925.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.20-1.2925.fc6.img
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title Dream Linux
rootnoverify (hd0,4)
chainloader +1
 

saurabh.sauron

Ambassador of Buzz
problem is chainloader +1 . that statement is for windows partitions.
u have to add these lines for Dream Linux:-
root (hd0,4)
kernel /boot/vmlinuz"version" ro root=LABEL=/ rhgb quiet
initrd /boot/initrd"version"

look up the kernel and init file in the /boot folder of DreamLinux (access it from Fedora). The replace "version" with the kernel and init filename. then save and reboot.
 
OP
anantkhaitan

anantkhaitan

Burning Bright
not working man..
content of my Dreamlinux's boot folder
config-2.6.18.1-kanotix-1
grub
initrd
System.map-2.6.18.1-kanotix-1
vmlinuz
vmlinuz-2.6.18.1-kanotix-1

My new Grub
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.20-1.2925.fc6)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-1.2925.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.20-1.2925.fc6.img
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title Dream Linux
root (hd0,4)
kernel /boot/vmlinuz-2.6.18.1-kanotix-1 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18.1-kanotix-1
 
Last edited:

mehulved

18 Till I Die............
anantkhaitan said:
not working man..
content of my Dreamlinux's boot folder


My new Grub
try this
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
#hiddenmenu

title Fedora Core (2.6.20-1.2925.fc6)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-1.2925.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.20-1.2925.fc6.img

title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img

title Dream Linux
root (hd0,4)
kernel /boot/vmlinuz ro root=LABEL=/ rhgb quiet
initrd /boot/initrd
 

mehulved

18 Till I Die............
This is strange. I never made any changes to FC's part. Why does FC have to always play hard with other distros.
Does dreamlinux boot up right? Also post your grub.conf again
 
OP
anantkhaitan

anantkhaitan

Burning Bright
No sir .. Dreamlinux is not booting, I made the changes as u said but while booting Dreamlinux following message is displayed
Kernel panic-not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

my Grub:
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.20-1.2925.fc6)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-1.2925.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.20-1.2925.fc6.img
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title Dream Linux
root (hd0,4)
kernel /boot/vmlinuz ro root=LABEL=/ rhgb quiet
initrd /boot/initrd

Fedora is working fine for me
 

mehulved

18 Till I Die............
Huh. Did you copy paste this from your menu.lst? Why is dreamlinux complaining about hd(0,0) when you have set the root as hd(0,4)
 

djmykey

Let the music play.....
hi anantkhaitan,

How did u install the distros, I mean is the boot partition shared by all the three distros ??

Did you install FC first or Dream linux first ?? Please do give us these details. And also when you boot into fc check in the /boot partition if your dream linux kernel does reside there. Please reply with details because the linux kernel always has a version number associated with it.
 
OP
anantkhaitan

anantkhaitan

Burning Bright
@tech_your_future
No when u boot any particular distro it display messages like : Uncompressing the kernel.... etc..but in case of my Dreamlinux it is showing me the message I mentioned before..
And correctly said I m also wondering why at all it is mentioning abt. hd(0,0)..

@djmykey
I was running Dreamlinux with my Windows..then I replaced windows by Ubuntu 6.10..
And I was able to boot both the distros without any problem..Now i replaced ubuntu with Fedora Core 6 and missing Dreamlinux.. When ever i wanted to boot dreamlinux it displayed "Press any key to reboot" .. but now after replacing my grub's content with that of what was given by tech_your_future at least this problem is solved..
So as far as i think a minor editing in the grub may help me with my problem..
 

eddie

El mooooo
Have you made sure that an initrd image actually exists in your /boot folder or is it named as something else i.e. with some suffix?
 

saurabh.sauron

Ambassador of Buzz
try this. i think it will work.
title DreamLinux
root (hd0,4)
kernel boot/vmlinuz-2.6.18.1-kanotix-1 root=/dev/hda5 ro quiet splash vga=791
initrd /boot/initrd-2.6.18.1-kanotix-1
savedefault
boot
 
Status
Not open for further replies.
Top Bottom