Ubuntu Installation :: Understanding Legacy GRUB 'chainloader'
Jun 8, 2010
The O'Reilly book, Linux in a Nutshell, Sixth Edition has this excerpted section (on Legacy GRUB):If GRUB is installed in the MBR, you can chainload Windows by setting the root device to the partition that has the Windows boot loader, making it the active partition, and then using the chainloader command to read the Windows boot sector.If GRUB has been installed to (hd0,0)'s MBR, then I am confused what "file" chainloader +1 is pointing to. Obviously, it is not the MBR but that is confusing to me. When one boots a Linux system with GRUB in the MBR, what file does chainloader +1 point to?
View 2 Replies
ADVERTISEMENT
Jun 2, 2011
I had Fedora 14 (x86) and Windows XP with Grub Legacy (Grub) for dual boot in my desktop.
I installed Debian and Grub 2 replaced Grub in the MBR.
Must I reinstall F14 to recover Grub as bootloader or is there another lighter way to do it?
View 3 Replies
View Related
May 25, 2010
Is fedora 13 using GRuB 2 or still uses GRuB legacy?
View 8 Replies
View Related
Dec 18, 2010
My laptop came with Vista and I added Linux Mint 6 (based on Ubuntu 8.10 Intrepid Ibex) all is good for a year or so. Added Ubuntu 10.10 to my desktop, loved it, wanted to add it to my laptop...oops.
Installed the main version from a LiveCD, did the the easy multi-OS installation.
GRUB-0.97 is what boots my system though looking at boot script I do have GRUB2 somewhere.
Currently, my boot options are:
1. Mint 6
2. Mint 6 (recovered)
3. Mint 6
4. Mint 6 (recovered)
5. memtest 86+
Other operating systems
6. Vista/Longhorn loader
7. Vista/Longhorn loader
Sda7 is where Ubuntu should be installed. GPARTED says its ext3 file system and bootscript says ext4.
I did find the forum post on purging and installing GRUB2 though I'm not sure if that's what I need to do, or try to reinstall Ubuntu w/o also doing partition resizing at the same time.
The output from my bootscript:
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive in partition #5 for /boot/grub/stage2 and /boot/grub/menu.lst.
[Code]....
View 5 Replies
View Related
Mar 11, 2011
I installed yesterday the 11.4 openSUSE to my desktop pC (in my 160hdd that previous had WinVista).The bad thing was that I used grub from opensuse to be installed to MBR.openSUSE uses Grub 1.5 and I want grub2.Now I cannot see Ubuntu when grub legacy loads.I will post the results from
Code:
fdisk -l
later today (cause i am not in my pc)
[code]....
View 9 Replies
View Related
Jun 19, 2010
I dual-boot ubuntu 9.04 and windows 7. I recently reinstalled windows, and it wiped grub-legacy off of my MBR. Reinstalling grub shouldn't be tough, right, especially with clear instructions? Anyway, I can't get anywhere with the official instructions here: [URL]. The first issue is that the current live CD has no program "grub" in terminal. I dug up an old live cd, but I couldn't get anything with the directions:
Find where Grub is. If this gives a few different answers then you will need to find the correct one, perhaps by trial-and-error.
find /boot/grub/stage1
That command didn't find anything, nor did some similar commands found on google.
So I'm really at a loss. What should I do?
-Can I install Grub 2 on my MBR? Will that work with 9.04?
-Can I access my 9.04 install, copy files to Windows, and then just format the partition and clean install 10.04?
View 1 Replies
View Related
May 21, 2011
I moved from 8.04.2 to 10.04.2 and tried to upgrade from GRUB Legacy to Grub2. I must have made a mis-step somewhere in the process as on boot it now tells me
Code:
GRUB Loading stage1.5.
GRUB Loading,
Error 15
_
Is there a nuke from orbit, no finesse way of just ripping all the existing GRUB mess out and installing GRUB2 from Boot disk? for instance should I be just be able to boot with a LIVE CD mount the primary disk of this machine and enter the below in a terminal without messing up any further?
Code:
sudo grub-install --root-directory=/media/PRIMARY_DISK /dev/sda
View 3 Replies
View Related
Apr 5, 2011
I am new to Debian. I have installed Debian on sda1, grub installed in /dev/sda . /dev/sda6 is SalixOs.
My fdisk -l report is this code...
I boot from sda, Debian recognised windows Xp installed on sdb1, but when I choose to boot from it, it simply reboots.
What could be the reason ? I am a newbie, please be patient with me.
I have solve the problem by installing EasyBCD in WinXp and added the Linux entries to it and booting from sdb.(changed in BIOS)
So, is it possible to uninstall GRUB-2 and install GRUB-Legacy ? Would it work on Debian-Squeeze ?
View 3 Replies
View Related
Oct 2, 2010
I have a dual boot config with
sda1 /boot
sda2 Win7
sda3 /
sda4 Truecrypt Partition
i have grub1 working and chaonloading truecrypt loader if i choose "win7" in grub1 menu I want to install a new kubuntu (no upgrade) I have read that that there are problems with grub2 and truecrypt actually a bug that grub2 dont chainloads truecrypt boot loader many ppl seem to have problems with grub2 then i read somewhere that ubuntu install is not asking for grub2 to be installed and just installing it. is this right?
i think at least for the alternative install cd its wrong. i installed it on another pc and it asked me! it works for win7 and Ubuntu and i guess its grub2 but there is no truecrypt installed anyway, i wanted to ask is the live cd installer asks me for grub2 and what is the best and easiest way to stay with my grub and just change the menu.lst to the new kernel (i guess there will be one)
View 1 Replies
View Related
Dec 20, 2010
I've been using Linux for over a decade, so no need to worry about the obvious. I'm positive that I have my partitions/install correct. What has me baffled is that Fedora 14, which uses GRUB 0.97 (GRUB legacy) - boots Windows flawlessly every single time on the same hardware, but Ubuntu's (or the upstream Debian's) GRUB legacy do not - even though they are based on the same upstream code from the GNU Savannah servers.
No matter what I've tried I cannot get the Debian or Ubuntu version of GRUB/GRUB-legacy to boot any recent Windows 64 beyond XP (Vista or 7). All that it does is resets the computer when Windows attempts to boot, without an error. GRUB is notoriously difficult to compile, so before I try to compile code from RedHat's archives - any thoughts,experiences, similar issues - whatever?
View 9 Replies
View Related
Jul 31, 2011
is it ever possible to do dual booting with grub(legacy) ever at all!. it is possible provided i take some pain, here is the link of that post [URL] i was coward and weak i didn't try that out then. but i did try it out. now so if u haven't seen the post .... I've installed Fedora 15 desktop(Gnome) with physical Logical volume called vg_fedora lv_root(ext4) ,lv_swap and lv_home(ext4), with 500MB /boot partition and had about 200GB free hard disk space ... so i wanted to install Scientific Linux 6.1 (because our school uses RHEL 6.1)
so, while running the installer I made (added) a logical volume lv_Scientific with ext4 FS and made its mount point (/) and used the MBR /boot which overwrote the Fedora /boot (completely OK and was as expected) i restarted after installation i got SL log in and as per the directions of the thread i copied the boot stanza from grub.conf of fedora 15 (which i already had copied and pasted into a text file and copied it from there)and pasted it into grub.conf of SL you may ask why did i choose same physical LVM too save swap space ... if i had made another physical LVM i had to make another swap ( i like LVM ... its cool)
completely unexpected happened Fedora now boots but not SL when grub starts i get this error 27 unrecognised commad and when i press <enter> i get grub menu with SL and fedora when i press on Fedora it works well i get my fedora login and i did login .. everything works fine but when i press SL it goes to the previous black screen grub error 27
[Code]...
View 14 Replies
View Related
Jul 19, 2010
how to replace grub2 with grub-legacy hassle-free? I mean, is there any danger in doing the following procedure: purging grub2 and installing the legacy version after that? I'm using Squeeze system with ext4.
View 1 Replies
View Related
Jul 13, 2011
My grub file looks like this:-
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
[code]...
View 4 Replies
View Related
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
May 17, 2011
It's a little silly to ask this, as I am about to try it anyway, but is it theoretically possible to use a GRUB Legacy USB boot cd to boot a distro beyond 9.04? Or do I need to get to reading about GRUB 2?EDIT: As the USB Boot CD needs to be created from the GRUB files existing inside the Distro that it is intended to boot, this is impossible. Question answered.DIT EDIT: Unless I revert to GRUB legacy inside the Distro itself. Ok. Neat. I guess I just needed a place to write it down to figure it out
View 3 Replies
View Related
Jun 30, 2010
I've Win XP installed on sda1 initially. Then I installed Centos on sdb (boot partition on sdb1 and root on sdb2). I chose to install grub to MBR of sda. The Centos installation automatically created an entry in the menu.lst file and I can successfully boot either into XP or Centos.
Now I went ahead and installed Ubuntu 10.04 to sdb4. Both Centos and Ubuntu are sharing the swap partition at sdb3. When I was installing Ubuntu, I chose not to install grub because I wanted the grub already installed to boot all three. After Ubuntu was installed, I logged into Centos and added the following entry in its menu.lst [so I modified (sdb1)/boot/grub/menu.lst ]
Code:
title Ubuntu 10.04
root (hd1,3)
kernel /boot/vmlinuz-2.6.32-21-generic ro root=/dev/sdb4 splash quiet
initrd /boot/initrd.img-2.6.32-21-generic
[Code].....
View 14 Replies
View Related
Feb 28, 2010
have only been able to find instructions to enable HyperThreading on legacy versions of Grub, but not Grub2.
View 1 Replies
View Related
Aug 2, 2010
I wish to re-install grub legacy from my booted USB flash drive for Ubuntu 9.04.
Using the terminal for sudo grub I then go to >root (hd0,0) and then when I go to <setup (hd0) I get "Error 17: Cannot mount selected partition"
I have tried substituting /dev/sda in place of (hd0) but then I get "Error 11: Unrecognized device string"
View 1 Replies
View Related
Aug 2, 2010
I would like to have a bootable disk that starts Grub legacy (not Grub 2). I have the /boot/grub/menu.lst that works for my system. When I had a floppy disk I used the option to create same from Startup Manager, but haven't found a way to create a similar disk.
View 4 Replies
View Related
May 2, 2010
I've installed grub2 on 10.04, when I restarted I selected that option in the menu that seems to go for testing the chainloader. The system seemed to start ok, so I ran upgrade-from-grub-legacy. Now it's asking me for "GRUB install devices" and listing my hard drive (/dev/sda) and the 5 partitions on it as possible options. Which should I choose? I have Linux and Windoze running on this desktop,
View 4 Replies
View Related
Jul 28, 2011
I'm currently running the XFCE Spin of Fedora 15 (Xedora, as I like to call it (; ) on 64 bit, so sometimes I need a 32 bit environment to try stuff out.
I recently installed Linux Mint on a partition formatted to btrfs, and this is where my problems start, as I have no idea how to add this installation to my existing GRUB configuration. The grub.cfg on the Mint partition looks like this (GRUB2 btw.):
Code:
#
# 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 6 Replies
View Related
Apr 29, 2011
I have successfully dual booted Opensuse and Windows7 successfully, but I have to load it from the CD choosing the boot from hard drive option.
If I do not have the Opensuse CD inserted it goes to Grub Legacy and gives me the option to boot from Arch Linux, or Windows. There is no option for Opensuse and when i hit the Archl Linux option I get errors and it brings me to the /rmfa (I think) command line. Selecting Windows lets me boot to into Windows successfully.
I checked the /boot/grub/menu.list in Opensuse and everything seems to be fine, but these options do not appear on my boot loader.
View 5 Replies
View Related
Mar 11, 2010
GRUB2 (not grub legacy) included in what dist? (expect ubuntu)
View 3 Replies
View Related
Mar 6, 2011
I have a "master" IDE HD upon which reside several Linux OSs and a couple of Windoze OSs. The boot system is Mandriva using Grub Legacy and the latter's menu.lst file is where I select which OS I wish to use. I use HD physical carriers for my HDs. I used GPartEd to copy over newly installed OSs on another drive to the "master" HD. The commands in the menu.lst file for Linux OSs are representative as follows:
Name of OS
root (hdx,x)
configfile /boot/grub/menu.lst
Task: Enter Grub2 which, I seem to understand, is a work in progress. I presume that some commands in Grub2 are not recognizable by Grub Legacy. I installed Debian 6 on another drive and I wish to incorporate an entry in the menu.lst file described above using the technique described above. Is it possible to use the menu.lst file in Grub Legacy (0.97) in order to boot the Grub2 Debian OS? Or am I chasing windmills?
View 12 Replies
View Related
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
Jan 2, 2011
I have an ATI Radeon 9200 AGP card. I plan to upgrade it mainly because the 2D performance in KDE (3.x without Beryl or Compiz) is just bad. Since we are talking about a relatively old desktop, I do not want to completely upgrade it. So, I want to just upgrade the VGA card. I have found the following cards: Nvidia GeForce 6200
Radeon HD 2400 Pro
Radeon X1600 Pro Avivo Edition
Now, the simple question: Their prices are just OK (just a couple of � separate them). Which chip is better? And which chip is better supported from our beloved distro?
View 4 Replies
View Related
Dec 8, 2010
I had only Arch on an HDD.sda2 was "/".Now it's with Windows XP and sda2 is not a root any more but a container partition wich has sda{5,6,7} in it. I configured the dual boot and it works. It finds Arch and boots it, but not completely. Stops after some time and says: unable to determine the file system type of /dev/sda2. FSTAB is configured, sda{5,6,7} are on their places. So I can't boot Arch. XP boots correctly. What do I do with this error?Also it says: try adding rootfstype=your_filesystem_type to kernel command line.
View 4 Replies
View Related
Sep 27, 2010
I was installing opensuse on the c partition and it gave errors so i aborted it now i click on windows and it says invalid or unsupported executable format chainloader +1 so then i proceeded to try and fix this by changing the menu.lst to this:
And now it tells me that disk isnt found so i need to know what to put in the menu.lst to load the actual windows partition and then fix the original error.
View 9 Replies
View Related
Feb 24, 2011
I installed 9.04 then upgraded all the way to 10.04 and I am sticking with this version now.I just tried updating the Legacy Grub to Grub 2. My version of Grub right now is 1.98.Somthing went wrong when I doing the "upgrade-from-grub-legacy" command and I got error 15 or something to that nature. I fixed that by booting in to my live 9.04 cd and long story short, I mounted the drive to replace the grub and all worked well. I am able to boot right back up now *wipes sweat off for-head*.... HUGE accomplishment for me and I feel like a real linux geek now hahaha.I again ran...
Code:
~$sudo upgrade-from-grub-legacy
And I am prompted with this...
[code]....
View 4 Replies
View Related
Feb 2, 2011
I used to have dual boot of Windows XP and Ubuntu 10.04 which encounters some severe problems working extremely slow.... Last night I tried install Ubuntu 10.10 with live CD into the existing partition of the previous 10.04. But the 'GRUB Loading Stage 1.5, error 15' appeared. With the help from the following link, still couldn't fix it. [URL] Unfortunately, I can not get into either of the OS afterwards..... Now I am trying to reinstall again step by step. Anyhow, I am quite a beginner at non-windows OS, could guess the meaning of each command line rather than understand them well.
1. I deleted the partition /dev/sda8 and added it again in ext4 format with choosing 'Format the partition'
2. Should I set the 'Mount Point' with any options? "/", "/boot", "/home" or any others?
3. How shall I set Boot loader -> Device for boot loader installation:
/dev/sda8 or
/dev/sda ATA Hitachi HTS54323 (320.1 GB)
View 7 Replies
View Related