This passed weekend I decided to upgrade the household server. I found cheap 2 TB disks on sale, so I got 4 of them, and began the upgrade. All went well, I used dd to copy the LVM pv to a new disk, removed the old disks, setup the array in degraded mode, evacuated the copy volume, and added it into the array.... then reused the old disks in new desktops. (well all good after I turned on virtualization in the bios)... all except grub.
I setup a raid 1 array for the /boot partitions. So far so good... but I boot and it sees the grub MBR, I know this because it dumps me into the grub> shell. Now comes the weird part... I can boot it just fine by doing a cat /grub/menu.lst and then using the lines in there to boot it:
[Code]...
That works fine, but, when I reboot, no menu. I am perplexed. I copied /boot with tar (mounted the mirror on /mnt and did a "tar cf - | (cd /mnt; tar xvf -)", I ran grub-install, and update-grub, both a few times. I even dropped into the grub shell and had it setup each of the 4 disks in turn (I wanted to do that anyway, since I do really need to be able to boot from any of them... I guess I should have entries for them in menu.lst too... but one problem at a time...)
I am trying to make a clean install of linux on three new 500G HDs. Because the last failure caused loss of my wife's pictures, I'm in the dog house. I know, I know. Back-up, back-up, back-up.I'm trying to set up a Raid 5 as partial insurance against disk failure (along with a frequent back up schedule). A friend suggested that I put 4-5 partitions in the raid array to aid in recovery if a disk fails (/boot, /, /var, /home, and swap). I know that swap doesn't get 'raided'. I've looked at 50+ tutorials on how to set up raid5 from a clean install and after installing the whole system. Nothing has helped or even addressed this issue so far.
Problem is that I have now tried installing 4 different flavors of linux (Ubuntu, Mint, and a couple of distros of Fedora) with the custom disk partitioning as mentioned above. I've tried installing grub on the MBR and the first partition (/boot). I've ensured that it pointed to the correct partition to find the kernel (/). I've tried everything that I can think of, and at every reboot, I get dumped to the grub CLI after bios post, regardless of distro. I cannot get the system to load the kernel.
I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.
I tried to install Open Office following a guide in OpenOffice.org but after several attempts debian refused to boot properly. I decided to re-install Debian 5.0. When we came to the installation of the boot loader GRUB refused to be installed. I stopped the installation expecting to go back to the beginning. But now it tries to boot saying:Grub loading stage 1.5.
Grub loading, please wait... Error 15
This is an old Toshiba 3110 with Windows 98SE installed which I have successfully customized and do not want to loose. What can I do to get back into W98SE and then re-install Debian properly?
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
I would like to know if there is any differences on how to install and to configure GRUB 2 in the different architectures (BIOS/IBM PC-Compatibles, EFI/MacIntel and Corebbot)? Does the Ubuntu installer automatically recognize the different architectures and install the appropriate GRUB 2 package ('grub-pc', 'grub-efi' or 'grub-coreboot' according to the arch)? Or does it just install 'grub-pc'? Is the location of GRUB 2's configuration files different depending on the arch of the computer? Or are they all located in '/boot/grub/', '/etc/grub/default' and '/etc/grub.d/', no matter the arch of the computer? Are the files' structure and options to configure GRUB 2 ('/etc/grub/default' and the scripts in '/etc/grub.d/') different depending on the arch of the computer?
I have XP and win 7. I want to triple boot with Debian.When I install, grub finds win 7 and XP and says everything should be fine, but then when I boot, only debian appears.This was fixed by doing update-grub2 after logging in.Now, I have win 7 bootloader as an option. However, when I boot into XP, and then reboot, grub disappers. he screen just says welcome to grub and then a blinking cursor.
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.
I'm just slightly confused here, but... what the? Why does installing grub-doc remove BOTH grub-pc, and grub-common? So basically it seems like by installing grub-doc, I have uninstalled grub totally (yes, it is still there as the bootloader, but i have no way of updating it now!) from my system. What's the conflict between grub-doc and grub-pc, such that grub-pc has to be removed?
When I try and boot my Debian computer I get the messages: Grub Loading stage1.5. Grub loading, please wait... Error 15 Is there any way of recovering from this - or is it simply a fresh install? I was attempting an upgrade from Lenny to Squeeze and despite a few hurdles it looked like it was all happening. Got the new kernel loading, and the new grub. It looked as though grub2 was working so I ran the grub-remove-legacy-support command (something like that) and now my computer won't boot grub or Linux.
I'm assuming the MBR on my harddrive is lost, however I don't know what state the partition is in. I'm guessing that maybe this has been lost as well. I tried a few tools from the Ultimate Boot CD but nothing here was able to re-install my grub or boot from any partition or even mount my file-system. I'm fearing the worst but would like it confirmed before I blow it all away with a new install.
I have an old BIOS (only 149 GB detected in 160 GB drive). I have installed very few OS as a result - Windows in first 80 GB , 2 distros (20 GB each) in next 40 MB which is within the 149 GB. On issue of "update-grub" grub seems to detect all OS and generates grub.cfg. But on boot , one distro does not appear in the menu.
So here is my situation..i was using win 7 and ubuntu 10.10 in my dell studio 1555. and i wanted to try out debian so i installed debian in my pendrive. so the grub was modified. when the computer starts it shows debian,ubuntu and win7 no problem.. but if i remove the pendrive, nothing comes up. it shows grub rescue>..
so now i cant start up unless i plug in the pendrive. what to do now to solve this problem?? i want to restore my grub to the previos state.
since i have installed the nvidia drivers i have lost the graphical boot and just had a bar at the bottom of the screen instead. i tried to get the graphical screen back by adding vga=795 to my /boot/grub/grub.conf but when i rebooted not only did i not get the graphical boot or the toolbar at bottom.
i got list of all the drivers and services it is starting with ok next to it. i have also since doing this lost the bit when restarting or shutting down getting the words restarting or shutting down and just get blank screen with flashing cursor. i removed the vga=795 and i still get the list of drivers/services loading.
how do i get the quiet option back. i have checked /boot/grub/grub.conf and it has the quiet in it.i have also tried running update-grub but get message command not found. i have attached the grub.conf file
I created a new partition in Windows Vista which, after rebooting, screwed up Grub. I believe that I need to reinstall Grub and everything should be fine, and I remember reading the command to do this on this forum, but I can't find it. When I boot, I now get a black screen with white letters instead of the Grub boot menu. It says something about "Minimal Grub" at the top and gives me a prompt that looks like this.
grub>
I can boot the live CD and I have internet access with it, but I can not remember the terminal command to repair Grub. Can someone tell me this command?
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
I've been running openSuse 11.2 for a while on my notebook.Today I turned it off at work and came home. When I tried to turn it on, it boots, shows a black screen written 'GRUB' and then NOTHING. It doesn't complete the boot process.
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?
I was unaware of the difficulties of installing and booting Ubuntu from the "onboard raid" that the NVIDIA nForce chipsets provide. However, I've managed to get it working reliably with one single caveat:
When update-grub builds the grub.cfg, it refers to all of my partitions as follows:
Code: menuentry 'Ubuntu, with Linux 2.6.35-27-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(/dev/mapper/nvidia_caifaefg,msdos5)'
[Code]...
So I'm guessing that the whole nvidia_blah,msdos5 is because of that. However, it doesn't seem to explain why Grub would THINK that would work and it in fact does not work. That's the biggest source of confusion on my part.
My questions are as follows: First off, because as an IT person I want to know: Why does this sort of change work? What does changing that device name change in GRUB's behavior? Is there a setting in /etc/default/grub that would change the way it's naming these RAID devices? Is there a value for this setting that would give me the device names that work, as explained above?
If there is no setting change I can make in /etc/default/grub, could I add a sed command on to the end of update-grub or can I make a modification to one of the scripts in /etc/grub.d? What sort of change would be recommended? How would I preserve this change through later package upgrades that would possibly rewrite these files?
I've got myself the curious situation where, when I boot the system, I can get grub to start, but it always drops to the prompt.
I can run:configfile /grub/menu.lst
and this brings up the menu with no problems, and from there I can boot the system to either linux or windows. What I don't understand is why it wont go to the menu in the first place?As far as I can tell, grub/Kubuntu got confused when installing, as each of the hd#,# settings in the menu.lst have needed tweaking to let the system boot. (e.g. windows is actually hd0, but the original install had it at hd2. Likewise linux is on hd1, but the menu.lst had it at hd0). I've happily tweaked these to make the system boot, but would appreciate any help in convincing grub to actually load the menu without me having to use the prompt.
A failed upgrade, from disk images, of Fedora 10 to 11 resulted in no GRUB bootloader main menu appearing on bootup (no WIN, no LINUX choices from which to boot). I am booted directly into the GRUB command shell...so, no WIN, no LINUX, nothing. And my understanding of GRUB shell commands is very low.I have 2 hard disks, WIN on the first, LINUX on the second. I believe GRUB Bootloader is on the first disk.Sadly, I have no external install media.An old grub.conf hardcopy indicates that root =/dev/sdb2, root (hd1,0), kernel /vmlinuz....olderversion...(relative to /boot),initrd /initrd...olderversion... (relative to boot). and WINDOWS on (hd0,1), with chainloader +1
I need to somehow get past this grub shell, and re-install/re-instate the grub bootloader, so it can boot normally.What grub command(s) must I use? I've played around with the commands, but with no success.I worry that if I can't resolve this, the whole machine may be useless.
I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.
After "fdisk -l",
I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?
I have used CentOS for a while and have never run into this issue. I searched all over and didn't see a similar issue anywhere, I did an install of CentOS as a server (no GUI) with only the base. Partition is /boot ext3, size of 100MB. The rest of the drive is partitioned as / with ext3. This is being done on a CompactFlash card of 32GB in size. The BIOS sees it as an IDE drive.
When the install completes and the system reboots, the grub stops at the grub> prompt. There is no menu for OS options. If I do the following commands: grub>root (hd0,0) grub>kernel /vmlinuz-2.6.18-194.el5 root=LABEL=/ grub>initrd /initrd-2.6.18-194.el5.img grub>boot
I am trying to install my laptop in a triple-boot configuration with Fedora 10, Windows XP and Windows 7 beta. I did already installed them in that order. This is how it is layed out on the harddisk:
Now i want to use grub to present a menu at boot so i can select an OS. Because I installed XP last it boots straight into XP. I've understood i should be able to do the following:
All goes well until the last step (grub-install). It gives an error stating that /dev/sda doesn't exist, which is correct; It doesn't. I do have the "device" listed outside of the chrooted environment.
My question is: How do I get /dev/sda available in my chrooted environment?
I've trawled the internet but can't seem to find the exact same issue, so I've made a new thread. So, I installed Ubuntu onto a 160gb drive. I have other drives in the system, but I disconnected them so that the system drive would be sda. Ubuntu installed perfectly with no issues whatsoever. I connected the other drives in the system, and again it booted up perfectly (although I can't remember whether the 160gb drive remained as sda or became sdd). Then I attached some extra drives temporarily to do some data shuffling.
This moved my system drive to become sdf. My computer booted fine multiple times like this, but when I was finished with the drives I rebooted and suddenly everything broke. For some reason my ubuntu installation showed up in the GRUB twice, and neither of them booted. So, I popped in the Live CD (which I'm using to type this post), and decided to update the grub. I chrooted into my system drive and ran update-grub, but it simply returned something like this:
The first is I seem to have 3 GRUB installs. So whilst I update the one from my live session, the change does not appear in the boot up menu. I had installed 10.10 from a CD into a different partition (sda6), but that will not boot, so I have just deleted this and done another grub install and update. The kernel I am using has just been updated from 10.04 to 10.10 too, and it is this that I use and the Grub I have been working on (sda5).
I gave sda1-2 for windows and sda 3-4-5 on an extended partition for my linux OS. I installed ubuntu on sda 7 (when I go into disk utilities it shows up as sda 7 idk why) alongside another ubuntu on sda 5 ( EXTENDEDPARTITION : sda 5-6-7 ) so I could remove mandriva bootloader.Since I did, I removed ubuntu (sda 7) since it wasn't necessary but after it gave me the grub file not found.Obviously yes, since GRUB was installed from sda 7 but i have another grub.conf on sda 5 and I would like to know how to change the path of the grub reader to sda 5? or must I install all over again de grub loader?
My Server runs "fine", then I type init 6 for rebooting or some cron job initiates Init 6 and my system stops in grub at: GRUB loading stage1.5. Error 18 After another Ctrl+Alt+Del the system boots as if anything happened. this is why I doubt that it's an issue of too big HDD or BIOS.
So I have 2 ide hdds but whenever they are both connected, grub gets stuck at GRUB loading stage 1.5. how can I resolve this problem? both are Maxtors with ext4 fs. primary is 20 gb and secondary 80 gb. Jumpers are set to cable select. Boot order in bios is correct. (primary first, secondary isn't in the list at all)
I started another thread about this to get help booting into openSUSE after Fedora rewrote my bootloader and deleted all other entries. I managed to fix it but I never did find out why the following commands caused my system to boot to the grub shell instead of the grub menu.
Code: grub root (hd0,3) setup (hd0) quit reboot
Can anyone explain to me why these commands caused my system to boot directly to a grub shell? It's as if there were no /boot/grub/menu.lst files for it to use, but after I got everything back to normal, the files were still there.
If it helps, this is how the drive was setup before and now, except Fedora was on /dev/sda4 and has since been deleted.
Code: Device Boot Start End Blocks Id System /dev/sda1 1 262 2104483+ 82 Linux swap / Solaris /dev/sda2 263 13316 104856255 83 Linux /dev/sda3 * 13317 14621 10482412+ 83 Linux