LinuxQuestions.org
Register a domain and help support LQ
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 12-20-2010, 08:42 AM   #1
houndhen
Member
 
Registered: Aug 2006
Location: Alabama
Distribution: pclos, crunchbang
Posts: 57

Rep: Reputation: 15
chainloading with grub and grub2


I multi-boot Windows XP and 5 Linux distros on a single hard drive. Some of the distros come and go but I keep at least two that are my daily use distros. My boot loader is grub1 located on a ext3 formatted distro. I have installed a distro that requests the partition be formatted ext4, which I did. I have been trying to edit my grub1 menu.lst so that I can chainload the ext4 distro get errors or it goes to the command line with the last word being Grub. My question is, can grub1 ext3 chainload a grub2 ext4 distro?

Here is a sample of my menu.lst
Code:
title MEPIS at sda7, newest kernel
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 nomce quiet splash vga=789 
initrd /boot/initrd.img
boot

title Microsoft Windows XP Home Edition at sda1
rootnoverify (hd0,0)
chainloader +1

# for Mint Debian on sda5
title Mint Debian on sda5
root (hd0,4)
chainloader +1

# for Crunchbang on sda6
title Crunchbang
root (hd0,5)
chainloader +1

# for SuperOS on sda8
title SuperOS 10.10
root (hd0,7)
chainloader +1

#for Aptosid 2010
title Aptosid 2010
set root=(hd0,8)
chainloader +1
boot
Mepis is the location of my menu.lst and is ext3 on sda7 and aptosid is the ext4 distro that I am trying to boot on sda9 and it uses grub2.

Last edited by houndhen; 12-20-2010 at 01:40 PM. Reason: found the problem; it was me
 
Old 12-20-2010, 09:26 AM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
You should be able to use the menu for grub legacy as long as the partition is bootable.

If you have a rescue mode for Aptosid reinstall bootloader to sda9 /.

If you can use as a live cd grub-install --force /dev/sda9

Change
#for Aptosid 2010
title Aptosid 2010
root (hd0,8)
chainloader +1
boot
 
Old 12-20-2010, 10:35 AM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Try the rootnoverify directive so GRUB 1 won't try to read the ext4 file and barf.
 
Old 12-20-2010, 01:39 PM   #4
houndhen
Member
 
Registered: Aug 2006
Location: Alabama
Distribution: pclos, crunchbang
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks, I solved it some time after my post. The install was not where I thought it was. Everything is fine.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with chainloading grub2 for a multiboot setup streams &dragonflies Linux - General 2 11-24-2010 03:47 PM
Chainloading Grub from Lilo Unr3a164 Slackware 5 06-04-2008 10:35 AM
Chainloading from grub to LILO AtomicAmish Slackware - Installation 2 08-24-2007 10:47 PM
GRUB & XP w/out Chainloading: Possible? Computer Guru Linux - Software 5 06-14-2006 12:23 PM
grub and second linux, chainloading lacrimae Linux - Software 4 07-15-2002 09:17 PM


All times are GMT -5. The time now is 09:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration