Ubuntu :: Unsatisfactory Characteristics Of GRUB 2?

Sep 13, 2010

Now that I've finally learned how to use GRUB along comes GRUB 2. From my vantage point the developers seem to have overlooked some basics. Possibly, hopefully, I just need someone to straighten me out. Therefore I make some observations and would be grateful for someone to point out how I'm wrong.

To begin with it seems natural that a boot loader ought not depend on being able to boot the system in order to configure the settings used for booting. This is especially true for one calling itself grand. As best I can tell GRUB (legacy that is) does accomplish this but I'm having my doubts about GRUB 2. For example, I use GRUB as a boot manager whose job it is to boot other OS's on the same computer. I want the boot manager to be out of site and out of mind (i.e., simple to update on the rare occasion when that might be needed).

Therefore, I install it in a tiny FAT/DOS partition that I always create at the beginning of any new drive. This allows me to create multiple other partitions used to boot different OSs (e.g., in my case several versions of Linux and Windows). This means that every partition that has an OS installed on it also has the necessary software for loading that OS. In the case of Ubuntu this had become GRUB and now is GRUB 2. An important point here is that I do not expect nor want any Ubuntu system to load/boot any system other than itself. Ubuntu (GRUB 2 if you prefer) seems to go to great lengths to find other systems and configure itself to boot them. If this were done via what GRUB calls chain-loading this wouldn't be to bad.

In that, it would fit my purpose pretty well. However, GRUB has this characteristic, that I find quite undesirable, where it may load a kernel and/or mount a root filesystem from a different partition than the one from which GRUB was loaded. When cloning systems it becomes very easy to ruin multiple systems (i.e., not just the one where you made a configuration error but other stable systems as well). While some folks may like this feature I argue that there is a need for an easy foolproof way to disable it. Better yet this should be the default and those that want additional sophistication should have to enable it intentionally.

Something that I do a lot is to clone systems. The purpose is to try new or different things on a new system such that you don't screw up something that is working good while you experiment. It also provides a good method of recovering form errors that you are having difficulty troubleshooting but you aren't quite ready to trash the system that is acting up. Unfortunately you cannot count on GRUB to leave a stable system alone. The Ubuntu technique for using UUID to identify partitions causes a very particular problem when trying to clone a system.

When a partition image is created it includes the UUID. This means that when you restore the image file to a different partition the cloned system partition has the same UUID as the original partition. I've been able to circumvent this problem by changing the UUID on a live system partition before restoring an image of it to another partition. To be sure this technique risks causing a boot problem where one didn't previously exist which to my way of thinking is also poor technique. To do this I have to be able to update the GRUB configuration before being able to boot the restored partition. There are various ways to do this that basically involve mounting the newly restored partition and editing menu.lst (or whatever file might be appropriate). However, what you very definitely cannot do is to depend on booting the system in order to run the update-grub script.

It seems that GRUB 2 intends that the /boot/grub/grub.cfg file should not be edited. It provides a means to add custom menu entries by editing files in /etc/grub.d. However, this technique also depends on being able to run update-grub which cannot be done until after you have a way to boot the system. As best I can tell my only alternative is to edit grub.cfg.

View 9 Replies


ADVERTISEMENT

Hardware :: OCR - Getting The Unsatisfactory Results

Jan 27, 2010

I have tested several software to use the OCR with my HP printer. Unfortunately the software that comes with it is only available for Mac OS and Windows. I said I installed several software without success.In my search I found that the Tesseract is better OCR application for Linux.He does not have a GUI, a graphical interface, but it is possible to be done by commands, which is very boring when you want to scan several pages.The results were very unsatisfactory, at least in my language "Portuguese", in a text with 1000 words he recognized only two or three which is very little, i text with several letters, magazines, books and folders.

View 2 Replies View Related

Software :: Cannot Get Video Input Characteristics

Jul 25, 2009

I have a SAA7134 capture card. It works well with tvtime and with mplayer. However with vlc I get no video output. I had to reinstall the whole system a few days ago and v4l2 in vlc was working before. I am not sure what changed in my system but I don't know of any serious change.

View 1 Replies View Related

Ubuntu :: Select Font Characteristics For The So-called MS Fonts (Arial) Instead Of The Menu Showing Bold And Italic

Mar 12, 2010

This is an interaction between OOo and the font package on Ubuntu, so I have searched both sets of forums fruitlessly. In Open Office when I go to select font characteristics for the so-called MS fonts (Arial for example) instead of the menu showing Bold and Italic, it shows "Negreta" and "Cursiva".

View 1 Replies View Related

OpenSUSE Install :: Changing The Font Characteristics (size, Colour) On Initial Login Screen (list Of Users)?

Nov 30, 2010

I'd like to change the font characteristics (size, colour) on initial login screen (list of users) however I cannot find the configuration options.

View 6 Replies View Related

Ubuntu :: GRUB 2 : Difference Between 'grub-pc', 'grub-efi' And 'grub-coreboot'?

Jan 6, 2010

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?

View 3 Replies View Related

General :: Edit Grub Menu From Initial Grub Screen - Possible To It's Own 'e' Option Or 'c' From Grub Command Line?

Nov 20, 2010

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?

View 4 Replies View Related

Ubuntu :: Why Does Installing Grub-doc Remove BOTH Grub-pc And Grub-common

Jan 3, 2010

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?

View 5 Replies View Related

Ubuntu :: Grub Update Error "update-grub Head: Cannot Open `/boot/grub/video.lst' For Reading: No Such File Or Directory"

Apr 7, 2010

after doing an upgrade to 10.4 and updating grub I get this message. how do I address this

[Code]...

View 2 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

Ubuntu :: Get The Version Of GRUB / GRUB-legacy To Boot Any Recent Windows 64 Beyond XP (Vista Or 7)

Dec 20, 2010

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?

View 9 Replies View Related

Ubuntu :: Booting From NForce FakeRAID - Hand Correct Grub.cfg After Update-grub?

Mar 5, 2011

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?

View 1 Replies View Related

Ubuntu :: Grub - Lost My Windows Partition - Can't Find Menu.lst In /boot/grub

Nov 1, 2010

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 ?

View 24 Replies View Related

Ubuntu :: Grub Messed Up - Error: Can't Find GRUB Drive For /sdd1

Jan 31, 2010

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:

[Code]....

View 7 Replies View Related

Ubuntu Installation :: Grub Errors - More Than 1 Grub - The Change Does Not Appear In The Boot Up Menu

Dec 22, 2010

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).

[Code]...

View 9 Replies View Related

Ubuntu :: GRUB File Not Found - Change The Path Of The Grub Reader To Sda 5 ?

Aug 15, 2010

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?

View 1 Replies View Related

Ubuntu Installation :: Grub Rescue Mode - Error: Cannot Find A Device For /boot/grub (is /dev Mounted?)

Dec 16, 2010

I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:

[Code]....

View 9 Replies View Related

Ubuntu Installation :: Boot/grub/win7 - Testdisk/update-grub Method, But It Didn't Work?

Mar 4, 2011

I have 2 hard disks. sda,sdb

In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].

In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.

I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD

Chose advanced istall

Selected sdb3 for Ubuntu

I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted

I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.

Boot Info:

Code:
Boot Info Script 0.55 dated February 15th, 2010 [code]....

ls: reading directory sda6/: Input/output error

I have tried the testdisk/update-grub method, but it didn't work.

View 9 Replies View Related

Ubuntu :: GRUB Loading ... Error: No Such Disk Grub Recover

Feb 9, 2010

I know nothing about this at all. I have never programmed a computer.. I loaned my tower to a friend who put this on ...now i have it back and cant get to my windows 98. all i get each time i boot is ...

GRUB loading ... error:no such disk grub recover>

I have tried ubuntu sec 8.4 recover mode and all i get is unreconized command.. i do not know how to set anything.. i have no disks for this not even the orginal windows recover disk.. is their anything i can do to get win to run as it use to??

View 1 Replies View Related

Ubuntu Installation :: Win 7 Dual Boot - Revert Grub 2 To Grub 1?

Mar 26, 2010

So my computer has ubuntu 9.10 installed 1st and I want to install win 7 in a separate partition. Basically, ubuntu 1st, win 7 later so far from what I learned from search results, grub 2 have problem with win 7 installed later and what was recommended was install win 7 before ubuntu. how ever I do not have the time to start over again because there are too many things to back up or install again. can I simply revert grub 2 to grub 1 again and resolve the problem?

View 7 Replies View Related

Ubuntu Installation :: Load GRUB From Grub Rescue Prompts?

Apr 11, 2010

First the hard data:

Upgraded from Ubuntu 9.04 to 9.10 via upgrade manager
System is AMD 64
Have dual boot with XP on seperate hard drive

[code]....

Then the wheelspin:

Seem to have knocked out GRUB as normal loading screen does not appear anymore.
Worse, I think I accidently installed grub to something labelled SDC5.

Cannot get anything except the "grub rescue" prompt. I'm not sure if using the LiveCD (9.10) can help. Have tried a few prompts from other threads but just ended up with mud splattered all over the place. I'm gathering I need to load grub, but can I do it using any grub rescue commands?

View 9 Replies View Related

Ubuntu Installation :: Grub Not Detecting Windows 7 Even After Updating Grub

Apr 22, 2010

installed windows 7..then tried restoring grub using live cd....mounted partition somewhere else....then installed ubuntu again where it was installed previously and now grub is not detecting windows 7 but i am able use my windows files

used sudo update-grub2.

View 9 Replies View Related

Ubuntu Installation :: Can't Start Grub Without Super Grub Disk

Jun 22, 2010

If I use the super grub disk I can get to my ubuntu partition otherwise my windows partition boots automatically. I spent over an hour in the community documentation using the live cd to reinstall grub and nothing has fixed it. I think that grub is installed and the windows bootloader is just taking precedence.

View 3 Replies View Related

Ubuntu :: Grub Not Found - Recover Grub After Windows 7 Install?

Aug 24, 2010

I had to dual boot my computer again with windows unfortunately for school. This is something I've dealt with dozens of times in the past but when I try to recover grub 2 with the ubuntu live cd I get this:

sudo grub
sudo: grub: command not found

View 4 Replies View Related

Ubuntu Installation :: Grub Reinstall Doesn't Generate Grub.cfg?

Dec 10, 2010

I have ubuntu 10.10 running on my HP dv5 pavilion laptop So today i tried to reinstall grub on my pc .. i removed grub-pc and grub-common using synaptic then booted up with a live cd of ubuntu 10.04 i then mounted sda11 to mnt using sudo mount /dev/sda11 /mnt sda11 being my ubuntu directory containing the /boot then i installed grub to it using sudo grub-install --root-directory=/mnt /dev/sda it reported as installation finished.No error reported then i unmounted /mnt and checked for /boot/grub/grub.cfg seems like the file is missing so are the files in /etc/grub.d/ reinstall my grub back

View 9 Replies View Related

Ubuntu :: Grub Loading - Unknown Filesystem Rescue Grub

Jan 31, 2010

Yesterday I partitioned my hard drive with kubuntu netbook remix and windows 7. after a few hours and reboots i turned on my computer and it said Grub loading. unknown filesystem rescue grub> It looks like allot of people have been having similar errors recently with windows 7.

View 3 Replies View Related

Ubuntu Servers :: Grub Error On Hardware Raid 1 / Default Root Device Shows That Prefix=(hd0,1)/grub?

Apr 13, 2011

I'm currently setting up a dell server with hardware raid 1 on sas 6r. i got 4 sas installed on the server and configured to raid 1 as stated below,
array 1:
slot 0 & 1

array 2:
slot 2 & 3

during the installation, the installer detect the array 2 as sda and array 1 as sdb.. so i proceed with installation on array 2. after completed the installation, the first reboot lead me to a 'grub-rescue" prompt. by following the guide at url Mode, i've noticed that the boot folder has changed to (hd1,1), which i believe it has changed to sdb1. default root device shows that prefix=(hd0,1)/grub.

View 3 Replies View Related

Ubuntu Installation :: Grub Loads Grub Instead Of Windows?

May 24, 2010

I do not know what to do, i cannot load windows partition. it just loads grub again. this must have been something that happened when i upgraded to the 10.04 or w/e. can someoen help me out with what i can do to stop this or fix it. maybe i can reinstall but i want to know what will work first, i do not have a lot of time to fool with my computer like this again. i spent a week getting ubuntu on my computer the first time so i do not ever want to spend that much time again especially in finals week. !

View 1 Replies View Related

Ubuntu :: Use The Grub Command Line To Reinstall Grub From A Cd?

Jun 2, 2010

Can I use the grub command line to reinstall grub from a ubuntu cd?

View 1 Replies View Related

Ubuntu :: Grub Doesn't Load The Menu From Grub.cfg

Aug 19, 2010

When I start the computer the boot menu doesn't prompt, when I try to load it manually it doesn't prompt neither, it just reset the command line.The grub.cfg was generated by update-grub.It's really annoying to load the kernel manually each time the computer starts.

View 3 Replies View Related







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