Ubuntu Installation :: Keep Sda First But To Place Grub2 Instead Of Grub Legacy?
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)
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?
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)
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).
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?
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,
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.
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?
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?
I have the following setup a) 1st sata hdd - Ubuntu 9.04 (32 bit) b) 2nd sata hdd - Win7 (64 bit)
I am on GRUB legacy. I am going to do a clean install and replace Ubuntu 9.04 with Ubuntu 10.10. I plan to leave my Win7 install alone. When I am installing Ubuntu 10.10 over Ubuntu 9.04, where should I place GRUB 2? The choices I've always seen: i) MBR or ii) boot sector of Ubuntu
I do not recall which setup I have now but I can confirm that when I start the computer, I get a GRUB menu that lets me choose Ubuntu or Windows. Ubuntu is the default if no choice is made within 20 seconds. I like that setup and want to replicate it with GRUB 2, if possible. If that is what I want, then I should place GRUB 2 on the MBR, correct or not? Note, I do not intend to install any other OSes. In other words, my 1st sata hdd will only have ubuntu and my 2nd sata hdd will only have windows.
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?
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
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.
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
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 ]
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:
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?
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.
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.
I am having trouble upgrading from old grub to grub-pc. I have a clean install of 9.10 on a system with a new ASUS motherboard with Nvidia RAID configured as RAID 0.Although I read the page on SATA pseudo-RAID, this doesn't seem to apply, as both 9.10 and Windows XP installed cleanly without any additional drivers required.I did notice that contrary to the documentation, 9.10 installed with grub v0.97, not the new one as claimed. It is working fine, but just to be ornery, I'm trying to upgrade to the new one, and this is where I ran into trouble.Whenever I try to run grub-upgrade, I get an error from grub-probe that 'no mapping exists for' my raid partition. Apparently grub-probe can deal with the device, but not with the fs_uuid, as follows:
twescott@latitude:~$ sudo grub-probe -t device /boot/grub /dev/mapper/nvidia_fcacbeib5 twescott@latitude:~$ sudo grub-probe -t fs_uuid /boot/grub grub-probe: error: no mapping exists for `nvidia_fcacbeib5'
The system seems to be recognizing the RAID with no problems, as in:
I mucked things up a bit-- 1) I had only windows on my drive. 2) Using 10.04 on USB, I made a 10gb ext3 partition and a 1gb swap area and installed 10.04. No problems at all using grub2, and the GUI is nice for dummies like me. 3) I got antsy so I made an 8gb partition and installed 8.04 on it. It automatically installed grub (the old grub).
Now when I boot my machine the Old Grub loads, not Grub2. I can select 8.04, 10.04, or XP no problem. When I select 10.04 and use the GUI I can see 10.04, 8.04, and XP, but things are in a different order (clearly the grub2 order). Questions: 1) How can I get grub2 to take over booting? (I like the GUI) 2) I'd like to install puppy linux too, but I'm afraid of really screwing things up. Can someone recommend a safe way of installing it (besides just running from a USB- I've had mixed luck using USB OS's over long timeframes).
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 #