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
ADVERTISEMENT
Jul 5, 2010
I've just installed Ubuntu 10.04. In previous versions I could edit the grub menu (menu.lst). Where can I find the menu.lst or it's equivalent in 10.04 ?
View 3 Replies
View Related
May 7, 2010
I used to be a pro at editing Grub's menu.lst file so I could have my menu look clean, simple, and easy to read. Now that I have set up 10.04 (Working beautifully now after a couple setbacks) the menu.lst file is no longer where it used to be (/boot/grub/menu.lst)
How do I edit my boot menu now?
View 5 Replies
View Related
Sep 3, 2010
After my last update in my ubuntu, I had a problem. (As almost everytime that I update it)
When I select to boot ubuntu, it doesn't work.It shows something like:"GNU GRUB version 1.97"beta 4[ Minimal BASH-like line editing is supported.For the first word, TAB lists possible command completions.Anywhere else TAB lists possible device/file completions]
sh:grub> "And I don't know how to make it work.I tried to follow this tutorial:[URL]I got an error message saying that the file couldn't be found. And if I skip it, when I type "boot" the system reboots and comes to the same place I was before.
I've also tried to set another partitions like
View 11 Replies
View Related
Jan 18, 2011
I am a new Ubuntu user, and I am attempting to set Windows 7 64 bit as my default OS in the boot loader instead of Ubuntu 10.10. I have entered the command gksudo gedit /boot/grub/menu.lst into terminal, and the menu.lst file does open. However, this file appears to be completely blank, which does not seem to make sense and is preventing me from changing the boot order.
View 4 Replies
View Related
Mar 31, 2010
I installed Windows XP Pro and RedHat Linux Enterprise 5 on my PC for my purpose. The PC is used by other family members too and they need only Windows OS for browsing. It is becoming problem for them to reboot after the PC enters into Linux by default. I am still learning Linux and I want to edit the /boot/grub.conf file to make Windows as default OS to boot. The following is the content of my grub.conf file (FYI):
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
[code]....
View 4 Replies
View Related
Jan 26, 2010
I have grub 1.97 on carmic , with too many items in it. Start up manager , great for hardy and jaunty , is not working. What is the best way to remove unneeded items and change wait time for grub ?
View 5 Replies
View Related
Aug 15, 2010
I think this is the default view of GRUB2 as installed by some other OS, (I think Chameleon)... But even they must have done this by editing something in the original GNU GRUB 1.97. Is that possible to accomplish. If yes, how?
View 3 Replies
View Related
Jun 16, 2010
Xubuntu: Grub Editing, Menu.lst not present
ver: 10.04 Lucid Lynx
performed update
Grub now features Redundant options upon boot
similar to the following
Ubuntu, kernel 2.6.32-22
Ubuntu, kernel 2.6.32-22 (recovery mode)
Ubuntu, kernel 2.6.32-21
[Code]....
View 2 Replies
View Related
Jul 26, 2010
I want to edit a grub file, but none of the online instructions exactly match my files. I'm trying to follow the instructions to add vmalloc=256M to a grub file, from here:
[Code]...
View 1 Replies
View Related
Aug 22, 2010
I am trying to edit grub so that it doesn't timeout the menu. I've found a lot of solutions to this where I edit menu.lst. However, this file is blank when I open it. I just upgraded to Lucid and kept a lot of my old grub settings (I had customized it somewhat). Also, I am not sure if I have grub or grub2. How can I figure this out?
View 4 Replies
View Related
Sep 12, 2010
I have finally installed ubuntu 10.4 alongside windows 7.However, the grub doesn't show windows 7 so I can't boot into it.
Attached is a screenshot of "gparted". Windows 7 is installed on "sda2" and Ubuntu is on "sda6". How do I edit the grub to be able to load into windows 7?
And I faced another problem after installation. The pc kept freezing, I couldn't enter ubuntu nor use the live version on my usb stick. It kept freezing.
EDIT: I restarted and it froze again. I had to restart at least times before it allowed me into ubuntu. I'm wondering if it's a hard-disk issue since it's giving me a hard disk error whenever I login. Even though I've been running windows 7 for the past 9 months without any problem.
View 9 Replies
View Related
Aug 10, 2010
I'm trying to find out which hard drive my vista installation is labeled in ubuntu so I can finish editing the grub menu.1st file.
All it says on the sourceforge page is
Quote:
Root - You likely have something along these lines "(hd0,1)". "hd0" refers to the your hard drive while 1 points to the partition. Note that for GRUB, partitions start at 0 and not 1. for example 0=Partition 1, 1=Partition 2 and so on.
It doesn't say how I can find out which one my vista is. So I need to know what my hard drive is in linux. Is it hd0,1 or hd0 or what?
View 9 Replies
View Related
Oct 8, 2010
I am currently installing the Ubuntu 10.04 Alternative, as I am having problem with video card. What I know is that I need to edit the Grub file in /etc/default/grub and add i915.modeset=1 for my video card. What I don't know is how to do that in the command line, what application should I use and how to save it? Also, if everything works well, I want to boot to gnome automatically. What I am looking for is a step by step instructions (as I can get lost).
View 8 Replies
View Related
Jul 27, 2010
During my several experiment on linux I accidentally put the default runlevel to the value 6..thus before starting its going to restart ..currently running mint 9. there is only one way that somehow i can edit that file from grub command line.
View 4 Replies
View Related
Feb 6, 2010
Would like to eliminate from the Grub menu of startup options all but the latest kernel update? Have made some attempts, but don't have authority is the message.
View 2 Replies
View Related
Jun 12, 2010
I'm interested in editing the Grub startup menu to take out some of the previous versions of Ubuntu. First, is there a reason Grub keeps the previous versions available to boot to in that list? If it is just in case of a problem with the new installation wouldn't it make sense to only have the most recent previous installation? Anyway here is the problem, when I run: Code: "gedit /boot/grub/menu.lst"
The editing program opens the file named "menu.lst" but the file is empty. How is it possible for this file to be empty yet I have multiple boot options and they all work? Does anybody know what I am running into here?
View 2 Replies
View Related
Nov 3, 2010
I just installed a fresh copy of Ubuntu, dual booting with Windows 7 on one partition, but I'm having problems with Grub. I think I put it in the wrong place when I installed it. At first, it would just boot into Windows. But with SuperGrub I could boot into Ubuntu.
This was the result of the boot info script:
Code:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> No boot loader is installed in the MBR of /dev/sda
sda1:
File system: ntfs
[Code]...
View 2 Replies
View Related
May 31, 2011
I had a dual boot with Ubuntu 11.04 and Windows vista. Upon upgrading to windows 7, i found my grub to be replaced, with windows boot loader. So i booted from a live USB with Ubuntu 11.04 and followed steps as follows.
1. Mounted the partition where i have ubuntu 11.04
2. mount | tail -1
3. sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda
4. Reboot
On rebooting, I find grub to open in terminal mode, and does not allow me to log in either in windows or in Ubuntu! All i get is a grub terminal [ Minimal bash-like editing is supported. For the first word, TAB lists possible completions of a device/filename. ]
View 1 Replies
View Related
Oct 12, 2010
I have to edit the grub.conf as there was a issue in running in virtual box, so i went to edit the /boot/grub/grub.conf file ( centos )and run
[Code]...
View 4 Replies
View Related
Mar 21, 2011
Ubuntu didn't start up all of a sudden. It got error and stuck at : Minimal BASH-like line editing - Ubuntu Forums. I tried many ways suggested to go into menu mode but failed. I followed online solutions.. but none of them helped. I tried to list all partitions and I got this: ls
(memdisk), (hd0), (hd0,msdos), (fd0)
i tried
root (hd0)/boot , it said unknown filesystem
root (hd0,msdos)/boot, but it's a windows partition
root (f0)/boot, it said read error
The setup is dual boot with wubi, so i logged on to windows7 and installed partition magic, but i couldn't see the linux parittion, the whole harddisk is 500G, but only 2xxG is visible in NTFS. I used liveCD to boot the system, but when i run sudo fdisk -l, i didn't see anything. I have no idea why it happened, and the last successful log on was in Ubuntu, so i doubt it's due to windows update. I am going to try Solution #1 (10.04) in wubi megathread. Can anyone suggest what has actually gone wrong? WIll i able to recover the data in my linux parition given partition magic cannot see it?
View 6 Replies
View Related
Jun 14, 2010
I have installed RHEL5, solved the problems around it and started to set up the GRUB. I have set the menu.lst with simple
rootnoverify (hd1,0)
mkeactive
chainloader +1
and tried to boot the Win7 on that partition. NO LOADER came up and since that moment
Grub is only in "Minimal BASH-like line editing" mode. I have tried all of I have googled, nothing have worked. There is a problem with even finding /boot/grub/stage2, or anything else, grub won't let me mount any partition. When I try to find any file, it says file not found. It is important to say that all I did to cause this was change in menu.lst
rootnoverify (hd1,1) to rootnoverify (hd1,0)m nothing else! There is no logic in this....
View 9 Replies
View Related
Jan 8, 2010
After getting some updates like 3 days ago, I get this message: "minimal BASH-like editing is supported. For the first word TAB list possible command completions. Anywhere else TAB lists possible device/file completions. sh:grub>_
What do I do to boot my system? Previously I was able to select from the grub menu. But not in this case. Any suggestions. I have an XP system as well on the same hard drive. I used wubi to install Ubuntu 9.10.
View 6 Replies
View Related
Apr 17, 2009
Being able to reset the root password by booting into single usermode by editing grub. This is a MAJOR flaw. I know it makes no real difference against internet bourne attacks, but even so I must say I found it shocking. The only way I've found to stop this is to encrypt the entire HDD, so noone could get into single user mode without first knowing the encryption key/password.
View 14 Replies
View Related
Feb 19, 2011
I have installed Sabayon 5.4 on my laptop besides Ubuntu 10.10. During installation of Sabayon I did not opt for a bootloader as I did not want to disturb the already existing Grub2 on MBR from my Ubuntu installation.After successful installation of Sabayon, I booted into Ubuntu and updated the Grub which detected Sabayon correctly. Then I rebooted and tried to boot into Sabayon but I could not do so. The booting process stopped with the following error -
Code:
Activating mdev
Detected real-root as md device. Setting up device node
Scanning for Volume Groups
[code]....
So evidently, Grub has wrongly taken the values of root as /dev/md0 and swap as /dev/sda2.I again went back to Grub2 screen edited the Sabayon entry by replacing /dev/md0- with /dev/sda4 and swap:/dev/sda2 with swap:/dev/sda8 and pressed Ctrl+x. Now I was able to boot into Sabayon. how do I make these changes permanent. Which files should I edit so that Grub correctly read root as /dev/sda4 and swap as /dev/sda8?
View 4 Replies
View Related
Jan 15, 2010
I tried to follow "Configuring GRUB 2" at /etc/default/grub (file) in the instruction at
But the file is read only? How do I make it so that it can be modifiedie GRUB_DEFAULT=0 to GRUB_DEFAULT=1
View 4 Replies
View Related
Jul 2, 2011
i am having some issues with dual booting my SL6.1 and Windows. The situation is that i recently acquired an old hard drive from a non-working computer of mine with Windows already installed (i know the windows is functional, as i tested it on my new PC with SL6.1 currently installed & everything runs fine)
The problem is that after editing the grub.config to include windows, windows will no longer boot after an attempt to install a legit version of McAffee anti-virus software which coincidently was only after the first attempt at running both OS's in a dual-boot fashion. Except past the windows start up screen before the dreaded blue-screen.
Which is weird because SL6.1 OS will still boot & works perfectly fine like always, so it doesn't really make sense.
My current setup is:
Disk 1: Solid-State:
Boot Partition
SL6 LVM1: Root Partition
Disk 2: Hard Drive:
SL6 LVM2: User, Temp & Swap Space Partitions (Different LVM to Root)
Disk 3: Hard Drive:
Windows 7 Professional 64-bit
My guess is its windows MBR. The reason i say this is because the Hard Drive contents of the Windows software still appears intact when accessing the drive from the Linux OS. I don't won't to go through the rigmarole of re-installing both OS's. So hopefully their is a relatively simple solution.
View 9 Replies
View Related
Jun 1, 2011
I have a problem with booting my Ubuntu System.I have installed the new version of Ubuntu(11.04) next to Windows XP on my PC. When I restarted my PC I have selected "Ubuntu" from the boot menu. When I did that following massage arrived at my screen:"GNU GRUB version 1.99"rc1-13ubuntu3Minimal BASH-like line editing is supported. For the first word, TAB lists possible command complections. Anywhere else TAB lists possible device or file complectionsgrub> _"
View 7 Replies
View Related
Feb 8, 2010
9.10 uses GRUB2, so the instructions below are obsolete. Is there anyone here who could provide instructions for adding Geexbox into the GRUB2 menu? If you already have a Linux OS installed on your system, you might just want to add a GeeXboX entry to your existing bootloader. This allow you to install GeeXboX very easily. From GeeXboX CD, simply copy the GEEXBOX folder into your Linux / partition (we suppose it to be /dev/sda1 here).
Modify the /boot/grub/menu.lst file to add:
title GeeXboX
root (hd0,1)
kernel /GEEXBOX/boot/vmlinuz root=/dev/ram0 rw rdinit=linuxrc boot=UUID=$my_uuid lang=en keymap=qwerty splash ...
initrd /GEEXBOX/boot/initrd.gz
quiet
Just take are about two things:
- the field root (hd0,1) is to be adapted according to the rest of your GRUB's configuration.
- the $my_uuid value is the unique ID of your partition. Check within your GRUB config file, which value is set for other OS on the same partition or use ls -l /dev/disk/by-uuid/ to see which uuid matches your partition.
View 2 Replies
View Related
Jun 9, 2010
I've reduced my Grub2 menu(using Ubuntu 10.04) list to only 1 item.I want to automatically boot into the one item without providing a password (it does this now). I also want to disable someone from being able to bring up the Grub2 menu and hit 'e' to edit the menu item. Any ideas how to do that? I've been sifting through the forums, but I haven't had any luck finding a post about this
View 2 Replies
View Related