Results 1 to 5 of 5
Hey, total n00b here hoping for some help. I have one drive. I first installed debian which installed lilo. After playing around I decided to install fedora. While going through ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-30-2005 #1Just Joined!
- Join Date
- Mar 2005
- Posts
- 2
Dual boot issue Debian/Fedora + Grub
Hey, total n00b here hoping for some help. I have one drive. I first installed debian which installed lilo. After playing around I decided to install fedora. While going through the graphical install I noticed it would install grub but had an option of adding another os if it was there. You can see a picture of what I am talking about http://www.bitbenderforums.com/~grog...bootloader.jpg
Not knowing what I was doing I just added debian and hoped it would notice it on the drive. Obviously now when I boot to fedora it gives the option of fedora or debian but when I choose debian it gives:
rootnoverify (hd0,0)
chainloader +1
Error 13: Invalid or unsupported executable format
If I assume correctly, grub was default installed on the mbr and when I go to choose debian it is not looking at the correct partition for debian? Or have I totally screwed up my debian install?
Either way I am not sure how to edit grub or the mbr. Any help would be appreciated, thanks in advance.
- 03-30-2005 #2
Try this.
Look for a vmlinuz fileCode:su root password mkdir /mnt/debian mount /dev/hda1 /mnt/debian cd /mnt/debian/boot
Then go to /boot/grub, and edit grub.conf like thishit the ESC buton, type ZZCode:vi grub.conf title debian kernel (hd0,0) kernel name that is vmlinuzxxxxxroot=/dev/hda1
Now you should be good to go.
Note: the hd0,0 and hda1 assume that this is the first partition on the first hard drive.
Hope this helps.How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 03-30-2005 #3Just Joined!
- Join Date
- Mar 2005
- Posts
- 2
Thanks so much for your reply!
When you say look for vmlinuz, I can see it but I am not sure what I should do with it?
also, I don't quite understand what I should do when I am editing grub.conf
sorry for these questions but I am just learning, thanks
- 03-30-2005 #4
What you are going to do with that vmlinuz file is, put it into the grub.conf file. that vmlinuz file is your kernel. Grub needs that to know what to boot. do
[code]vi grub.conf[code]
that brings up the grub.conf file for editing.
Then
[/code]title debian[code]
debian is what you will see when you reboot.
Then
[/code]kernel (hd0,0) /boot/vmlinuzxxxxxx[code]
That vmlinuz plus whatever is behind it is the name of the kernel.
then on the same line as the kernel name, put ,
[/code]root=/dev/hda1[code]
That is the location of the kernel.
Then hit ESC,that brings you back to command mode. Then type ZZ(case sensitive), that will save your work.
Hope this makes it a little clearer.How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 04-05-2005 #5Just Joined!
- Join Date
- Mar 2005
- Location
- Egypt
- Posts
- 1
thanks
that hlp me alot
i will tray that


Reply With Quote
