I have a 2 hard drive laptop. I have Mac OSX on /dev/sda and 64 bit Ubuntu on /dev/sdb. (I did have 32 bit Ubuntu on /dev/sda as well, but I have deleted that). So with the intention of deleting the 32 bit version and to make sure the 64 bit version on sdb still booted I re-installed grub2 to sdb before I deleted the 32 bit installation from sda. Sadly it wouldn't boot. It gave me the "no such partition - grub rescue" message. So I booted up the live cd and re-installed grub2 to sdb again, just to make sure. It ran ok but on reboot got the same message as before.So I booted up the live cd again and installed grub2 to sda and now it boots fine.I presume that the bios is looking at the first hard drive and if it finds nothing there it just gives up - not looking at the second drive at all. Is this normal on a 2 drive system? Unfortunately as it's a Sony Vaio the bios is almost completely locked so I suspect I cannot change it.
I am trying to dual-boot windows xp and ubuntu 8.04LTS from two separate hard drives, on a compaq d510 evo SFF. With research, the best way to do that seemed to be to upgrade to Grub 2 and all would be well...not so much. I installed each OS with the other hard drive removed, fyi. I believe that this tells me that I SHOULD be able to boot off either drive, if I could get Grub 2 to recognize...
Code: steve@Stewie:~$ sudo fdisk -l Disk /dev/sda: 40.0 GB, 40060403712 bytes 255 heads, 63 sectors/track, 4870 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb788b788 .....
Code: steve@Stewie:~$ sudo update-grub Updating /boot/grub/grub.cfg ... Found linux image: /boot/vmlinuz-2.6.24-27-generic Found initrd image: /boot/initrd.img-2.6.24-27-generic Found linux image: /boot/vmlinuz-2.6.24-26-generic Found initrd image: /boot/initrd.img-2.6.24-26-generic Found memtest86+ image: /boot/memtest86+.bin done
I have also tried adding the proper code to the 40 custom file, and while I could at least get it to acknowledge my changes, I couldn't seem to find the magic code to get it right.... The other thing I tried was adding GRUB_DISABLE_OS_PROBER=false to /etc/default/grub and last but not least, here is my results.txt from the boot info script. I also tried uninstalling/reinstalling grub 2, perhaps I created issues there?
Code: Boot Info Script 0.55 dated February 15th, 2010 Boot Info Summary: => No known boot loader is installed in the MBR of /dev/sda => Windows is installed in the MBR of /dev/sdb
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.
Since last last week i've installed Windows 7 and OpenSuSe 11.2 linux several time in my laptop. Each time i do something and Linux boot menu disappears and i again install both operating system. I have installed linux for the first time 6 days before in my life.
I am trying to live without windows. I know i can't for more few months as there is problem in every step for me.
Now i have both os running perfectly and boot menu appearing perfectly.
There are 3 partitions in FAT32 created while installing linux for Windows files. Now i want to change it in to NTFS. All drive are empty.
##1 Is it ok if i reformat it in windows 7 and change to NTFS?
##2 Does it creates problem in GRUB boot menu?
##3 Is there any way to do this from Linux without any problem?
##4 Is there any way to change FAT32 into NTFS without affecting GRUB?
I'm tired by installing again and again. I don't want any more trouble for next 1 month.
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)?
I've set up a triple boot system (Ubuntu Karmic, Windows Vista and OSX86 -- a patched OS X which works on a PC) on a Dell 9200 (C2D 2.13 GHz, 4GB RAM, nVidia G210). I sue Grub2 as the bootloader and update-grub picks up OS X and it boots without any problem.
However, although when booting OS X using its own Darwin bootloader, I can apply the boot option "Graphics Mode"="1680x1050x32" to ensure that I get the screen resolution that I want, when OS X boots from Grub2, the only resolution available is 1024x768 which is disappointing. I have tried adding gfxmode=1650x1050x32 to the OS X section of /boot/grub/grub.cfg in Ubuntu but this does nothing.
I had Windows 7 installed on my system, then I installed Debian testing with grub2 as its boot manager.Initially I couldn't see windows entry in grub at all, so I ran:aptitude install os-prober kcpuload update-grub Now I can see the entry, but when I select it I get only Win7 system restore, instead of the the real thing. Any ides how to make it work?
EDIT: I tried the suggested approach to add a new file to /etc/grub.d, which generated an entry in grub.cfg, but it does not appear in the grub menu on boot :(
I have this: grzes:/home/ga# cat /etc/grub.d/11_Windows #! /bin/sh -e echo Adding Windows >&2 cat << EOF menuentry "Windows 7″ {
I'm using debian testing with grub2. Is there a way to stop the FS check at boot (something like ctrl-c) after the check has started and continue with the boot process as usual?.
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.
I have a win7/10.10 dual-boot set up, more or less following the lifehacker.com tutorial (I know, I know). I had to reinstall windows, and its taken over the MBR so that only win7 boots now. My shared drive and the ubuntu filesystem are still there, I just can't get to them without a boot cd. So, I tried to follow the tutorials, which all basically say to reinstall grub or grub2. I tried one method, but ubuntu told me that installing grub2 anywhere but the MBR was a bad idea
It's quite easy to change the default boot entry through etc/default/grub. However, this only allows for the first entry to be changed. I want to be able to move all the entries in any order I like. What is the best/easiest way to do this?
i've started off using linux with ubuntu 10.10, and then i moved to linux mint 10 kde, and after finding out that it didn't support my hardware, in specifically my graphics card, i switched back to ubuntu 10.10, and from there i upgraded to 11.04. i hated the gui so i switched it from ubuntu to ubuntu (classic) environment. i also installed kubuntu-desktop too, and it looks a lot like mint 10 kde, i guess it uses kde 4.6, but... it's more stable for me. anyway, what i mean is that, originally ubuntu had a black background, linux mint 10 kde had a pretty cool custom mint background, ubuntu 11.04 has a purple background. i looked on videos, i found people using customized backgrounds, but they either don't explain how they got it *like for instance, someone said opensuse 11 or 13 has an icy penguin animated background, and someone else had one that you could scroll through.* or it's too complicated or outdated. is there a simple way to change your grub2 boot loader background image?
After discovering that the "/boot" partition did not end on a cylinder boundary, I booted back up into the alternate cd, re-partitioned everything and re-installed.It worked fine after thatI can't seem to get Grub2 Installed.
upon adding the installed VL on the existing LILO.. (btw i have not installed its LILO on the installation setup) since i know that i will just add it to the "existing" LILO the error above arises upon doing the lilo run command.$adding Vector6.0 etc.FATAL : Boot sector of /dev/hdc13 doesn't have a boot signature.i have tagged the /dev/hdc13 bootable via CFDISK. but same problem arises..
I'm playing with my hard drive partitions and trying out different O/S versions so I want Grub2 to be aware of them on its boot menu. Currently I'm using the maintainer's version of Grub2 that came with karmic. Do I have to do a re-install of Grub2 or is there a makefile I can use? Specific commands that I would need be nice.
I'm trying to find out which partition grub2 is installed in. Is there a command for this, as I suspect that I may have told it to install to the wrong partition during the upgrade from Karmic to Lucid, and now, I suspect that I've crippled the boot sector for my vista installation
I recently downloaded grub2 source code for my F13 installation and it compiled and installed perfectly, but when I rebooted nothing had happened and grub was still version .97. Is there something I didn't do?
Is there a way to install grub2 from a linux live cd when linux isn't installed on any of the partitions? I'm setting up a multiboot partition for someone and I don't want to install linux anywhere on the computer since hard drive space is running short.
I am going to setup a new Ubuntu 10.04 using RAID 1 soon. Installation will be via the alternate CD. Older distributions required manually installing Grub to the second drive, to boot if the first drive fails. I found different statements about how this is handled since 9.10.e.g.
Quote:
Install GRUB boot-loader on second drive (this step is not need if you use Ubuntu 9.10)
or
Quote:
installing GRUB to second hard drive depending on your distribution
> grub-install /dev/md0 or > grub-install /dev/sda > grub-install /dev/sdb
is Grub2 automatically installed in all RAID drives using alternate CD 10.04 like executing sort of "grub-nstall /dev/md0" during the installation ?
I recently got a netbook and setup as dual boot between win7 starter and 9.10 (64bit). Win 7 starter is not impressive so i want to nuke it and give the space all to my /USR partion. I am comfortable working with Gparted and assume that i can launch using my gparted live usb and delete the windows partion and then resize the /usr partion.
what changes do i need to make w/ Grub2? I would prefer not to see the Grub menu at all and have it load right the main kernel if possible. Also, if this is possible is there a way to get to the Grub menu during boot should i need to select a different kernel?
After installing karmic with Grub2 I am unable to boot into Archlinux partition. Grub2 has removed the last line of the Archlinux boot stanza! It used to read:-
[Code]....
Following the Grub2 tutorials I have tried editing /etc/grub.d/40_custom as follows:-
[Code]....
But no luck. Only way into Archlinux is to get into the edit shell and manually add the missing line and remove other stuff not needed. I have spent hours trying to resolve this issue and I am fairly p----d off
I was yesterday evening experimenting inserting a script into /boot/grub/grub.cfg. Well I broke grub.cfg and had to try to boot from a grub2 prompt.I have separate /boot and / partitions on /dev/sda1 and /dev/sda2 respectively.Working out the correct syntax for the boot to work was a little complicated, so I thought it would be useful to post the correct procedure here, in case anyone else has the same set up that I do (separate /boot and / partitions)At the grub prompt code:
grub> set prefix=(hd0,1)/grub grub> insmod linux grub> set root=(hd0,2)
I'm as big a fan of Linux as Linus Torvalds himself but it's things like this that help to keep Linux from becoming mainstream. I mean, how would I ever explain the need for the following procedure to a non-techie type, recent or prospective Ubuntu convert? The following is not a question, as I have finally resolved the issue but is more of a rant, I guess you could say. The reasons that I decided to post it are:
1) To hopefully help someone else experiencing this issue.
2) To point out the need for significant improvement in the area of editing partitions under Ubuntu Linux. 3) To vent my spleen.
I have a laptop with Windows XP. I partitioned the drive and installed opensolaris on the second partition. Now whenever I turn on the laptop, Grub opens and only gives me the option for Solaris and not windows. I haven't been able to boot to Windows since. I've seen a lot about editing the command lines for Grub but I'm new to this.
I initially had Red Hat 5 on my pc on my primary 40 hard drive, then i added a second hard drive as a secondary master and went on to install suse on it, now when suse boots it doesn't even give me the option to boot red hat, i did not touch any of the partitions on the red hat hard drive during the suse installation. Is there hope ???