Fedora :: Root User - Edit A Grub File In A Separate Partition

Nov 27, 2010

So 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


ADVERTISEMENT

Fedora :: Install Grub To A Partition And Link It To A Separate /boot?

Nov 20, 2009

Where can I install grub? I know it can be installed to the mbr of a hard drive. I also know it can be installed to a /boot partition. Can I install it to a lvm partition? Does it have to be /boot? grub-install --root-directory=/boot /dev/hda Does this command install grub to a partition and link it to a separate /boot? I have fedora, but this is a live cd. I need to learn where I can install grub2 to boot

View 3 Replies View Related

Fedora :: Error When Try To Edit /boot/grub.conf File Or Any Other Files

Jan 31, 2011

I'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 Related

Fedora Installation :: 2 HDs And Dual Boot - How To Edit Grub Config File

May 18, 2011

I 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

View 2 Replies View Related

Debian Installation :: Separate Functional Partition / User's Account?

Nov 16, 2010

How can I implement this: I encrypt a partition using LUKS, and store personal data on this partition. Then create a user account that solely deals with this partition and insulated from the Internet. Normally for each boot I do not even need to mount the LUKS encrypted partition, and when I mount that partition under that special user account, I can make sure that the Internet is cut off.

I'm going to do the installation these days, could you provide a brief sketch regarding what steps I should go through to implement the above result?

View 4 Replies View Related

Ubuntu Installation :: Cannot Use Separate /boot Partition With Grub 2

Aug 25, 2010

While installing with a separate /boot partition I cannot get two distinct copies of ubu installed on one machine and be able to choose between them. Each is installed on a different hard drive. x64 versions. I've had this issue both ways:

Stepsinstall mythbuntu
install ubuntu
Result

Two entries in grub. Both cause ubuntu to boot

Stepsinstall ubuntu
install mythbuntu
Result

Two entries in grub. Both cause mythbuntu to boot Grub 2 is so unfriendly for fixing these things. I don't know where to make changes. Ok, Grub 2 is very powerful, maybe it's the lagging documentation, or lack of tutorials that is the problem. But I don't know how to fix this. Do I start over without the /boot partition? Do I bail on ubu?

View 9 Replies View Related

Ubuntu Installation :: Post Install Root Home Dir Creation On Separate Partition

Jun 25, 2010

Looks like I missed defining a /home dir during installation. It's been a while I have a spare partition now that I'd really love to use. Can you specify this still, or is it only allowed during an install?

View 3 Replies View Related

Installation :: Multibooting Multiple Distros With A Separate / Boot Partition For GRUB

Mar 27, 2010

Noobish question on multibooting multiple Linux distros. I have four of the current major Linux distributions. Each has been installed and run individually (no other Linux distribution installed) in a dual-boot configuration with Windoze. No problem.

What I want to do is install all four Linux distributions and multiboot them. Reading the internet it would seem this is a simple task with GRUB. The short version being - install a Linux distro with a separate /boot partition for GRUB and use GRUB to boot the other Linux distros from the GRUB boot menu.

So I installed one of the Linux distros with a separate partition for /boot. The distro installer installed GRUB in /boot and correctly setup a dual-boot configuration with Windoze. GRUB was installed to the MBR. Next I installed a second Linux distro in its own root partition and told the distros installer NOT to install GRUB to the MBR, but rather, to the boot sector of the root partion of the second Linux distro. Installation was uneventful (and I could access the second Linux partition from the first installed Linux distro, things looked ok). Then I added to following to the installed (MBR - /boot) GRUB's menu.lst:

Code: title lixux distro 2
root (hd0,7)

chainloader +1 After which I rebooted the system and the new entry for the second Linux distro now appears in the GRUB boot menu. I selected the second Linux distro from the boot menu and got the following GRUB error: Error 5 : Partition table invalid or corrupt
[Code]....

View 8 Replies View Related

Ubuntu :: Separate Evolution User File?

May 4, 2011

I use U.10.4. I have to take over the work of another, but all I have is the Hard Drive from that machine. Because the two positions are separate, I do not want to Import his Evolution over my own - but, I do want to be able to access it from my machine. Can my Evolution refer to the old hard drive (now in a caddy and non-bootable) for the Evolution account data that is there, while still being able to switch back to my own Evolution data on demand. E.G. in Windows the equivalent would be the way that Outlook can refer to different .pst files at loading. Alternatively, can I make the external USB drive (previously a running main HDD) bootable without losing all of the data?

View 3 Replies View Related

Ubuntu :: Edit Grub Of 10.10 From Windows Partition?

Apr 25, 2011

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

View 7 Replies View Related

Ubuntu Installation :: Edit Grub To Boot Different Partition?

Feb 3, 2011

I'm dual boot with Vista(TM) and UBUNTU(tm) and ran out of space on Ubuntu partition:I booted Ubuntu 10.04LTS live CD and shrank the VISTA. It would NOT let me grow the extended partition? So now I have:

sda1 ntfs /media/TOSHIBA_SYSTEM_VOLUME 1.46GB
sda2 ntfs /media/SQ004588V03 88GB
sda4 ext3 THIS IS MY NEW PARTITION 15GB

[code].....

View 9 Replies View Related

Software :: Calling DB User From Separate File In Shell Script?

May 23, 2011

I need to execute a SQL via shell script and i am connecting to Oracle DB by this way $USERNAME1/$PASSWORD1@$STRING1 and i need to get username, password and string from someother file stored in the Unix Directory. $Username, $Password and $String is stored in File A in Path A and i want to call it in the test.sh in Path B.

Format of File A.txt
Username=test_db
Password=*****
Instance=ORACLEDB

View 3 Replies View Related

Fedora :: Change Nautilus To Default Ubuntu And Not Open Each Folder In Separate Window But Can't Go To Edit/Preferences?

Sep 20, 2009

I have just installed F11 and want to change Nautilus to default Ubuntu and not open each folder in separate window. But I can't go to Edit/Preferences.Nautilus keeps crashing and I get this report:Quote:

Distribution: Fedora release 11 (Leonidas)
Gnome Release: 2.26.3 2009-07-07 (Red Hat, Inc)
BugBuddy Version: 2.26.0

[code]....

View 3 Replies View Related

Ubuntu :: How To Edit File Owned By Root

May 31, 2010

I am trying to edit limits.conf, changed file permissions:
sudo chmod limits.conf -rwxrwxrwx

But got this message:
"Could not save the file /etc/security/limits.conf. You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try again."

I followed these instructions:
"copy - paste this code into terminal
gedit $HOME/.gnome2/nautilus-scripts/Open as root
copy-paste this text into that file and push 'save'
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnome-sudo "gnome-open $uri" &
done

now copy-paste this code into terminal
chmod +x $HOME/.gnome2/nautilus-scripts/Open as root

Now you can right click on the file you want to edit, select 'scripts' and say 'open as root' to let you modify it". [URL] the right click worked but the file didn't open.

View 9 Replies View Related

Ubuntu Installation :: Separate Functional Partition / User's Account Installation

Nov 16, 2010

I encrypt a partition using LUKS, and store personal data on this partition. Then create a user account that solely deals with this partition and insulated from the Internet. Normally for each boot I do not even need to mount the LUKS encrypted partition, and when I mount that partition under that special user account, I can make sure that the Internet is cut off. I'm going to do the alternate installation these days, could you provide a brief sketch regarding what steps I should go through to implement the above result?

View 2 Replies View Related

Ubuntu :: Can't Edit Resolv.conf File Under Root?

Feb 12, 2011

I am trying to edit my /etc/resolv.conf file while under root. After saving the changes and reboot my computer, file has not changed. I read a thread on chattr and lsattr on this fourm.(see link below) I ran in terminal lsattr /etc/resolv.conf and got the following results:-----------------e- /etc/resolv.confWhat does the dashes and e mean? I thought I would get ----ia------------ /etc/resolv.conf instead, as shown in the link. What am I doing wrong?

View 4 Replies View Related

Red Hat / Fedora :: Grub Loader - Partition Deleted - File Has Gone

Jan 14, 2011

In my system i am using fedora13 unfortunately grub loader(partition deleted) file has gone ,now its not booting the system,some one is saying is install again fedora in same place

what i am thinking is:
1)we will use live cd,
2)open terminal(in live command will work or not ,i typed but its asking you should be root)
3)we will take grub source code from net ,then we will compile it in same path(i think in fedora grub.8.gz),
then is it working

View 3 Replies View Related

Ubuntu :: How To Edit The Grub File

Aug 22, 2010

i 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 Replies View Related

Ubuntu :: Edit The Grub.cfg File?

Oct 4, 2010

Since 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 Related

Ubuntu Servers :: Can't Edit /etc/resolv.conf File As Root

Jun 14, 2010

i can't edit /etc/resolv.conf with root account (Ubuntu Server 8.02)

root@webserver:~# sudo vim /etc/resolv.conf
"/etc/resolv.conf"
"/etc/resolv.conf" E212: Can't open file for writing
root@webserver:~# ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 287 2010-06-14 15:20 /etc/resolv.conf

View 9 Replies View Related

Fedora Hardware :: Unable To Install AMD Radeon HD 6310 - Edit Grub Menu From Initial Grub Screen?

Mar 17, 2011

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 6 Replies View Related

Ubuntu :: How To Edit The /etc/default/grub File

Oct 22, 2010

I'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.

View 3 Replies View Related

Software :: Edit File With Grub Mode?

Apr 25, 2010

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 Related

Software :: Vim Plugin - Edit A File As A Normal User - Commands Won't Work

May 4, 2011

I was looking at some Vim plugins, and I installed one called Abolish. The page from where I got it [URL] only says:

install details
Extract in ~/.vim or ~vimfiles

So I extracted it in ~/.vim. Now, the issue is that, if I edit a file as root, I am able to use the commands; however, when I edit a file as a normal user, these commands won't work. So... could this be a permissions issue? Or should I copy the plugin in some other directory, maybe?

View 6 Replies View Related

Fedora Installation :: How Big To Make Separate Partition

Aug 5, 2010

I run several OSes (all Linux) on my computer. I set a separate partition for each one. I want to run Fedora 13 LXDE mainly for a game or two that are in the Fedora repos but not in any others, so I will not need a lot of space. But I want to make sure there is enough room for the OS.

I want to be able to play CloneKeen, so I will need enough space for that. I may find some other games, as well, so I will need some extra space. I have my other two OSes on six GB apiece, and Peppermint actaully uses barely half of that. Will 6GB be enough for a basic Fedora install with a few games installed? I will not really use Fedora for anything else, probably.

View 4 Replies View Related

Installation :: CentOS4.5 Edit Grub.conf - Says It Is A Read Only File ?

Nov 12, 2010

I 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 Related

General :: Exit Bash Script - Add - Del - Edit User From Certain File Using Different CASE Variables

Mar 6, 2010

I have made a simple bash script through which i can add, del, edit user from certain file using different CASE variables. like
case
1. adduser
2. del user
3. edit user

Now i want to add a exit CASE like
1. adduser
2. del user
3. edit user
4. exit

Now i want to make a script such a way that, if user input is 4 then only script quit. I used with exit function also but it didn't work. if user press ENTER or other keys then also it quit the program.

View 6 Replies View Related

Fedora Installation :: Moving - Boot To A Separate Partition ?

Apr 23, 2009

Trying to dual-boot OpenSolaris and FC10 is difficult because Solaris grub doesn't know about ext3 and Fedora grub doesn't know about ZFS. I was able to rescue my FC10 installation by creating a new FAT16 partition and restoring /boot to it from a dump, and then doing a grub setup to it. A complication is that anaconda doesn't seem to be able to find /dev/md0 (both the Solaris and FC10 installs use mirrored disks).

This process moved the FC10 ext3 partition from /dev/sda3 to /dev/sda4, but the other half of the mirror is still /dev/sdb3.

When I boot FC10 I get a "can't load image" error from grub, but it still loads FC10 successfully. It makes no difference if menu.1st/grub.conf has "root (hd0,1)" (the FAT16 partition) or "root (hd0,3)" (the FC10 ext3 partition).

If a future yum update were to try to install a new kernel, my FAT16 partition would not be updated. It seems to me both these problems might be solved if I could move /boot from /dev/md0 to /dev/sda2 (/dev/sda2 is the FAT16 partition).

Rather than go through yet another install, would the following work?

from FC10, move /boot to (say) /boot.0
mkdir /boot
edit fstab to include "mount /dev/sda2 /boot"

If I try this and it doesn't work, I can't see any way to undo it since anaconda doesn't seem to be able to mount /dev/md0. If a grub guru sees this, perhaps they could suggest a better alternative, or if not, whether this will work or not.

Additionally, although there are two alternatives in menu.1st/grub.conf, grub doesn't display a menu - it goes directly to boot. Any idea why? I suppose this might be a Solaris stage1 grub problem...

Since FAT16 doesn't support links, it isn't possible to link grub.conf to menu.1st. Are they both required?

View 2 Replies View Related

Fedora Installation :: Triple Boot - Using The Separate Partition?

May 29, 2010

I am triple booting

Windows xp
UBUNTU 10.04
Fedora 13

Everything works fine, the setup went very well. But I got to thinking (A dangerous thing for me). In Ubuntu I am using separate partitions for / (root) and /home. I was wondering, during install of Fedora, could I use the separate partition I am using now for both root and /home for just / (root) and use the Ubuntu /home partition for Fedora (set the mount point for /home to the same partition as I did for Ubuntu and not format the drive)? This would allow me to seamlessly use the /home partition and not require duplication of files. I can mount the Ubuntu /home dir while in Fedora.I can share the /home partition with two different installs of Ubuntu (been there).

View 1 Replies View Related

Ubuntu :: Edit File Discovered It Didn't Exist - Configure Grub?

Jan 17, 2010

I 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 Related







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