LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-22-2010, 03:23 AM   #1
dchester11
LQ Newbie
 
Registered: Feb 2010
Posts: 21

Rep: Reputation: 0
GRUB configuration for dual Linux install


Hello all

I am attempting to install Fedora 12 and Mint Isadora on the same hard drive. My other hard drive is a Windows install

I installed Fedora with the GRUB loader leaving free space on the drive for Mint. I installed Mint on the free space, skipping the Mint Boot loader install.

I can boot Fedora and Windows ok.

I booted Fedora, mounted /dev/sdb4 (the Mint partition) to /mnt and copied these files to /boot
  • vmlinuz-2.6.32-21-generic-mint
  • System.map-2.6.32-21-generic
  • initrd.img-2.6.32-21-generic

Here is my /boot/grub/menu.lst
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_fedoralt-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz

hiddenmenu

title Mint Isadora
	root (hd0,4)
	kernel (hd0,0) /vmlinuz-2.6.32-21-generic-mint root=/dev/hd4
	initrd /initrd.img-2.6.32-21-generic

title Fedora (2.6.31.5-127.fc12.i686)
	root (hd0,0)
	kernel /vmlinuz-2.6.31.5-127.fc12.i686 ro root=/dev/mapper/vg_fedoralt-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
	initrd /initramfs-2.6.31.5-127.fc12.i686.img

title Windows
	rootnoverify (hd1,0)
	chainloader +1
When I try to load Mint I get an Error Code 1

Can anyone help me out with this.

I have tried multiple suggestions and tried to get through the grub docs but am pretty bogged down in it.

Thanks in advance.
 
Old 05-22-2010, 03:40 AM   #2
zeno0771
Member
 
Registered: Jun 2006
Location: Northern IL
Distribution: Arch64
Posts: 106

Rep: Reputation: 19
GRUB error 1 is "Filename must be either an absolute filename or blocklist"

I'm curious as to why...
Code:
title Mint Isadora
	root (hd0,4)
	kernel (hd0,0) /vmlinuz-2.6.32-21-generic-mint root=/dev/hd4
	initrd /initrd.img-2.6.32-21-generic
root=/dev/hd4... Shouldn't that be "hda4"?
With that, I think the "(hd0,0)" in the kernel line is redundant.
 
Old 05-22-2010, 04:01 AM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
title Mint Isadora
root (hd0,4)
kernel (hd0,0) /vmlinuz-2.6.32-21-generic-mint root=/dev/hd4
initrd /initrd.img-2.6.32-21-generic
Thanks in advance.[/QUOTE]

Assuming that Mint is on (hd0,4) than should it not be kernel(hd0,4) and root=/dev/hd0,4
But this notification means that Mint is on partition 5 of the first boot HD
 
Old 05-22-2010, 08:05 PM   #4
dchester11
LQ Newbie
 
Registered: Feb 2010
Posts: 21

Original Poster
Rep: Reputation: 0
I changed my menu.lst to this. I'm not sure i totally understood or did it correctly though. I am now getting Error 15.
Code:
...
title Mint Isadora
	root (hd0,4)
	kernel /vmlinuz-2.6.32-21-generic-mint root=/dev/sdb4
	initrd /initrd.img-2.6.32-21-generic
...
I added attachments of screenshots of how the Fedora installer says my drives are set up. I would have thought that the Linux drives would be (hd1,0),(hd1,1), etc. since they are on the sdb1,sdb2,etc. But the auto generated menu.lst from Fedora set it at (hd0,x) so I just continued with that.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.jpg
Views:	6
Size:	83.1 KB
ID:	3635   Click image for larger version

Name:	Screenshot-1.jpg
Views:	6
Size:	84.8 KB
ID:	3636  
 
Old 05-22-2010, 09:10 PM   #5
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 69
Try:
Code:
title Mint Isadora
	root (hd0,3)
	kernel /vmlinuz-2.6.32-21-generic-mint root=/dev/sdb4
	initrd /initrd.img-2.6.32-21-generic
Grub1 starts counting drives and partitions from 0. Therefore first drive, fourth partition is (hd0,3)

If that doesn't work then try:
Code:
title Mint Isadora
	root (hd0,3)
	kernel /boot/vmlinuz-2.6.32-21-generic-mint root=/dev/sdb4
	initrd /boot/initrd.img-2.6.32-21-generic
You said in your first post:

Quote:
...copied these files to /boot

* vmlinuz-2.6.32-21-generic-mint
* System.map-2.6.32-21-generic
* initrd.img-2.6.32-21-generic
You may have to preface your kernel and initrd entries with /boot for grub to find them.

Last edited by brucehinrichs; 05-22-2010 at 09:13 PM.
 
1 members found this post helpful.
Old 10-07-2010, 06:00 PM   #6
dchester11
LQ Newbie
 
Registered: Feb 2010
Posts: 21

Original Poster
Rep: Reputation: 0
Excellent. That worked. Ty
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to dual boot Unix and Windows - grub configuration etcetera Linux - Newbie 5 01-08-2009 06:50 AM
Ubuntu 8.03a3 New Install: GRUB Error 21 after new dual-HDD, dual-boot install tvdxer Ubuntu 1 01-29-2008 01:08 PM
GRUB and Dual Boot Configuration Problem bgearhart Linux - Newbie 2 04-27-2007 02:00 AM
Dual boot. Grub configuration question. patufet99 Linux - Hardware 6 12-04-2005 10:47 AM
GRUB and Dual-boot configuration rgbrock1 SUSE / openSUSE 9 07-21-2005 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:39 PM.

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