Ubuntu :: How To Edit The Grub File
Aug 22, 2010i have to edit grub etc/default file but when i open it, it is a read only file (i have to put "i915.modeset=1" in it ) i think i need to do it through the terminal
View 4 Repliesi have to edit grub etc/default file but when i open it, it is a read only file (i have to put "i915.modeset=1" in it ) i think i need to do it through the terminal
View 4 RepliesSince I updated my 10.04 LTS program from 2.6.32-24 to 2.6.32-25, both of these show up at the dual boot start up menu. Back when I had 8.04 LTS, I was able to edit my menu.lst file to delete past versions. How do I remove past versions from the grub.cfg file at present?
View 9 Replies View RelatedI've been using 10.04 for a few months without any problems, but today, I tried to boot into Ubuntu and just got a black screen. I tried the tutorial on this site, and it worked.
I have to do this after every reboot unless I edit the /etc/default/grub file (the second part of the tutorial). I'm not sure how to go about doing this since the article is very vague.
Now i am in grub mode as following : grub> And i need to edit a specific file What is the command that enable me to do this?
View 14 Replies View RelatedI have recently installed Ubuntu Karmic on my laptop, which also has Windows 7. It now has GRUB, and I have been able to modify some settings via the GRUB command line. However, these changes are not permanent; they are reset the next time I load GRUB. I have seen many people trying to configure GRUB who have been pointed towards /boot/grub/menu.lst. I expect it would) I went to edit that file... and discovered that it did not exist. I am certain that I am using GRUB, not some other bootloader. Is there another possible way to configure GRUB, or somewhere else I might look for this file?
View 4 Replies View RelatedI am trying to edit my grub.conf file. I am logged in as root. It says it is a read only file. I have tried to set permission with chmod 777 and also tried through GUI. Using VI it says it's a read only file. Using nano it will not write either. I have two choices on boot up. I want to automatically go to second automatically. First at the moment is CentOS-4 i386 (2.6.9-55.ELsmp) and second is CentOS-4 i386 (2.6.9-55.EL).
View 9 Replies View RelatedI have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?
View 7 Replies View RelatedSo I need to become the root user in order to edit a grub file in a seperate partition, so I can get back into this partition. How can I become and stay as root user in the desktop environment? (I know you shouldn't do this, but I need it.)
View 10 Replies View RelatedI'm trying to set up some shares on this pc and every time I try to edit the /etc/exports file I get this error. I get the same error when I try to edit /boot/grub.conf file or any other files. Does not matter what editor I use. I'm running f14.
View 3 Replies View RelatedI have 2 harddisks 1 tb and 160 gb. In 1 tb fedora is installed. In 160 gb windows is installed. 1 tb is the master. 160 gb is not being detected. How to edit grub.conf file to edit the menu?
The content of grub.conf is
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that all kernel and initrd paths are relative to /, e.g.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,1)
kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=bfc7d406-5ae3-4335-a2d8-37472dcfa7dc rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img
title Other
rootnoverify (hd1,0)
chainloader +1
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 RelatedI'm looking to edit my grub.cfg file to add the "pci=routeirq" code to the kernel line so I can configure my modem in Ubuntu. I'm happy with assigning a temporary permission to myself over the root file so I don't accidentally alter it later.
View 3 Replies View RelatedNow 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 6 Replies View RelatedI need to fix a part of the file and I don't know how to edit it. I'm using the Live CD - I have the install but I need to fix grub.cfg to use it.
View 9 Replies View RelatedI had windows 7 installed on my system prior to the installation of Lucid Lynx. The boot loader for windows is installed in /dev/sda1. The main windows installation is in /dev/sda3 Ubuntu is installed in /dev/sda5.
The grub update has added a loader for windows 7 for /dev/sda3 instead of /dev/sda1. How do i change that to /dev/sda1 in grub 2.0 as it says that it is not recommended to edit grub.cfg in grub 2.0. I know i can add something in custom section but I am not a pro in linux hence i'm not sure how to add that
I had to followed this tutorial on how to Install ubuntu on my Toshiba Satellite M35X-S114. I am stuck on step 2 now. I used one of the options and was able to get Ubuntu Desktop 10.04 onto my laptop. But now on my first restart I have to edit the GRUB menu and change the boot option so I will no longer then the black screen when booting. Only problem is I can't get to the edit GRUB menu. I turn the computer on select Ubuntu to boot. A black screen shows up I hit e to edit then the Ubuntu loading screen comes up (The one that says Ubuntu and has the dots below it) That screen stays up for about a half a second and it goes back to black and hangs there.
View 1 Replies View RelatedI used Ubuntu a few years back. I simply was not able to make it my main OS since I couldn't get video calling to work reliably enough. Anyways I just installed and noticed my grub menu had many more entries then I have operating systems on my computer. Some reason they came up as duplicates. I have so far gathered they took away my menu.lst, they replaced it with something like etc/general/grub. It appears editing this file doesn't give me the ability to change entries. There are a few I would like to rename, and a few I want to get rid of. There is also some other file that is not supposed to be edited, will I need to edit this or is there another way around it? I found info like this, but it is only adding not removing.
Assuming that you already looked at the grub2 documentation and had trouble figuring out what to do, try this. Use sudo to edit /etc/grub.d/40_custom. It will look like this:
Code:
#!/bin/sh
exec tail -n +3 $0 .....
After making the change, run 'sudo update-grub' to apply the change to your grub config.
TLDR: Grub 2 added extra entries, how do I remove and rename some?
I have GRUB to allow me to boot windows and Ubuntu, i recently noticed that my list of kernels is getting clogged up with all the updates. So i went online to try and find out how to get rid of the unwanted partitions and also how to add new ones - i am going to attempt to hackintosh, and will need to know how to add kernels. What i found out was; the boot menu in GRUB had a file that is supposed to be called 'menu.lst' (Lst not ist), and that all i needed to do was edit this, that it wouldn't delete the kernels, but that i don't need to, i only need to add and remove links to kernels on the GRUB menu. The problem is that after looking, i don't have that menu.lst file, i have a file containing the image files for 'memtest', but not for my GRUB. I am using 10.04, i don't know what version of GRUB im using but i'm using whichever one comes with 10.04. Could someone please point me in the direction of the files i need to edit or what i need to do to add and remove kernels?
View 3 Replies View RelatedI installed linux yesterday dual boot win7 but the Fn keys and adjusting the brightness wouldnt work so i tried a few workarounds searches in google. however, when i edited one of the grub lines and when i reboot the system, i see the screen messing up and then goes to black (no display at all). how can i fix this one?
View 9 Replies View RelatedWhen i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".
View 2 Replies View RelatedI'm using HP Pavilion dv2108tx I have ubuntu and Win7 dual boot. The problem is every time I change setting to the BIOS there will be a new list of ubuntu boot came up and now I scroll trough the whole list. Is there anyway to edit GURB boot list.
View 3 Replies View RelatedI have Windows XP as well as Ubuntu in my desktop. I would like to temporarily disable XP for a month or so, so that One cannot see Windows XP appearing in the grub menu list or during the boot. Is there is any option to edit the grub menu?
View 1 Replies View RelatedPreviously I could don "sudo nano /boot/grub/menu.lst" to edit in grub the countdown timer from 9 to eg: 2 seconds. I don't know how to do that with 10.4, as there is no file /boot/grub/menu.lst anymore.
View 4 Replies View RelatedHow do I edit the Versions listed in GRUB?
I have at least 25 different Versions listed in my GRUB Screen but they are not in the menu.lst !?
I only use 2 of them.
I just did a fresh install of Lucid Lynx 10.4, but now whenever I boot up, at the boot loader, Windows 7 is no longer on the list. I want to now how to properly edit grub.cfg in /boot/grub so that I can boot into Windows 7 from the boot loader. The Windows partition is found in /dev/sda2. The folder name is 2EB2621EB261EB33. If anyone could tell me how write the entry in grub.cfg for Windows 7 to boot that would be awesome!
View 9 Replies View RelatedI upgraded from Jaunty - Karmic - Lucid in very quick succession (and surprisingly succesfully too) but have encountered a slight issue with Grub on booting up since the upgrade.I had a removable HDD plugged in when the upgrade was going on. Now when I boot up Grub stalls and comes up with a message that its looking for SDD5 or something. I can tell it to skip this, but I'd rather it wasn't appearing at all.How can I edit Grub to tell it what disks it should and shouldnt be looking for?
View 1 Replies View RelatedI've tried to find it on google, but I want to have my OS Screen Selection to have a cleaner look than what it currently looks like. I understand we can edit Grub 2 but nothing I've found shows me what to edit into the file. I have all of the files I just need to know which one to edit and what to put into the file so my OS selection looks better
View 2 Replies View RelatedI have a dual boot system. a 200gb hd with ubuntu 10.10 and windows pro on 100gb hd. the problem im having is the 'black screen' error.
When i boot ubuntu, it boot fine but it shuts off my screen cause its not supporting my video hardware which is a geforce 6100 or something.
I know the fix is to change grub to support older video architecture. Something like changing line 'GRUB_CMDLINE_LINUX_DEFAULT="QUEIT SPLASH NORNODESET"'
But how do i change the grub when the screens off? i can't, right. Is there a way i can change the boot parameters of ubuntu from my windows boot or maybe from the ubuntu virtual desktop?
I recently switched my laptop from Ubuntu 11.04 to 10.04.2, and during the process, I used GPARTED to partition the drive so that I could have both versions installed simultaneously while I transferred files and settings and such. A few days ago, I removed the 11.04 partition, formatted and added that disk space to 10.04's /home partition. However, when I boot up, GRUB still gives me the option of loading into the newer 11.04 partition with the newer kernels. How do I remove those options from the GRUB menu? I checked the Ubuntu GRUB help pages, but didn't feel confident that I could do edits without messing up the 10.04 boot settings.
View 6 Replies View RelatedI recently installed Fedora 12 on my system. I also have a Windows 7 running, which existed before the Fedora 12 installation.
When I start my computer, I get a screen that says 'Fedora is starting in 3 seconds' and I can either press a key to stop the boot or let it boot Fedora. If I stop the boot, I am taken to a 'choice screen' where I can choose between 'Fedora' and 'Other' with 'Other' being my Windows 7 OS.
Now, here's what I want to do. I want it to be so that, when I start my computer, I am directly taken to that 'choice screen' without the time limit or anything. And then I can choose which OS to boot. Also, is it possible to rename 'Other' to 'Windows 7' ?
How I can edit Grub in order to bring on these changes?