Results 1 to 8 of 8
I was hoping someone can tell me how to change the read write permissions in Fedora 12. I'm trying to obtain /boot/grub/grub.conf, but I'm getting a permission denied message....
- 12-22-2009 #1Just Joined!
- Join Date
- Dec 2009
- Posts
- 3
-Permission denied message. (/boot/grub/grub.conf)
I was hoping someone can tell me how to change the read write permissions in Fedora 12. I'm trying to obtain /boot/grub/grub.conf, but I'm getting a permission denied message.
- 12-22-2009 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
Welcome to the forums!
You should be able to go to a terminal and use the su command to gain root privileges:
...orCode:su
...enter your root password when requested and press ENTER. Once done, you should be able to access files that require root privileges.Code:su -
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 12-22-2009 #3Just Joined!
- Join Date
- Dec 2009
- Posts
- 3
Ozar,
Thanks for the help. I was already login as the root. Please look below and offer any other suggestions. THX!
[jsyn@localhost ~]$ su
Password:
[root@localhost jsyn]# /boot/grub/grub.conf
bash: /boot/grub/grub.conf: Permission denied
[root@localhost jsyn]#
- 12-22-2009 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
Try it with the su - option. Note that there is a space between the su and the dash.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 12-22-2009 #5
It looks like you are trying to run grub.conf as a bash script (which it is not), what are you trying to do? if you want to view the contents use cat (you don't need to do that as root)
If you need to edit the file use nano (you will need root rights for this)Code:cat /boot/grub/grub.conf
You can check if the file exists and its permissions usingCode:nano /boot/grub/grub.conf
the -l has a small L rather than a oneCode:ls /boot/grub -l
- 12-23-2009 #6Just Joined!
- Join Date
- Dec 2009
- Posts
- 3
Ubuntu 9.10/Fedora12/XP -Tri boot issues
Jonathan183-
Here's my original problem. I've created 3 partitions. The original partition had Unbutu 9.10. I installed Windows XP next. I installed Fedora 12 last, which is on my second partition. Fedora and XP boots up fine. Fedora boots up by default and when I select other as an option, XP boots up automatically. However, when I select the Unbuntu boot, I receive an, " Error 15: file not found message". I ran the cat /boot/grub/grub.conf. Hopefully, I've provided enough info to get some help. I need to edit the my grub file it appears. Please advise.
jsyn@localhost ~]$ cat /boot/grub/grub.conf
# 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 /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.6-166.fc12.i686)
root (hd0,1)
kernel /boot/vmlinuz-2.6.31.6-166.fc12.i686 ro root=UUID=807542bb-8a12-491f-bec5-709d968a13f0 noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.31.6-166.fc12.i686.img
title Other
rootnoverify (hd0,2)
chainloader +1
title Ubuntu (2.6.31-14-generic)
root (hd0,0)
kernel /vmlinuz-2.6.31-14-generic ro root=/dev/sda1 rhgb quiet
initrd /initrd.img-2.6.31-14-generic
[jsyn@localhost ~]$
- 12-23-2009 #7
Login as root and post the output of command,
from your grub filefdisk -l
try and mount /dev/sda1 and see whether ubuntu partition files still there or you have installed windows in /dev/sda1title Ubuntu (2.6.31-14-generic)
root (hd0,0)
kernel /vmlinuz-2.6.31-14-generic ro root=/dev/sda1 rhgb quiet
initrd /initrd.img-2.6.31-14-generic
as root,use mount command,
mount /dev/sda1 /mntdid you see ubuntu files?ls /mnt- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 12-23-2009 #8


Reply With Quote

