General :: Chainloading With Grub And Grub2?

Dec 20, 2010

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

[Code]...

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.

View 3 Replies


ADVERTISEMENT

Fedora :: Chainloading Grub2 From Grub 1?

Feb 1, 2011

A little background: my primary install is fedora 9, I'm migrating to 14, and I need to change some partitioning (but not the F9, which is first on the drive). Because I installed a newer ubuntu a while back, I've been using ubuntu's grub2. That ubuntu partition needs to be moved, so I re-installed the grub 1 from F9 onto the MBR so the F9 doesn't depend on anything else.

This is when I learned grub 1 does not support booting ext4 partitions (which ubuntu uses). However, fedora claims that you can install grub 2 and have it chainloaded from grub 1, and in fact yum install adds a line to your existing grub 1 config to do so. That seemed like a nice solution since then all I would have to do is copy some grub.conf from the ubuntu partition into the F9 grub 2.

However, chainloading grub 2 does not seem to work very well. At all. I get to the grub 2 menu, but any option I choose -- including loading the F9 partition on which both grub 1 and 2 are installed, using the default config created by the installer, leads to an "unrecognized command" error, as if grub 1 was crapping out on a grub 2 config.

Anyone else had this problem? Better yet, has anyone done this successfully with any fedora version? I can backup ubuntu and copy it back in after I re-work my partitions, but while I'd prefer not to have to use grub 2 on the MBR, I'd still like to be able to boot ubuntu.

View 14 Replies View Related

Software :: GRUB Legacy Chainloading Grub2 (ubuntu) Not Loading, Goes Text Mode?

Jun 15, 2011

I use openSuSE and want to try Ubuntu.This is the layout of the partitions:

Code:
sda1 /boot (SuSE)
...

[code]...

View 12 Replies View Related

General :: Chainloading Grub2 For A Multiboot Setup?

Nov 24, 2010

Don't know if I should have posted in Ubuntu specific section but since it involves grub2 and a quirk in my bios, I have attempted to multiboot 3 Windows versions and the problem I had was intalling a second Ubuntu. (Don't ask!) I had success multibooting with grub legacy on an older computer but this computer has a tricky mb which won't let me install grub to the second drive on an IDE port. What I mean by this is that since I already had boot files to the older drive in mbr- it won't allow me to install to mbr of the other drive in IDE port even if set first in bios boot order, my old computer allowed me to do so, exept perhaps its because 2 HDD were SCSI... (I have other HDD installed in RAID 0 on the other sata ports supported by mb (fakeraid) but I will use these for video editing as scratch disks later. One other HDD used for data is on the Raid port but not in an array).

I succeeded in installing Ubuntu desktop only after realising that I had to first switch my disk order in bios- otherwise the system would just hang. U. Desktop grub had sucessfully found Win bootloader links to both XP and Vista. I then installed Win 7 and used easy BCD and grub2 boot entry to link back to my Ubuntu Desktop grub 2 menu.

The problem occured when installing Ubuntu Studio ( for which I created a separate /boot partition) and I decided to install grub2 to mbr since it had correctly detected all my OSes! But then it seems it never installed correctly to the mbr. I still had Win 7 BCD bootloader in MBR! I tried to link easy BCD boot entry to the /boot drive but that didn't work and I ended up having to reinstall Win7 because I had overrid the BCD with faulty neogrub mapping entries- which I then removed and kept the orginal neogrub that still points to Ubuntu Desktop grub menu.

I also now realise that because I installed Ubuntu Desktop before I switched the HDD boot order in bios- U. Desktop's grub.cfg sees root of Desktop grub differently than neogrub BCD does root=(hd4,7) vs multiboot kludge (hd3,6) and at first I tried to install grub in the wrong hdds and partitions- I based mapping on neogrub's to find /Boot (hd3,2) and (hd3, 1) which is wrong!

What I am attempting to do now is to chainload grub2 from my Ubuntu studio located in /Boot with what I thought was the right mapping but still no success:

menuentry 'Chainloader' {
insmod chain
set root=(hd4,2)
chainloader +1
}

yielded error: hd 4,2 cannot get C/H/S values press any key to continue, also when in terminal in Ubuntu Desktop in
grub> find /grub/core.img
Error 15: File not found

I will attach Boot_info_script; at this point I am too tired and afraid that I will keep on installing grub to the wrong drive!

Note: I somehow got a problem loading into XP after all these failed attempts and a system 32 file seems to have gotten lost-haven"t attempted to fix yet. Just wondering in passing what happens if I chainloaded into Windows by error- if that could have corrupted it? Right now 3 out of 5 OS are bootable. I hope I can repair it without messing up my mbr again. Another issue is that some devices are on busy IRQs and then suddenly its resolved and my onboard LAN suddenly stops working at times so I don't know if any of this could cause XP to get stuck at loading screen.

View 2 Replies View Related

General :: Chainloading From Grub2 To Sys On A USB Drive / Boot Error?

Mar 23, 2011

Alright, what I thought would be a simple task has me tied in knots.

I wanted to make a multiboot USB flash drive that I could easily manipulate to switch to various distros easily. My plans were:

1. Partition my 8GB drive to one large first partition (5GB) so that windows could access it. (P.S. GParted didn't partition correctly, needed to use fdisk. THIS MIGHT BE IMPORTANT IN SOLVING THE PROBLEM BECAUSE THERE MIGHT BE A BLOCK ERROR). I then made an extended partition with 5 500MB logical partitions.

2. Install Grub2 to MBR from Ubuntu

3. Expand ISO's of varios distros (Acronis Recovery, Puppy linux, etc.)
to the partitions, and create syslinux.cfg files for each (from the isolinux.cfg files that were already there)

4. Install syslinux to each partition's boot sector

Code:
#syslinux /dev/sdb5...
5. make grub.cfg on /dev/sdb1 chainload each partition.

THE GRAND PROBLEM:

Grub2 loads, but when selecting what I want to boot, I get the error

Boot error

which is syslinux, not grub2. So I know it's chainloading, but syslinux doesn't seem to find ldlinux.sys.

P.S. I'm not asking for other ways to make a multiboot drive, I know I can just direct boot from Grub2, but I want to be able to pass the boot to the boot loaders on the other logical partitions.

View 7 Replies View Related

Ubuntu :: Booting Windows From Grub2 Without Chainloading?

Jun 4, 2010

if it is possible to boot windows without the chainload option. I don't have xp on the first partition and I don't want to load xp bootloader on the first partition because it will overwrite grub2. All I want to do is boot xp directly from grub, is this not possible? Can't I just load the kernel like I do with linux? I've never had luck with getting grub2 to load xp, P.S. grub version is 1.97 from ubuntu 9.1 install

View 9 Replies View Related

Ubuntu Security :: Dual Booting With Truecrypt 6.3a Chainloading Grub2

Jan 4, 2010

I'm having problems getting TC to load grub2 1.97b4. When I hit ESC from the TC boot prompt, I get "no bootable partitions found".

I also booted into Ubuntu Live cd, mounted my LVM dm-crypted volume and tried to reinstall grub2 to my nonencrypted /boot under /dev/sda3 and TC still wont boot. Then I set the boot flag on /dev/sda3 and it still won't boot.

These are the commands I used to install grub2 to my /boot partition. Atleast that's what I think it did.

update-grub
grub-install /dev/sda3
grub-install --recheck /dev/sda3

View 3 Replies View Related

Slackware :: Chainloading To Grub ?

Dec 21, 2010

I'm setting up a dual-boot for a friend with Ubuntu Studio and Slackware 13.1. Slackware will be the primary OS and Lilo will control the bootloader. After doing some research it seemed to me the best way would be to chainload grub from the lilo menu, so when I installed Ubuntu I stuck Grub in the Ubuntu root partition instead of the MBR and added the following to Slackware's lilo.conf:

Code:

It's not working. It just errors out and asks me to boot something else when I select Ubuntu_Studio from the lilo menu. I've never tried this before so I'm sure I'm making a really basic error;

View 14 Replies View Related

OpenSUSE Install :: GRUB Chainloading Removed Boot-flag

Dec 13, 2009

I had my BIOS complaing that there were no OS. (worked since releaseday of 11.2).

partition setup:

sda1 : primary : swap
sda2 : primary : ext3 : Kubuntu
sda3 : primary : ext3 : opensuse (flagged as bootable)
sda5 : logical
sda6 : logical

opensuses GRUB is primary and Kubuntus is chainloaded.

The problem occurred after I tried to boot kubuntu for the first time since I installed opensuse. Kubuntu didn't boot. so I probably set up chainloading wrong. No big deal, this I can fix.

The big problem was that after trying to boot Kubuntu no OS was marked as "Boot" in MBR. This is VERY strange. somehow the boot-flag is removed!

After setting the boot-flag (with a live-CD) everything works again. I can reproduce this.

I've tried to find answers but could'nt find any.

Is GRUB supposed to remove the boot-flag when chainloading? have I found a bug?

View 9 Replies View Related

SUSE / Novell :: Open Suse 11.2 Install Grub Entry For Chainloading Ubuntu?

Jul 20, 2010

I intend to re-install open suse 11.2, 32-bit. On a previous install,suse did not provide a grub entry for ubuntu.My current setup has

ubuntu/root on /dev/sda6
ubuntu/home on /dev/sda7
ubuntu/usr/local on /dev/sda8

[code]...

View 4 Replies View Related

General :: Creating A Grub2 Boot-cd With A (grub.cfg) Menu?

Sep 13, 2009

Here is how I created a Grub2 boot-cd with a (grub.cfg) menu:

mkdir /tmp/cdroot
mkdir /tmp/cdroot/boot
mkdir /tmp/cdroot/boot/grub
cp /boot/grub/grub.cfg /tmp/cdroot/boot/grub
cd /tmp

[code]....

NOTE: The above proceedure assumes you already have a grub.cfg file. If you don't, create one in the /tmp/cdroot/boot/grub directory

View 6 Replies View Related

General :: Grub2 Detects Mac OSX On Sdb But Doesn't Install It To Grub.cfg

Feb 13, 2010

Working on a quad boot system. Two Karmic installs (I find I tend to hork one every once in a while by playing too much, so having a backup around is nice), windows 7, and Snow Leopard. I got everything up and running, except I had Leopard installed instead of snow leopard. At that time, I had the following:

sda1->win 7
sda2->leopard
sda5->karmic 1
sda6->karmic 2
(others for swap / extended / etc)

Grub2 detected everything just fine, made a real nice grub.cfg file and away I went.Now, I've made a change. Snow Leopard required GUID partitions and I had my stuff all set up as MBR and was /not/ about to reformat and start over. So I added a second drive, sdb.

Now, I can boot to that drive independently. Fine.I can boot to sda just fine and go to either Ubuntu install or windows just fine. Great. Grub2 finds Mac OSX on /dev/sdb2. Awesome (sdb1 is a fat32 bootloader for hackintosh reasons). It not only doesn't update grub.cfg, it leaves the old /dev/sda2 listing for my old Leopard install ... whose partition I deleted. It isn't visible anymore.

Code:

> sudo update-grub
Generating grub.cfg ...
Found Debian background: radar.png

[code]....

But nothing after Ubuntu 9.10 on /dev/sda6 shows up in grub.cfg? I'm at a loss. Any ideas how to get it to populate? I'd rather not hack grub.cfg and have to rebuild it by hand every once in a while especially as grub was fine with finding it.

View 14 Replies View Related

General :: GRUB2 (not Grub Legacy) Included In What Dist

Mar 11, 2010

GRUB2 (not grub legacy) included in what dist? (expect ubuntu)

View 3 Replies View Related

Software :: GRUB2 - Autoprobe "update Grub" Grub Seems To Detect All OS And Generates Grub.cfg

Feb 28, 2011

I have an old BIOS (only 149 GB detected in 160 GB drive). I have installed very few OS as a result - Windows in first 80 GB , 2 distros (20 GB each) in next 40 MB which is within the 149 GB. On issue of "update-grub" grub seems to detect all OS and generates grub.cfg. But on boot , one distro does not appear in the menu.

View 3 Replies View Related

Ubuntu :: Grub2 Editing - Editing Directly To /boot/grub/grub.cfg?

Jun 6, 2010

I have an old laptop that I installed EasyPeasy Lucid on. I have never used Grub2 as my other Ubuntu installs still use Grub Legacy. I have studied all the tutorials which instruct that the grub.cfg file should not be edited directly.This old laptop has one of the dreaded Intel graphics chips for which the kernel automatically loads the i915 module. Of course (like a multitude of others with Intel graphics and Lucid) I booted into a black screen but knew the workaround was to enable mode setting through grubI used the

Code:
i915.modeset=1
and added it to /etc/default/grub line GRUB_CMDLINE_LINUX, just after "quite splash", just

[code]....

View 9 Replies View Related

Ubuntu :: Replacing Grub With Grub2?

Mar 24, 2010

I recently decided to try out Fedora 12 (which uses Grub, not Grub2) along side my Ubuntu 9.10 which does use Grub2, and Windows 7 (yuck). I would like to use Grub2 to boot (Fedora's Grub does not recognise my 9.10 install). I've searched for a way to simply remove Grub, but have only found ways to remove it by using "the Windows fix" (fdisk /mbr or something similar) which I do not want to do, and I do not want to modify Grub's menu.lst, I just want it gone and to install Grub2. I am most likely going to remove Fedora soon anyway.

View 9 Replies View Related

Ubuntu :: Replace Grub2 With Grub?

Jun 20, 2010

I have seen grub2 wreck the system console screen display, be dependant on files in /etc/default and /etc/grub.d and be exteamely hard to configure. Even worse Grub2 settings are distribution dependent and distribution specific.

Something single like vga=nnnn in grub2 involves something akin to these commands in grub2 "set gfxmode=1280x800 set gfxpayload=keep insmod gfxterm insmod vbe" and editing far too many files. I have a steady flickering screen loaded during boot because Ubuntu's usplash image is larger than 640x480 and the vga size is 640x480. Grub2 is reluctant to be anything but user friendly.

Practical question: Does anyone know of a guide that could change grub2 back into the useful and user friendly grub (menu.lst).

View 6 Replies View Related

Ubuntu :: Grub2 Took Over Grub Legacy?

Jul 17, 2010

I had Arch Linux installed on my machine on sda1 and the Grub legacy that came on their install image on the MBA at sda/. I just did a Ubuntu update and it wanted me to do an update and me thinking grub-install referred to grub legacy, went along with it but now I have Grub2 for my boot menu. There are a few guides on restoring Grub2 I've found but how do I put Grub back on to how I had it? (I thought installing grub legacy from Arch's usb image I have would be simple and fairly automated/easy but it won't let me without doing the previous steps of partitioning drives and selecting packages to install and such so it looks like I'm going to have to do it manually which I haven't done before).

View 3 Replies View Related

Ubuntu :: Grub2 Not Reading Grub.cfg?

Jan 3, 2011

I installed grub2 into a usb flash drive, the system loads grub fine, but then dumps me to the grub> prompt.The only way i can get the system to continue on is to type inCode:configfile /boot/grub/grub.cfgdoes anyone know how to get grub to auto-load the grub.cfg file?

View 2 Replies View Related

Debian :: What I Can Do To Either Get Grub Or Grub2 To Work?

Mar 26, 2010

i am running lenny. and at some point my grub started exibiting a strange problem. Grub will not display all the kernels that it finds, it only displays 2 of them out of the 5 grub was finding.the system is working and boots just fine.

I attempted to install GRUB2 which went ok. since my system booted ok i removed GRUB that operation was sucessful and it deleted all the grub files that were not needed.but my system is still booting into grub with the same 2 kernels.Could someone tell me what i can do to either get grub or grub2 to work?

View 9 Replies View Related

Software :: Booting Grub2 From Grub?

Mar 30, 2011

My working OS uses grub, but I've just installed Sabayon 5.5, which uses grub2, on hda10. I want to keep using grub until I've got time to RTFM on grub2, so I installed the Sabayon bootloader on hda10. I should be able to point grub at the partition and boot indirectly, as with Windows, but after following the grub 'info' page I get an error message. Can anyone point to the error in the following grub script:

title hda10 110330 Sabayon 5.5
rootnoverify (hd0,9)
makeactive
chainloader +1

[Code]...

View 3 Replies View Related

Software :: Grub.cfg File In Grub2?

Jan 22, 2011

make working entries in grub.cfg. This is taken from Ubuntu 10.10 and despite the do not edit warning, I edited it with sudo gedit /boot/grub/cfg. My computer boots into every OS in the list.

# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

[Code].....

View 16 Replies View Related

Ubuntu :: Way To Hide Grub Entries In Grub2?

Jan 8, 2011

I have been fooling around with some of the new kernels and have ended up with a lot of options in my grub at boot. I have been checking this page:[URL].. ... and it appears hiding the entries in grub2 is not as easy as hashing them out (#) which was the convention in grub.

My problem: I have installed kernel 2.6.36 and 2.6.37 just to fool around. Neither works in anything but low-graphics as it seems the ATI graphics driver is not working in either yet. They both also kill my wireless (don't recognise the card). BUT I don't want to completely uninstall them as I'd like to keep playing around as time goes on and they develop. I'd like to just hide them from the menu.

Is there some easy way of doing this? The link I provide only gives options to make the kernel non-executable (overly complicated process) or remove the kernel completely, neither of which I want to do. This used to be simple in grub, open a file and add or remove a #, and - although overall I prefer grub2 - IMHO this 'improvement' seems a little like a backward step. Sure a million people will disagree, but .

View 9 Replies View Related

Software :: Grub Adding Modules To Grub2?

Jul 22, 2010

I've noticed grub2 has modular structure. Is it possible to insert other Kernel modules into grub? Or can write my own modules to insert into grub?

View 1 Replies View Related

Software :: Grub2 Find The Grub.cfg File?

Mar 10, 2010

How does Grub2 find the grub.cfg file?

I have (among others) these partitions:
/dev/sda5 'newsys' - my current system partition (Ubuntu Karmic, 64-bit)
/dev/sda2 'oldsys' - the original system partition
/dev/sda1 'boot' - mounted at /boot when running 'newsys'

[Code]...

View 8 Replies View Related

Debian :: Rolling Grub2 Back To Grub On Jessie (8)

Sep 2, 2015

I'm trying to run 'grub-install /dev/sda', it stays stuck on 'Searching for GRUB installation directory ... found: /boot/grub' after leaving it for an hour, nothing happens. I have tried removing all Grub related packages and installing grub-legacy several times, to no avail.

The machine is quite an old one and is an offline sandbox for a friends kid who likes to tinker with older OSes. The hard disk has failed in it so I have donated an old drive to get the machine back up and running for him, as the menu.lst is a lot easier to modify than the newer grub.cfg, he would like the older grub back.

I've done a few searches particular for Debian 8, but the closest I can find is for Ubuntu here, [URL] ....

I have tried to use both the grub rescue disk and the command line listed in the link above.

View 2 Replies View Related

Ubuntu Installation :: Grub2 On Usb Stick Don't Load Grub.cfg

Feb 7, 2010

I' ve tried to do a iso multiboot 1gb pen stick with grub2 bootloader. I 've already readed all is it possible finding on the WWW but there are some problems i don't understand how to solve.

This is my sitution:

-koala 32bit installed on my pc with grub2 bootloader

-1gb pendrive parted as follow:

In the first fat16 partition there is installed grub2. On the second ext2 one there are iso files.

This is what i've do to install grub2 on my pen:

So i've created /boot/grub/grub.cfg file with the follow lines:

When i reboot by the pen stick, grub load up to it says me:

It seems not reding /boot/grub/grub.cfg

View 2 Replies View Related

Ubuntu :: Unable To Boot - Grub Vs Grub2 Page

Apr 20, 2010

I've been dual booting ubuntu and xp for about 2 months now. i booted this morning and all i get is this grub menu. i saw the grub vs. grub2 page but have no idea even where to start.

View 5 Replies View Related

Ubuntu Installation :: Tricking Old GRUB To Load GRUB2

Jun 8, 2010

So I have an MBR that is Grub legacy,(from HardyHeron) and I cannot edit/upgrade this MBR. (I won't get into the reasons, other than I will mention SafeBoot).

I have a new encrypted LucidLynx Linux installation on partition 4 and an unencrypted /boot partition on partition #3.

When I boot up, I get the "Error 15" Grub error, which is expected as Grub legacy is looking for /boot/grub/stage2 or something like that and /boot/grub/stage2 does not exist in my GRUB2 installation in /boot/grub.

I thought if I could make a link from the GRUB2 binary of interest to /boot/grub/stage2, then maybe the GRUB legacy would be tricked into loading the GRUB2 binary.

what is the binary of interest in the GRUB2 installation that is the main binary?

View 9 Replies View Related

Ubuntu Installation :: Grub2 Overwrite Grub On Upgrade From 8.04 To 10.4?

Jun 21, 2010

I have been running a dual boot XP and Ubuntu 8.04 on two separate hard drives for a while now without any problems. I used the method posted http://ubuntuforums.org/showthread.p...light=dualboot. I will be upgrading to 10.4 soon (probably after the re-spin in July) and was wondering if I will have problems after upgrading dual booting.

I do not know if while upgrading Grub remains or if Grub2 tries to overwrite. I have read that Grub2 will try to install onto all partitions and hard drives in a fresh install but do not know about upgrading. If it does try I think I need to put it in hda,1 which is the primary drive where Ubuntu is located.

This is not something I have been able to find the answer to with google. I also have Kubuntu on the system which I can change with session manager and am not sure what will happen to that once I upgrade Ubuntu.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved