My machines are using Kubuntu 9.10 but not from a fresh install. They are being upgraded from 8.04, 8.10, 9.04 until this version. So I still have GRUB1 as the bootloader. Can I upgrade to GRUB2? If yes, how? Will I gain anything with this upgrade?
How is this supposed to work out? I noticed some distros are really good about recognizing your other linux distros and some not. They keep recognizing windows, but not other linux distros. Also, I have run into a few problems when my operating systems were on different hard drives. I have my operating systems running from a small 250gb laptop hard drive with special mounting and am using my TB hard drive for internal storage /data.However, my last attempt at installing a linux partition on the TB hard drive with Windows and another linux partition on the laptop hard drive didnt work out so well. Updating grub via the command line didnt sort this out. Sudo su root Apt-get update grub (or grub update) or whatever didnt work before when I tried it.
I have two partition in my netbook (plus swap): /dev/sda4 with Ubuntu 10.4 /dev/sda5 with Centos 5.5 I use Ubuntu obviously. Centos is there because I need to run some test on that distro. The problem is Centos uses Grub and Ubuntu uses Grub2.
This is /boot/grub/menu.lst from Centos: Code: default=0 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz title CentOS (2.6.18-194.17.4.el5xen) root (hd0,4) kernel /boot/xen.gz-2.6.18-194.17.4.el5 module /boot/vmlinuz-2.6.18-194.17.4.el5xen ro root=LABEL=/1 rhgb quiet module /boot/initrd-2.6.18-194.17.4.el5xen.img .....
This was generated running update-grub2 and grub-install under Ubuntu. It's not working. It gives me something like bad magic number. How can I convert the grub1 entry in a grub2 shape?
Can I restore grub1 with a ubuntu 11.04 live cd? if yes how, cause "sudo grub" doesn't work or can i use grub 2 for fedora 12 and windows 7? i think i recall that fedora would need a chainloader and it's own grub1 but that's the one that's broken
I am currently trying to install Sabayon linux, and it expects to use Grub1 for booting from usb (what am I trying to do). So I copied grub files into boot section, but now I need to "root and setup" it - and that's what I can't do, because I don't use Grub1 normally, since I am on Ubuntu which uses Grub2.
(I decided to use Grub1 instead of Grub2 because Sabayon could have some special params, and I am not that much experienced to copy them in new format to grub2 configuration file). So my question is - is there a way to copy grub1 to MBR without having it installed? (using some utility or something like that).
I am dual-booting XP, and all has been fine for a while....until I upgraded Grub yesterday. This was due to the boot menu not updating properly, and I realised the system was still using the old grub. The update instructions I used advised putting grub2 on all partitions if you were not sure which one to go for.....I guess this has "upset" the chainloading process, as when I select XP from the menu, I just get a black screen with flashing white cursor, which doesn't seem to respond to anything except CNTRL+ALT+DELETE!
I can still access all Windows files from Linux, and can see that system files like boot.ini are sill there. Both systems have been backed up, but would prefer not reinstalling right now if possible.
Below I'll paste grub.cfg and fdisk -l; any suggestions gratefully received!
ps the computer is a Sony Viao laptop: Core Duo 1.6 GHz - 1 GB Ram - 80 GB HDD, running XP Media Centre and Ubuntu 10.04
# DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub #
I upgraded from 9.10 to 10.04 (no fresh install, an upgrade). During the upgrade, the installer asked me for the harddisks and partitions to include. I gave him the following ones:
Harddisk 1 1. Windows XP 2. Windows 2000
Harddisk 2 3. Ubuntu 10.04
After the installation was complete, I could only start Ubuntu. Both Windows versions just showed a flashing cursor at the left upper top screen. No HDD activity! How can I get WinXP and Win2000 selectable within grub2?
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 took the distribution upgrade from the update manager and can't boot now. Boot into a Live CD (ver. 9.10 - does that matter?), and go through the following steps.
ubuntu@ubuntu:~$ sudo fdisk -l Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite) Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000ad56f
[Code]...
Anyone have an idea here? I have searched a lot and have only found a few references to this issue. Does the invalid flag message relate here? The partition is flagged as 'boot'.
My girlfriend upgraded from Karmic 9.10 to Lucid 10.04 when the upgrade became available. She did it from Update Manager as opposed to a clean install.
I have no idea what she did, or how the process works (I installed from a Live CD on my own computer) and ever since she did it, she hasn't been able to boot into Windows XP from GRUB2.
GRUB2 loads up fine, with Ubuntu and Windows listed. It'll boot into Ubuntu with no problems. Selecting Windows will just re-load GRUB2.
I've tried re-installing GRUB2 but that hasn't worked. My lack of imagination means I have no idea what to type in to Google, or the forum search.
Last night I attempted to upgrade my Ubuntu 10.10 (amd64) machine. After reboot (it installed a new kernel), the grub menu only had the memtest. Booted into a livecd and it seems that I was missing most of the files in /etc/grub.d/. Reinstalled grub-common and grub-pc didn't seem to restore the files. I ended up having to download the dpkg, expand it and copy the files manually so I could get the box generate grub.conf and boot up. I think grub may have been broken before the upgrade but exhibited the problem when it upgraded the kernel and reran upgrade-grub but I can't seem to figure out why reinstalling grub doesn't add the files back.
I installed UEFI Ubuntu 10.10. Its grub2 version is 1.98. I want to upgrade it to 1.99.I try to use 'grub-install' and 'grub-setup' commands but I faild to upgrade the grub2.
And, when I add my ram to 4G, the system hangs and displays 'Not syncing: VFS: Unable to mount root fs on unknow-block(1,0)'
i havent really had a chance to ask this for a while, but im in a bit of a bind. im trying to do a release upgrade of 9.04 through to 10.10. I'm stuck at getting karmic to reboot because of a grub problem. I keep getting "error 15" file not found. Not one single forum post has helped for some reason which is strange. Release upgrades have always worked even though not recommended, but this one of all has been the worst of the lot and totally insane.
Im testing in a vmware before i do this for real on the production server, I am using a raid1 setup and boot partitions set to md0.
my fstab after the upgrade before i reboot looked like this
# / was on /dev/md1 during installation UUID=######################## / reiserfs relatime 0 1 # /boot was on /dev/md0 during installation
[Code]....
I tried to first install grub2, i confirmed it installed and worked perfect, and therefore removed grub legacy.
Ran do-release-upgrade , it completely uninstalled grub2, and it also fails at building /initrd.img-2.6.31-22-server and adding into the grub menu therefore the upgrade fails with this error. I reinstalled grub2, the menu came up fine but trying to load a kernel gave me something like
alert ! /dev/disk/by-uid/############## does not exist.
What is the go with this ? Ive been trying to make this work off and on for 6 months
I've currently got a dual-boot setup with Vista and 10.10 (using grub2 on MBR).I'm about to install Windows 7 and would like for a change to use the Windows bootloader. I currently have a separate /boot partition and believe I can install grub2 there so that I can chainload it using EasyBCD.
I'd like to do this from my running system as I don't have a spare USB drive right now. confirm the command I should use baring in mind the separate /boot.If I have to wait and do it from the Live CD - is the command to use any different? FYI here is my current layout:
Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_root-root 37735960 15719388 20099644 44% / none 1023876 316 1023560 1% /dev
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 recently installed the Maverick backport kernel (2.6.35 - from the lucid-updates/main repo) and while I was at it I also manually (through synaptic) got rid of some old kernels. I made sure that I kept the current Lucid kernel though (that was working fine). All seemed well (although I didn't actually check - just no errors) so I rebooted.On reboot I have lost all my Ubuntu kernel options!
jed@lightning:/boot$ ls abi-2.6.32-31-generic memtest86+.bin abi-2.6.32-32-generic System.map-2.6.32-31-generic
[code]....
Even reinstalled burg (used to use it but it got broken by a kernel update long ago and never bothered to fix it as I only use Linux these days anyway)Funny thing is that BURG finds the kernels and reports no problem, but then drops to the grub-error prompt on boot.
I've got an OLD computer I'm using as a server, the thing does not support ACPI, so we're in APM-land. The thing works fine w/ Debian Lenny. I have apmd installed and my /etc/modules file has an apm entry in it. It does a powerdown and everything is happy. I don't even need to add an apm entry on the kernel line in my menu.lst file. Then I decide to upgrade the box to the testing (squeeze) branch, making the appropriate additions to my sources.list file.
And everything goes to hell with apm. I don't know if it's GRUB2 (grub-pc) or not, all I know is that I can't get a powerdown on the machine. I've done a reinstall, via a netinstall CD, twice to verify this behavior. I can't find squat via Google on this other than someone else mentioning that the upgrade to GRUB2 killed apm. While I can just reach over and hold the power button for a few seconds to get a powerdown, I assume that every problem is solved by a simple entry in a config file.
yestoday,after I upgrade,unable to boot windows xp. if I use grub ,windows xp can boot up.but now I want to use grub2, boot info script's results.txt is at below.
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary: => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #6 for /boot/grub. sda1: File system: vfat Boot sector type: Fat16 Boot sector info: No errors found in the Boot Parameter Block.
I have a Debian Lenny box with two hard drives in it (no dual boot; /home and /var are on the second drive). This machine was working fine until earlier this week when I ran an upgrade and restarted it. I think during this upgrade Grub got upgraded to Grub2, and now when I try to reboot I just get this:
Code:
GRUB Read Error
Hitting Enter yields Operating System Not found. This is it, I can't get into the grub screen to enter the boot command or anything. I booted the machine into the rescue environment on the Install CD, and was able to mount all the file systems and chroot in. I tried reinstalling grub2, but this did not help. I ran fsck on my /boot file system, but it appears fine. The boot partition is also marked with a bootable flag in fdisk. I did try to downgrade back to grub1.5 which, while it didn't given an error did hang shortly after it loaded.
Immediately after the grub menu disappears I get the following error msg: Error 18 Selected cylinder exceeds maximum supported by BIOS. Sometimes the grub options come up again (in Text mode) ...all works fine Sometimes just start via "Failsafe", reboot...all works fine. What is happening here and what would be the right procedure to avoid this happening again.
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
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)?
In general I love Ubuntu Karmic, and think it's the most polished Gnome distro out there, but since installing it on my laptop alongside Fedora I haven't been able to boot into the latter.
I know that I could fix it by adding an entry into the 40_custom file, but wonder if there's a simpler fix.
The command Quote:
sudo update-grub
actually finds and lists the Fedora Constantine kernel, but it still doesn't appear in the bootloader menu. Before I delve around and break something, does this mean that there's a line commented out in one of the config files?
I'm not going to slag off Grub 2 because I can see that it has clear benefits, especially for power users, and I don't mind change if it brings clear benefits. So long, /boot/grub/menu.lst.
I have been working on this for a week now, and I am still getting an error on boot up from GRUB 2.
It tells me "ALERT!! /dev/sda5 not found" basically. I've tried purging and reinstalling GRUB 2 (from within Ubuntu and from a Live CD) to no avail. I never had any boot problems running karmic (9.10); these problems appeared and have persisted upon upgrading to lucid (10.4, which included upgrading from GRUB Legacy, I believe), and then on to maverick (10.10).
This error takes about 20-30sec to crop up in the boot sequence, and then I am given an "(initram)" prompt. If I wait a few seconds and then type "exit," the system boots up quickly with no problems (aside from issues w/ plymouth, but that's for another thread).
I have included the "Results.txt" file generated by boot_info_script.
Code: Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for (,msdos1)/grub.
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.
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,
I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root What I dont know is how.
In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)
I tried this way:
Code: title grub2 find --set-root /boot/grub/core.img kernel /boot/grub/core.img
I keep getting the following msg as I try to upgrade from 10.04 -> 10.10 ... "Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. This can be caused by:
* Upgrading to a pre-release version of Ubuntu * Running the current pre-release version of Ubuntu * Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report." I don't think any of the issues above apply - can anyone offer advice on how to get around or "force " the upgrade