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


ADVERTISEMENT

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 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

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

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

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

SUSE :: Multiboot: 11.2 And Grub2 - Add Eebuntu Boot In Opensuse?

Mar 31, 2010

eeebuntu 4 beta uses grub2. If opensuse 11.x is installed as a multiboot, opensuse grub does not recognise eb4. In opensuse, contents of fdisk - l:

[code]...

How do I add eebuntu boot in opensuse?

View 4 Replies View Related

Ubuntu Installation :: How To Multiboot Using Grub2 (SuSe / Fedora And Lubuntu)

Apr 3, 2010

I am desperately looking for a how to : multiboot. Checked bodhi.zazen's thread, but its totally with reference to GRUB Legacy. I have karmic installed and also vista. wondering if there is a step-wise guide to multiboot with reference to Grub2. I want to add a SUSE, Fedora and Lubuntu, but have no clue as to how. I messed up my comp earlier trying to multiboot so now I just dual-boot Windows Vista and Karmic Koala.

View 9 Replies View Related

General :: How To Setup Grub2 With Xen

Aug 24, 2011

I am booting a new Xen kernel and it all goes fine up until some point during the boot process when the machine reboots without warning. Unfortunately, I don't see errors flash up just before that happens. Is there a way of booting the machine with a working kernel and looking at a log of the previous boot or something? What I didn't notice is that there is actually an error on the screen. It just flashes up very quickly before the reboot. The error is related to not being able to mount the root filesystem because there is something wrong with my grub configuration.

A normal entry in grub.cfg looks like this:
menuentry 'Ubuntu, with Linux 2.6.32-33-server' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)' .....

I added the following in /etc/grub.d/40_default
menuentry 'Xen 4 with Linux 2.6.32.45-xen' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
recordfail
insmod ext2
set root='(hd0,1)' .....

But it's not working for some reason. I also tried the 20_linux_xen script. Unfortunately that's not working.

See these errors:
Found linux image: /boot/vmlinuz-2.6.32.45-xen
Found initrd image: /boot/initrd.img-2.6.32.45-xen
Found linux image: /boot/vmlinuz-2.6.32-33-server
Found initrd image: /boot/initrd.img-2.6.32-33-server
/etc/grub.d/20_linux_xen: 57: uses_abstraction: not found
Found linux image: /boot/vmlinuz-2.6.32.45-xen
Found initrd image: /boot/initrd.img-2.6.32.45-xen
/etc/grub.d/20_linux_xen: 156: gettext_printf: not found

Gettext is installed. I'm on ubuntu 10.04 LTS. The error flashed up on boot is something like "please insert a correct root=boot kernel option..." Why is this so hard and why are there so many different examples of grub2 xen? some put /boot in front some just /. I tried putting /boot in front but that didn't help. Also some have --set=root uuid and yet all my other working entries just have --set uuid. Is this something to do with a different grub2 version?

View 1 Replies View Related

Ubuntu :: Preserving Multiboot Setup On Selective Reinstall?

Sep 14, 2010

I've set up a multiboot with XP, Vista, Windows 7, and Ubuntu 10.04.1, installed in that order in five individual partitions on a single hard drive (fifth is for the Ubuntu swap area). Everything is working well: On boot, the GRUB menu comes up first, with the usual Ubuntu choices and "Windows 7 (loader)". When I select that last option, I'm then given the Windows boot menu that allows "Earlier Version of Windows", "Windows 7", and "Microsoft Windows Vista". They all boot properly, and I don't mind having to use the second menu. I would like to reinstall XP (only) to the same partition it now occupies. I suspect this will mess up my current booting scheme, correct? Is there a way I can prevent this, by saving the GRUB configuration or whatever?

View 3 Replies View Related

General :: Grub2 Setup On Ubuntu 10.04 Install

Jun 24, 2010

I have been asked to install Ubuntu 10.04 onto a friends machine but appear to be having some very basic problems. I think it may be related to the Grub 2. I do not consider myself a newbie but I am very inexperienced with Grub 2. I know a lot of the tricks of Grub Legacy, but this is driving me daft. It should be simple; a new hard drive, 500GB SATA, has been put into the computer, there are no other hard disks installed and the drive went in as empty.

Ubuntu booted fine into live CD mode without any issues, all of the hardware appeared to be working properly. I then installed it onto the machine, taking up the entire disk as per my friends request. When the installation finished everything seemed as normal, but upon startup I am greeted with a grub rescue prompt. Upon a bit of internet research I discovered that it may be simply that the 500GB is simply too big and that a seperate partition should be made for /boot.

This was done however now I do not even get to the grub rescue prompt after checking the DVD drive for bootable media the computer simply sits at a blinking cursor. I have made sure that grub 2 was installed and setup to look for the /boot partition but these all check out and I am still stuck with the same problem. I am considering simply installing 8.04 LTS and then updating and that should solve my issue of Grub 2, but I know that is avoiding the problem and I will need to learn about Grub 2 at some point.

View 8 Replies View Related

Ubuntu Installation :: Setup The Grub2 Menu So That It Does Not Timeout?

Dec 28, 2010

how I can setup the grub2 menu so that it does not timeout? What do I need to set in the configuration file? I did it once before on my old computer but forget now what I changed.

View 3 Replies View Related

Ubuntu Installation :: GRUB2: Setup For Dual-boot With Arch

Nov 26, 2010

I'm thinking of dual-booting Ubuntu 10.10 and Arch Linux. It seems that I'll have to do some editing of the grub.cfg file, but I have seen numerous warnings not to do so. After a bit of poking around, I've heard about a script that does the editing for you built in to Linux (or maybe just Ubuntu).

My questions are:

- If the aforementioned script does exist, how do I use it?

- else if it doesn't exist, how do I not directly edit grub.cfg?

View 1 Replies View Related

General :: How To Make Multiboot DVD?

Nov 23, 2009

how to make multiboot dvd with following

ubuntustudio-9.04
slax-6.1.0
ophcrack-xp-livecd-2.1
ophcrack-vista-livecd-2.1
gnome-2.26
kde4.3
pclinuxos-minime-kde3-2009.1.iso

i am new to this plz give exact step to make it??

View 1 Replies View Related

General :: Partitions For Multiboot

Feb 5, 2011

i am trying at the moment to setup up a multiboot system on my laptop, i need to keep windows 7 on it for work purposes, but i am planning on installing 4 different distros of linux on there as well, after windows i have over 400 gig spare so what i wanted to do was create 4 partitions of 80 gigs each plus a swap drive partition that each distro of linux can share, is 80 gig each enough for fedora security lab, kubuntu, ubuntu multimedia studio and linux mint 9? also what format should i partition each as? can i make each distro create a home drive within its own partition?

View 1 Replies View Related

General :: Setting Up Grub To Multiboot

Jun 1, 2011

I am a new user of Ubuntu and I am having problems setting up GRUB to multiboot Windows 7, Windows Vista, and Ubuntu 11.04. Following this guide http://erickoo.wordpress.com/2009/06...-karmic-koala/

I got to the point where I need to save the file called '11_Windows' However, in the terminal after trying to save it. (ctrl + x, yes to the save dialogue, then pressing enter) I come across an error that says ' [ Error writing /ect/grub.d/11_Windows: No such file or directory ]'I have spent about an hour trying to find round about ways to create/ save this file and none of them have worked. If someone could tell me what I am doing wrong or what I need to do, it would be greatly appreciated.

View 2 Replies View Related

General :: Multiboot / Upgrade From LVM-based Partition

Dec 27, 2010

I currently have FC3 Linux which installed itself on the hard disk using LVM partitioning, so it is basically all one big partition. I would like to try some other distributions and upgrade to something newer, but don't want to lose my current capabilities and data files, and I know nothing or less about LVM. Is it possible (and if so an example would be nice) to install a non-LVM-based distribution on the LVM disk and have multi-boot options? Or do I have to start over new and drop the LVM? My guess is that I should save my /home (data files and .rc files) on a backup device first, then somewhere/somehow create a new partition for installing another distribution.

View 1 Replies View Related

General :: Installing Multiboot ISO On Flash Drive?

Jun 7, 2010

I've been trying to install multibootisos.exe on to my flash drive. Instead of getting the menu like in the picture I get a black screen that looks somewhat like a command prompt. I am using an 8G PNY Attache flash drive.

View 3 Replies View Related

General :: Clonezilla And Multiboot ISO Mount USB Drive

Feb 5, 2010

I have been able to get a few of my desired tools working 100% (dban, gparted, ophcrack, UBCD) but what I would ultimately hope to get working is CloneZilla! I was able to get the Clonezilla user interface to load correctly but when I choose any of the options I encounter an error "ntfs volume version 3.1" repetitively. I have a feeling it is because I am launching the iso wrong in my menu.lst config file for grub. This is what I have.

title CloneZilla
find --set-root /CloneZilla.iso
map --heads=0 --sectors-per-track=0 /CloneZilla.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)
boot

View 8 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

General :: Grub Multiboot 2 Linuxes Filesystem Context?

Oct 22, 2010

Does anyone know if the context is related to the current filesystem, or the one defined in root setting grub.conf.

Code:

title LinuxX
root=/dev/sdb2
kernel=/boot/kernel
title LinuxY

[code]....

View 1 Replies View Related

General :: Second Hdd Install - Boot Loader Queries - Multiboot

Sep 11, 2010

I currently have 2 operating systems on my main hdd: Ubuntu and WinXP My current setup - [storage NTFS partition, solely data][17GB WinXP partition][{extended partion}Ubuntu + swap]: [URL] I have a second SATA hdd that I would like to install Arch Linux on to. It uses GRUB Legacy, and Ubuntu uses GRUB 2. I would like to know how I would go about booting this, and figure out where my current bootloader is installed to. i.e. /dev/sda or /dev/sda5 (the / ubuntu partiton)

View 3 Replies View Related

CentOS 5 :: Chainloading 2nd Sata Drive Partition 5?

Mar 5, 2011

I am still fighting with getting the right configuration in my grub file to chainload the second linux OS on my computer.

Computer:
2 hard drives (sata)
2 OS's (CentOS,Ubuntu)

CentOS is in and running fine. It owns the MBR and was in place before I added the Ubuntu OS. Ubuntu was added to the free space of the second hard drive in partition 5 and its grub was installed there. So I thought this would work for a grub stanza.

title Ubuntu (10.10)
root (hd1,4)
chainloader +1

View 9 Replies View Related

CentOS 5 :: Chainloading 2nd Sata Drive Partition 5 - The Fix?

Mar 6, 2011

This is in response to Alan's request to: open another thread, to document your progress in achieving the aimed-for dual-boot system? After giving up on the problems described in:[URL]..

View 2 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

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

Mar 7, 2010

i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.

Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.

sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

May 17, 2010

I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?

View 2 Replies View Related

Fedora :: Dual Booting - Grub2 To See F15 Or Be Installed Using Grub2?

Jul 11, 2011

I installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.

Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.

View 10 Replies View Related

General :: Ubuntu 10.04 - Cannot Setup GRUB On RAID 0 Setup Disks

Jun 4, 2010

I've been all afternoon trying to install Ubuntu Lucid on my fakeRAID 0 configured (2) HDDs and am unable to set GRUB up. The fake RAID setup is provided by Intel Matrix Storage Manager, it is correctly enabled and the BIOS is also correctly set up -- in fact, I've managed to install Windows 7 with no significant hitch. After struggling with partioning the drives (had to follow advice I found on a very helpful guide online [0]), creating the filesystems AND getting Ubuntu's installer to actually do what it is supposed to do, I now cannot seem to set GRUB up. My system, as it stands, is unbootable at all; via live CD only.

This is how the RAID0 dev is partitioned:
Code:
# fdisk -l /dev/mapper/isw_ecdeiihbfi_Volume0
Disk /dev/mapper/isw_ecdeiihbfi_Volume0: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x6634b2b5 .....

View 2 Replies View Related







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