Debian :: What I Can Do To Either Get Grub Or Grub2 To Work?

Mar 26, 2010

i am running lenny. and at some point my grub started exibiting a strange problem. Grub will not display all the kernels that it finds, it only displays 2 of them out of the 5 grub was finding.the system is working and boots just fine.

I attempted to install GRUB2 which went ok. since my system booted ok i removed GRUB that operation was sucessful and it deleted all the grub files that were not needed.but my system is still booting into grub with the same 2 kernels.Could someone tell me what i can do to either get grub or grub2 to work?

View 9 Replies


ADVERTISEMENT

Debian :: Rolling Grub2 Back To Grub On Jessie (8)

Sep 2, 2015

I'm trying to run 'grub-install /dev/sda', it stays stuck on 'Searching for GRUB installation directory ... found: /boot/grub' after leaving it for an hour, nothing happens. I have tried removing all Grub related packages and installing grub-legacy several times, to no avail.

The machine is quite an old one and is an offline sandbox for a friends kid who likes to tinker with older OSes. The hard disk has failed in it so I have donated an old drive to get the machine back up and running for him, as the menu.lst is a lot easier to modify than the newer grub.cfg, he would like the older grub back.

I've done a few searches particular for Debian 8, but the closest I can find is for Ubuntu here, [URL] ....

I have tried to use both the grub rescue disk and the command line listed in the link above.

View 2 Replies View Related

Debian Installation :: Super Grub2 Will Work After Vista Reinstall

Mar 16, 2011

I have a dual boot system. I need dual boot as my dictation software is only available for Windows. In the future I am going to try a virtual machine, but dictation and audio did not work properly the last time I tried in VM. But unfortunately for now I have a dual boot machine with Vista and Debian 6. Unfortunately, I am going to have to reinstall Vista. Or to be more accurate I'm going to install the 64-bit version instead of the 32 bit that came with the computer. I have the 64-bit version that I no longer use from one of my other computers.

Anyway, I have to install Windows which will overwrite my grub2. Is there anyway I can make a backup or reinstall grub2 after I install Windows. I really don't want to reinstall Debian 6 squeeze. Can they make some sort of a backup of gurb2 before I do this. I checked out the Internet and I found something called Super Grub2. It apparently will allow me to boot back into Debain 6 so that I can install grub2 again. Assuming, Super Grub2 even works then how do I reinstall grub2 once a boot into Debian 6? Has anybody tried Super grub2, does it work? It's kind of hard to test it, with a working version of grub2.

View 3 Replies View Related

Software :: GRUB2 - Autoprobe "update Grub" Grub Seems To Detect All OS And Generates Grub.cfg

Feb 28, 2011

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.

View 3 Replies View Related

Debian :: Grub Does Not Work - Encrypted LVM

Jun 3, 2015

I have a problem with my debian install. I 've got a laptop with 3 OS:

First I installed windows.

Then I installed ubuntu 15.04 in an encrypted partition, and another partition with /boot (/dev/sda6) created when I installed Ubuntu.

And, finally I installed Debian 8 in an encrypted LVM (/dev/sda8) with 3 partitions (/, /home and swap), and a /boot (/dev/sda7) partition created when I installed Debian.

Needless to say that both /boot partitions are not encrypted

Previously I had a similar configuration with ubuntu 14.04 and Debian wheezy.

The problem is that I can't start the system by using the Debian grub (/dev/sda7). So Ihave to boot the system using Ubuntu's grub (/dev/sa6). The second part of the problem is that when I boot Debian using /dev/sda6 (ubuntu's grub) , plymouth does not work.

I tried purging grub and reinstalling it again with the ubuntu partition mounted, and it did not work.

I did not have this problem with my previous configuration (with wheezy and xubuntu 14.04) ...

View 8 Replies View Related

Ubuntu :: Grub2 Editing - Editing Directly To /boot/grub/grub.cfg?

Jun 6, 2010

I have an old laptop that I installed EasyPeasy Lucid on. I have never used Grub2 as my other Ubuntu installs still use Grub Legacy. I have studied all the tutorials which instruct that the grub.cfg file should not be edited directly.This old laptop has one of the dreaded Intel graphics chips for which the kernel automatically loads the i915 module. Of course (like a multitude of others with Intel graphics and Lucid) I booted into a black screen but knew the workaround was to enable mode setting through grubI used the

Code:
i915.modeset=1
and added it to /etc/default/grub line GRUB_CMDLINE_LINUX, just after "quite splash", just

[code]....

View 9 Replies View Related

Debian Installation :: Fresh RAID1 Wheezy Install - GRUB Just Does Not Work

Jul 26, 2014

I have a VIA Epia M 5000 system with 2 western digital 1TB NAS SATA drives connected through SATA<->IDE adapter. Everything installs and writes as expected except... grub. It never boots, after a message 'Grub loading' I always get 'error: no such disk'. I've tried numerous times and has been attemping to fix the issue for the past 2 days.

/dev/sda
0.999TB 0xfd linux raid autodetect partition
1GB 0xfd linux raid autodetect, logical partition

/dev/sdb exactly the same
0.999TB 0xfd linux raid autodetect partition
1GB 0xfd linux raid autodetect

/dev/md0
RAID1 of /dev/sda1 and /dev/sdb1
marked as ext4, boot point /

/dev/md1
RAID1 of /dev/sda5 and /dev/sdb5
marked as swap

update-grub2 in rescue mode generates grub.cfg with SET root=/mduuid/UUID_OF_SDA1
then after that there's search --no-floppy etc --set root=/mduuid/UUID_OF_MD0

I'm writing this from memory but simply the two uuids are different. Is this correct? I get those UUIDs to compare from blkid. All partitions are marked as bootable. grub-install /dev/sda and grub-install /dev/sdb produces no errors. grub-install /dev/md0 does not work, complains about superblocks or something similar.

Grub.cfg file contains insmod raid mdraid1x and similar lines, so that should be ok. Grub drops to rescue mode with message error: no such disk. Not device, but disk. Google finds many results for 'no such device' error, but I am not getting that error. 'ls' produces
(hd0) (hd0,msdos1) (hd1) (hd1,msdos1) ls ANY_VALID_PATH produces empty newline being printed, nothing more.

setting prefixes manually does not work, with error message 'error: file not found'. ls (hd0,msdos1)/boot/grub also produces empty line being printed. Rescue CD and auto-assemble of md0 and md1 works, the files are there, everything okay, except grub.

View 3 Replies View Related

Debian Installation :: GRUB Multi-boot Config Does Not Work On Physical Machines

Mar 26, 2016

I wrote a GRUB multi-boot configuration so I can boot multiple distributions and have storage space on one 32GB flash drive.

set imgdevpath="/dev/disk/by-label/multiboot"

Code: Select allmenuentry 'Debian Jessie amd64' {
        set isofile='/iso/debian-8.0.0-amd64-DVD-1.iso'
        loopback loop $isofile
        linux (loop)/install.amd/vmlinuz
        initrd (loop)/install.amd/initrd.gz
}

This works in virt-manager when I boot the physical usb device a virtual disk with a usb bus and it works flawlessly, but when I plug it into a physical machine the cdrom detects fails to mount /dev/sdb1 as fstype=iso9660.

View 14 Replies View Related

Fedora :: Chainloading Grub2 From Grub 1?

Feb 1, 2011

A little background: my primary install is fedora 9, I'm migrating to 14, and I need to change some partitioning (but not the F9, which is first on the drive). Because I installed a newer ubuntu a while back, I've been using ubuntu's grub2. That ubuntu partition needs to be moved, so I re-installed the grub 1 from F9 onto the MBR so the F9 doesn't depend on anything else.

This is when I learned grub 1 does not support booting ext4 partitions (which ubuntu uses). However, fedora claims that you can install grub 2 and have it chainloaded from grub 1, and in fact yum install adds a line to your existing grub 1 config to do so. That seemed like a nice solution since then all I would have to do is copy some grub.conf from the ubuntu partition into the F9 grub 2.

However, chainloading grub 2 does not seem to work very well. At all. I get to the grub 2 menu, but any option I choose -- including loading the F9 partition on which both grub 1 and 2 are installed, using the default config created by the installer, leads to an "unrecognized command" error, as if grub 1 was crapping out on a grub 2 config.

Anyone else had this problem? Better yet, has anyone done this successfully with any fedora version? I can backup ubuntu and copy it back in after I re-work my partitions, but while I'd prefer not to have to use grub 2 on the MBR, I'd still like to be able to boot ubuntu.

View 14 Replies View Related

Ubuntu :: Replacing Grub With Grub2?

Mar 24, 2010

I recently decided to try out Fedora 12 (which uses Grub, not Grub2) along side my Ubuntu 9.10 which does use Grub2, and Windows 7 (yuck). I would like to use Grub2 to boot (Fedora's Grub does not recognise my 9.10 install). I've searched for a way to simply remove Grub, but have only found ways to remove it by using "the Windows fix" (fdisk /mbr or something similar) which I do not want to do, and I do not want to modify Grub's menu.lst, I just want it gone and to install Grub2. I am most likely going to remove Fedora soon anyway.

View 9 Replies View Related

Ubuntu :: Replace Grub2 With Grub?

Jun 20, 2010

I have seen grub2 wreck the system console screen display, be dependant on files in /etc/default and /etc/grub.d and be exteamely hard to configure. Even worse Grub2 settings are distribution dependent and distribution specific.

Something single like vga=nnnn in grub2 involves something akin to these commands in grub2 "set gfxmode=1280x800 set gfxpayload=keep insmod gfxterm insmod vbe" and editing far too many files. I have a steady flickering screen loaded during boot because Ubuntu's usplash image is larger than 640x480 and the vga size is 640x480. Grub2 is reluctant to be anything but user friendly.

Practical question: Does anyone know of a guide that could change grub2 back into the useful and user friendly grub (menu.lst).

View 6 Replies View Related

Ubuntu :: Grub2 Took Over Grub Legacy?

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

Ubuntu :: Grub2 Not Reading Grub.cfg?

Jan 3, 2011

I installed grub2 into a usb flash drive, the system loads grub fine, but then dumps me to the grub> prompt.The only way i can get the system to continue on is to type inCode:configfile /boot/grub/grub.cfgdoes anyone know how to get grub to auto-load the grub.cfg file?

View 2 Replies View Related

General :: Chainloading With Grub And Grub2?

Dec 20, 2010

I multi-boot Windows XP and 5 Linux distros on a single hard drive. Some of the distros come and go but I keep at least two that are my daily use distros. My boot loader is grub1 located on a ext3 formatted distro. I have installed a distro that requests the partition be formatted ext4, which I did. I have been trying to edit my grub1 menu.lst so that I can chainload the ext4 distro get errors or it goes to the command line with the last word being Grub. My question is, can grub1 ext3 chainload a grub2 ext4 distro?

Here is a sample of my menu.lst
Code:
title MEPIS at sda7, newest kernel
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 nomce quiet splash vga=789
initrd /boot/initrd.img
boot

[Code]...

Mepis is the location of my menu.lst and is ext3 on sda7 and aptosid is the ext4 distro that I am trying to boot on sda9 and it uses grub2.

View 3 Replies View Related

Software :: Booting Grub2 From Grub?

Mar 30, 2011

My working OS uses grub, but I've just installed Sabayon 5.5, which uses grub2, on hda10. I want to keep using grub until I've got time to RTFM on grub2, so I installed the Sabayon bootloader on hda10. I should be able to point grub at the partition and boot indirectly, as with Windows, but after following the grub 'info' page I get an error message. Can anyone point to the error in the following grub script:

title hda10 110330 Sabayon 5.5
rootnoverify (hd0,9)
makeactive
chainloader +1

[Code]...

View 3 Replies View Related

Software :: Grub.cfg File In Grub2?

Jan 22, 2011

make working entries in grub.cfg. This is taken from Ubuntu 10.10 and despite the do not edit warning, I edited it with sudo gedit /boot/grub/cfg. My computer boots into every OS in the list.

# 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 16 Replies View Related

Ubuntu :: Way To Hide Grub Entries In Grub2?

Jan 8, 2011

I have been fooling around with some of the new kernels and have ended up with a lot of options in my grub at boot. I have been checking this page:[URL].. ... and it appears hiding the entries in grub2 is not as easy as hashing them out (#) which was the convention in grub.

My problem: I have installed kernel 2.6.36 and 2.6.37 just to fool around. Neither works in anything but low-graphics as it seems the ATI graphics driver is not working in either yet. They both also kill my wireless (don't recognise the card). BUT I don't want to completely uninstall them as I'd like to keep playing around as time goes on and they develop. I'd like to just hide them from the menu.

Is there some easy way of doing this? The link I provide only gives options to make the kernel non-executable (overly complicated process) or remove the kernel completely, neither of which I want to do. This used to be simple in grub, open a file and add or remove a #, and - although overall I prefer grub2 - IMHO this 'improvement' seems a little like a backward step. Sure a million people will disagree, but .

View 9 Replies View Related

Software :: Grub Adding Modules To Grub2?

Jul 22, 2010

I've noticed grub2 has modular structure. Is it possible to insert other Kernel modules into grub? Or can write my own modules to insert into grub?

View 1 Replies View Related

Software :: Grub2 Find The Grub.cfg File?

Mar 10, 2010

How does Grub2 find the grub.cfg file?

I have (among others) these partitions:
/dev/sda5 'newsys' - my current system partition (Ubuntu Karmic, 64-bit)
/dev/sda2 'oldsys' - the original system partition
/dev/sda1 'boot' - mounted at /boot when running 'newsys'

[Code]...

View 8 Replies View Related

Ubuntu Installation :: Grub2 On Usb Stick Don't Load Grub.cfg

Feb 7, 2010

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:

It seems not reding /boot/grub/grub.cfg

View 2 Replies View Related

Ubuntu :: Unable To Boot - Grub Vs Grub2 Page

Apr 20, 2010

I've been dual booting ubuntu and xp for about 2 months now. i booted this morning and all i get is this grub menu. i saw the grub vs. grub2 page but have no idea even where to start.

View 5 Replies View Related

Ubuntu Installation :: Tricking Old GRUB To Load GRUB2

Jun 8, 2010

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?

View 9 Replies View Related

Ubuntu Installation :: Grub2 Overwrite Grub On Upgrade From 8.04 To 10.4?

Jun 21, 2010

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.

View 1 Replies View Related

Ubuntu :: Grub2 Settings Not Retained - Reinstall Grub?

Aug 14, 2010

This is closely related to a recent thread of mine that I unfortunately marked as solved prematurely. I'll try to keep it brief this time. After editing partitions I was left with a boot problem, namely "error: no such partition" and I am dropped at the 'grub rescue>' prompt. I can issue the appropriate grub commands and successfully boot the current kernel. Once booted, I executed 'sudo update-grub' and then /boot/grub/grub.cfg was rewritten with all drive and partition references correct. Likewise, /etc/fstab is also correct.

The problem comes when I attempt to reboot. I still get the 'no such partition' message and the 'set' command reveals that grub is still trying to reference the old partition. I've never encountered this problem before under similar circumstances. I'm guessing that this info must be stored in the disk's MBR as well as in grub.cfg because that file looks completely correct. Am I going to have to reinstall grub now?

View 3 Replies View Related

Ubuntu :: Installing Without GRUB2 / Possible To Use The Original GRUB Bootloader?

Aug 31, 2010

I've had nothing but trouble with GRUB2. Is it possible to use the original GRUB bootloader?

View 3 Replies View Related

Ubuntu :: Uninstall GRUB2 At Grub Rescue Prompt

Oct 24, 2010

i am a newbie to linux and i am stuck at the GRUB rescue prompt at the startup.i have dual boot windows and Ubntu 10.04.I want to remove GRUB2 from Harddrive itself.can u suggest ant command on GRUUB recue prompt ?

View 5 Replies View Related

Ubuntu :: Grub2 - How To Remove Removed Kernels From Grub.cfg?

Nov 25, 2010

I followed the Grub 2 Basics steps to remove Grub 2 kernel listings.

However I'm stuck with 3 older versions that was completely_removed from Synaptic (kernel/headers/generic), but remain in grub.cfg.

Quote:

Here is my current grub.cfg:

(How do I remove *.14 *.21 *.22 from my menu entries Ubuntu-tweak is not an option for me. I like it old-school or with the tools at hand.)

Code:

I considered changing permissions for grub.cfg, but update-grub and new kernels will revert my changes.

View 3 Replies View Related

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)

[code]....

View 9 Replies View Related

General :: Creating A Grub2 Boot-cd With A (grub.cfg) Menu?

Sep 13, 2009

Here is how I created a Grub2 boot-cd with a (grub.cfg) menu:

mkdir /tmp/cdroot
mkdir /tmp/cdroot/boot
mkdir /tmp/cdroot/boot/grub
cp /boot/grub/grub.cfg /tmp/cdroot/boot/grub
cd /tmp

[code]....

NOTE: The above proceedure assumes you already have a grub.cfg file. If you don't, create one in the /tmp/cdroot/boot/grub directory

View 6 Replies View Related

General :: Grub2 Detects Mac OSX On Sdb But Doesn't Install It To Grub.cfg

Feb 13, 2010

Working on a quad boot system. Two Karmic installs (I find I tend to hork one every once in a while by playing too much, so having a backup around is nice), windows 7, and Snow Leopard. I got everything up and running, except I had Leopard installed instead of snow leopard. At that time, I had the following:

sda1->win 7
sda2->leopard
sda5->karmic 1
sda6->karmic 2
(others for swap / extended / etc)

Grub2 detected everything just fine, made a real nice grub.cfg file and away I went.Now, I've made a change. Snow Leopard required GUID partitions and I had my stuff all set up as MBR and was /not/ about to reformat and start over. So I added a second drive, sdb.

Now, I can boot to that drive independently. Fine.I can boot to sda just fine and go to either Ubuntu install or windows just fine. Great. Grub2 finds Mac OSX on /dev/sdb2. Awesome (sdb1 is a fat32 bootloader for hackintosh reasons). It not only doesn't update grub.cfg, it leaves the old /dev/sda2 listing for my old Leopard install ... whose partition I deleted. It isn't visible anymore.

Code:

> sudo update-grub
Generating grub.cfg ...
Found Debian background: radar.png

[code]....

But nothing after Ubuntu 9.10 on /dev/sda6 shows up in grub.cfg? I'm at a loss. Any ideas how to get it to populate? I'd rather not hack grub.cfg and have to rebuild it by hand every once in a while especially as grub was fine with finding it.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved