Ubuntu :: Editing An Entry In Grub2?

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


ADVERTISEMENT

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

Fedora :: Editing F-prot Entry On Crontab?

Jun 14, 2010

I just install F-prot software on my Fedora 13. The following entry was added to /etc/crontab16 * * * * <user> /home/<user>/Desktop/f-prot/fpupdate > /dev/null.I tried to use "crontab -e" or "-l" but unable to edit the crontab.

View 7 Replies View Related

Ubuntu Installation :: Where Does GRUB2 Get The Entry Name From

Jan 17, 2010

Here is my current setup. I have installed Windows 7 Home Premium 64-bit, Ubuntu 9.10 64-bit, and BackTrack 4 Final in that order. All operating systems are able to boot and all is working well. The only problem I'm faced with is really just an annoyance. Which is BackTrack is showing up with a "Ubuntu 8.10" entry name.

Now I did some research on this. I found out that BackTrack was based on the Ubuntu 8.10 OS so it makes sense why it would show up that way. I found several articles and topics explaining how to modify the GRUB programming files. I guess to change the entry name, but all of them don't seem fool proof to me nor the best way to go about doing things.

One thing I wasn't able to find info on is where GRUB2 actually gets these entry names from. My theory is if I can find out where GRUB gets this info from, I can simply log into the BackTrack partition and change where the "Ubuntu 8.10" entry is to "BackTrack 4" and then run the update-grub2 command within Ubuntu to update the entry names.

View 7 Replies View Related

Ubuntu :: Possible In Grub2 That Temporary Default Entry

Jun 23, 2011

is it possible in grub2, that a temporary default entry. For example i have 2 menuentry in grub.cfg 0 & 1. my default is 0 but i want to automatically boot once to 1 and it changes back to 0.

View 4 Replies View Related

Ubuntu Installation :: Remove Windows Entry From Grub2?

Aug 17, 2010

Ive installed a fresh copy of ubuntu onto my laptop, dual boot with 7. Everything runs smoothly except the grub. So in grub i have an entry of vista loader. I have removed the ubuntu recovery mode and the memtest entry so now i have 3 entries

Ubuntu
vista loader
7 loader

How i can remove the vista loader? PS i have never had installed vista onto my system i bought it brandy new with 7 pre-installed.

View 8 Replies View Related

Ubuntu Installation :: XP Overwrites Win 7 Grub2 Boot Entry

Jun 22, 2011

GRUB2 replaced the boot entry for Windows 7 when I installed Windows XP. I tried to create my own menu entry for Windows XP but it seamed to me that it was superseded by the Windows 7 boot loader. I have a brand new desktop PC - Core i7 processor, 2 TB hard drive, 6 GB RAM.

I don't know how to bring back a menu entry that was over written / Superseded by another OS being detected by update-grub; in this case Windows 7. I installed Ubuntu 11.04 at the end of many other Linux OS's. So it is a Multi-boot setup. Basically Windows XP has replaced the Windows 7 boot entry in the GRUB 2 Boot menu after running update-grub.

Then to get Windows 7 back I booted off the Windows 7 Install DVD and used the boot repair option. This then changed the working Windows XP Boot Loader to boot Windows 7 which I wanted but there was a catch. Windows XP didn't boot any more because it was replaced / Superseded. The Linux OS's boot fine.

View 3 Replies View Related

General :: Add Entry To GRUB2 With 2 Hard Disks?

Jun 8, 2010

I have two ide hard disks. One with windows and other with ubuntu 10.04. i want both windows and ubuntu in grub menu so what should i do ?

View 3 Replies View Related

Ubuntu Installation :: Grub2 No Menu Still Boots Into Default Entry?

Mar 4, 2010

I recently upgraded grub -> grub2 on my karmic box. Grub2 worked when chainloaded from legacy grub, and also the first time I tried it standalone. Both times the grub2 menu came up.

I ran vbeinfo at a grub2 command prompt, and found my monitor's native res listed - 1280x1024. I added that to my /etc/defaults/grub and then ran update-grub, and rebooted. This time no menu appeared and the default entry booted straight away. I suspected that the resolution was not supported for some reason or that the way I entered it in the config file was wrong, so I commented it out again in /etc/default/grub, and ran update-grub again - to no avail.

I have since tried lots of different formats for the GRUB_GFXMODE, such as 1280x1024@24, 1280x1024x24, and the normal 640x480, but none of them give me a grub menu. I have even tried using GRUB_TERMINAL=console, to no avail. I have checked the /boot/grub/grub.cfg file each time to make sure my changes were put there correctly by update-grub. I have also made sure that timeout was set to 10, and the hidden timeout was set to 0. My GRUB_CMDLINE_LINUX_DEFAULT="quiet".

I have reinstalled grub2, grub-pc, and grub-common, and I have dpkg-reconfigured them all too. I have no idea what to do to get my grub menu showing up again.

View 6 Replies View Related

Ubuntu Installation :: Convert Grub1 Entry Into Grub2 Shape?

Nov 6, 2010

I have two partition in my netbook (plus swap):
/dev/sda4 with Ubuntu 10.4 /dev/sda5 with Centos 5.5
I use Ubuntu obviously. Centos is there because I need to run some test on that distro. The problem is Centos uses Grub and Ubuntu uses Grub2.

This is /boot/grub/menu.lst from Centos:
Code:
default=0 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title CentOS (2.6.18-194.17.4.el5xen)
root (hd0,4)
kernel /boot/xen.gz-2.6.18-194.17.4.el5
module /boot/vmlinuz-2.6.18-194.17.4.el5xen ro root=LABEL=/1 rhgb quiet
module /boot/initrd-2.6.18-194.17.4.el5xen.img .....

This was generated running update-grub2 and grub-install under Ubuntu. It's not working. It gives me something like bad magic number. How can I convert the grub1 entry in a grub2 shape?

View 3 Replies View Related

Ubuntu Installation :: Grub2 Menu Not Showing New Entry For FreeBSD

Jan 11, 2011

I've just installed FreeBSD 8.1 on /dev/sda4 (FreeBSD slice), without installing the boot loader from FreeBSD (I've selected None when prompted for boot loader in sysinstall). Now I want to use my existing Grub2 from already installed Ubuntu 10.10 to boot FreeBSD also.

After some reading, I've added to the end of /etc/grub.d/40_custom:

After running sudo update-grub, grup.cfg file shows my new entry. The problem is that after restart, I don't see the new entry in the grub menu.

Another question, If i used chainloader +1, that means I need to have the FreeBSD bootloader installed also on /dev/sda4 right? For chainloading booloaders?

I didn't get to that step, I first want to see the entry in the menu.

Any idea what I might be missing/misdoing? (I also checked for blank spaces in the menuentry like the wiki for grub2 says)

View 1 Replies View Related

Ubuntu Installation :: Unable To Add A Manual Grub2 Menu Entry?

May 6, 2011

Having just upgraded to Ubuntu 11.04 from 10.10 I noticed that my Grub menu had not upgraded. The upgrade was not as straight forward as it should have been as the PC hung at the end of the installation resulting in a reboot and running dpkg in safe mode to get it all back up and running.

To fix the incorrect grub menu.lst file which was not updating, I renamed the original file and then ran sudo update-grub. It generated a new and correct file. However, my Windows partition was not listed as a Grub menu option.

[Code]...

View 2 Replies View Related

Ubuntu :: Disable Read Only Files For Editing For GRUB2?

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

Ubuntu Installation :: GeeXboX With 9.10 - Dual Booting And Editing Grub2?

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

Ubuntu :: Password Protect Editing Grub2 Menu Item?

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

Fedora Installation :: Grub2 Bootloader - Manually Adding Entry?

May 29, 2010

I have a working Ubuntu install with the Grub2 bootloader. I need to manually add an entry to boot Fedora 13 off of sda. Sda1 is the boot partition, sda2 is LVM. None of the examples I've tried work. I do also have F13 grub installed on sda, but chainloading to it didn't do anything other than a blinking cursor.

View 5 Replies View Related

Ubuntu Installation :: Editing The Grub2 File \ Eliminate The First Two And Only Leave The Latest Update?

Dec 11, 2010

I presently dual boot with Vista Home Premium and Ubuntu 10.04 LTS. Since the installation of Ubuntu about 8 months ago, my Grub menu at boot up shows all the updates for Ubuntu 2.6.32-24, -25 and -26. How can I eliminate the first two and only leave the latest update?

View 9 Replies View Related

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

Mar 7, 2010

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

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

May 17, 2010

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

View 2 Replies View Related

Server :: Bad Entry In Directory Unaligned Directory Entry?

Apr 1, 2011

I have the following error on one of my servers. Is there a way to tell which directory is exactly having the problem? if there is, if i delete that directory, will that resolve the problem or no?kernel: EXT2-fs error (device md(9,0)): ext2_check_page: bad entry in directory #10158084: unaligned directory entry - offset=0, inode=605471640, rec_len=7606, name_len=177

View 4 Replies View Related

Fedora :: Dual Booting - Grub2 To See F15 Or Be Installed Using Grub2?

Jul 11, 2011

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.

View 10 Replies View Related

Fedora :: Load Grub2 From Grub4dos / Load Directly Grub2 Core Without Passing By Bootstriping Code?

Jan 24, 2011

I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root
What I dont know is how.

In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)

I tried this way:

Code:
title grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img

View 2 Replies View Related

Ubuntu :: Get The Right Entry In Grub?

Mar 19, 2010

I just installed archlinux to try it out and need to add the entry to Grub.

I formated the hard drive with the a root partition for arch of 42Gb and ubuntu can see it perfeclty.

When I was installing arch I made a mistake and installed grub again, overwriting my previous grub with my ubuntu and windows entries.

So I fixed and got my working grub back with SuperGrubDisk, but now I want to add the ARCHLINUX entry to Grub and dont know how. I have added the previous entries from the grub that ARCH installed and moved the initrd and vmlinuz files to the /boot directory on ubuntu, but it doesnt work. I did a similar thing with Acronis True Image rescue cds(to avoid having to insert the cd in order to use it) and it worked like a charm, but I am lost in this one.

Here are my partitions, sdb is the one where all my partitions and files are (sdb5 is where ARCH is), the other 2 are backups:

Quote:

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xda85214c

[Code]....

View 4 Replies View Related

Ubuntu :: No Entry For Hibernate?

Jan 8, 2011

When I click on the "shutdown, logout, suspend etc."-button in the upper right corner there is no option to hibernate my machine. I've got suspend, reboot and shut down, but no hibernate. What would be the reason for this?

If it should tell anyone anything, my computer is a Packard Bell TJ71 laptop with the following lspci output:

Code:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
00:01.0 PCI bridge: Acer Incorporated [ALI] Device 9602
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)

[Code]....

View 8 Replies View Related

Ubuntu :: Add An Entry To The Hosts File?

Jul 5, 2010

I share a computer with my brother. It runs Lucid Lynx. I want to add an entry to the hosts file that will affect him negatively. Is there a way I can add the entry, without it affecting him, like, is there a user-specific hosts file?

View 9 Replies View Related

Ubuntu :: Booting - Entry To Win 7 Was Gone - 1 TB HDD Isn't Appearing Either ?

Sep 19, 2010

I seem to be having some issue with GRUB. I installed the kernel update just last night and when I went to turn on my computer today my entry to Win 7 was gone.I am able to boot into Lucid with ease but what happened to Windows 7 all of a sudden? I was using it just y-day and restarted to boot into Lucid to catch up on any updates.

It also appears that my 1 TB HDD isn't appearing either. Kernel update gone bad?

View 8 Replies View Related

Ubuntu :: Cannot Boot Red Hat Since There Is No Entry In The Grub?

Oct 26, 2010

I have a pc where there was redhat installed, and I decided to put ubuntu in dual boot.The installation went ok, but now I can't log in with redhat anymore. RH was installed on a RAID partition, and I installed ubuntu on an additional HD.

Now I have two problems:

a) I cannot boot red hat, since there is no such entry in the grub
b) this machine had several users, that now cannot access it remotely anymore.

Below you can find the output of fdisk -l and the grub.cfg files, the old red hat one, and the new one created by ubuntu. Not that in any case I cannot reinstall redhat, since there are other people using the machine.

[Code]...

View 2 Replies View Related

Ubuntu :: USB Drive And Dev Entry Maps?

Oct 30, 2010

How do you find out which USB device in lsusb maps to what /dev entry? How do you find out which /dev entry maps to what /device entry? What about drives with multiple partitions?

View 8 Replies View Related

Ubuntu :: Windows 7 Entry Gone From Grub.cfg

Nov 15, 2010

I was cleaning old kernels from Grub menu, all sorted except for a vista entry that i could not delete. Ran this line which I found,"sudo chmod -x /etc/grub.d/30_os-prober", to remove unwanted entries, now only the linux entry left in Grub menu, windows 7 entry gone. The vista entry was from an old install which is not there anymore. Running 10.10 at the moment which is dualbooted with win7.

View 7 Replies View Related

Ubuntu :: Can't Find Win 7 Entry In Grub?

Dec 23, 2010

i just know about this : Boot Info Script 0.55 dated February 15th, 2010

[Code]...

View 9 Replies View Related







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