SliTaz SliTaz Forum

You are not logged in.

#1 2012-09-15 16:34:46

ooseven
Member
Registered: 2012-08-22
Posts: 57

Why is my /boot/grub/menu.lst file dening me?

I neber had this problem before trying to edit my  /boot/grub/menu.lst file

It say Permission denied. Why all of a sudden....

It is a fresh install.

Offline

#2 2012-09-15 16:51:38

lobotazmania
Member
Registered: 2012-07-23
Posts: 16

Re: Why is my /boot/grub/menu.lst file dening me?

you can edit anything you want your only login as root or su root password, and no have any trouble.

Offline

#3 2012-09-15 17:04:48

ooseven
Member
Registered: 2012-08-22
Posts: 57

Re: Why is my /boot/grub/menu.lst file dening me?

I tried that, this is how I did it:

open terminal type su

enter your pass

then type

pcmanfm

go to your /boot/grub directory

right click menu.lst choose open with leafpad

now you can edit the file

Offline

#4 2012-09-15 22:25:29

lobotazmania
Member
Registered: 2012-07-23
Posts: 16

Re: Why is my /boot/grub/menu.lst file dening me?

i dont know if i understand, but to no have troubles in edit any files just begin a session like root and you no have troubles.

Offline

#5 2012-09-16 03:21:52

ooseven
Member
Registered: 2012-08-22
Posts: 57

Re: Why is my /boot/grub/menu.lst file dening me?

Before this all I did is open the terminal

and typed

su

password

/boot/grub/menu.lst file

And I could shange the boot.

But now it says permission denied.

I have done this many times sense

I started using slitaz. So I do

not know why all of a sudden on

my new install I can not do it

that way.....

But I have it done... Always one

way or another lol

Offline

#6 2012-09-16 06:54:46

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Why is my /boot/grub/menu.lst file dening me?

If you do a 'ls -la /boot/grub/menu.lst' it will tell you whether file permissions have been changed. Usually, you would see something like

-rw-r--r-- 1 root root 986 Jul 20 17:22 menu.lst

If somehow you managed to change the permissions for this file then that could be one of the reasons why you cannot write to this file.

Offline

#7 2012-09-16 14:32:24

ooseven
Member
Registered: 2012-08-22
Posts: 57

Re: Why is my /boot/grub/menu.lst file dening me?

All I did was install slitaz to my hd and now I do not have permission to do that.

Did not change any thing...

Offline

#8 2012-09-16 18:54:31

Filou
Moderator
Registered: 2011-05-03
Posts: 256

Re: Why is my /boot/grub/menu.lst file dening me?

Did you really type

# /boot/grub/menu.lst file

???

Since menu.lst IS an ASCII-file, you should open it using an editor.

This could be nano (cmd-line-driven):

# nano /boot/grub/menu.lst

or (graphical)

# leafpad /boot/grub/menu.lst

after having switched to root by su and passwd...

Offline

#9 2012-09-17 02:56:35

ooseven
Member
Registered: 2012-08-22
Posts: 57

Re: Why is my /boot/grub/menu.lst file dening me?

Yes your are right Filou I'm dadadadada

nano /boot/grub/menu.lst file is the correct way of doing it.

And I did it that way many times and it worked. Must be

getting old, loosing my memory.....

Thanks

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]