anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#16
demo@antiX1:/isosrc$ su
Password:
root@antiX1:/isosrc# leafpad /isosrc/menu.lst

but use sux instead of su
Posts: 76
newbody
Joined: 28 Mar 2010
#17
Okay I try again then. __{{emoticon}}__

it says this

demo@antiX1:~$ sux
Password:
xauth: file /root/.Xauthority does not exist
root@antiX1:/home/demo#

but I do the rest of it to see what happens

Hehe I lost connection to internet here so a lot of text disappeared.

I go to bed now
Last edited by newbody on 09 May 2011, 20:37, edited 2 times in total.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#18
You are now root. Type rox and navigate to the file you want to edit.
Posts: 76
newbody
Joined: 28 Mar 2010
#19
But I did call it up in cli terminal that is even more correct than going through ROX.

I am now in Knoppix and that one just worked I try to quote from terminal

root@Microknoppix:/mnt-system# leafpad menu.lst
root@Microknoppix:/mnt-system# leafpad menu.lst

and result in menu list is

title antiX-11 frugal using iso use blkid test knoppix

I added the test knoppix there which was impossible to do in AntiX

here is code for knoppix to show it is very similar seen from my low level of knowledge

title antiX-11 frugal using iso use blkid test knoppix
root (hd0,2)
kernel /antiXboot-M11/vmlinuz fromhd=UUID=xxxxxxxxx fromiso=antiX-M11.iso vga=791
initrd /antiXboot-M11/initrd.gz

title Knoppix 6.4.3 Adriane (Poor Man's HD install)
kernel (hd0,2)/knoppixboot/isolinux/linux knoppix xkeyboard=se apm=power-off screen=1024x768 nomce BOOT_IMAGE=knoppix
initrd (hd0,2)/knoppixboot/isolinux/minirt.gz

only difference is that it is not an iso boot on knoppix but as far as I know Antix is not possible to boot in any other way on NTFS

Knoppix even allow me to edit it without being root even.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#20
You are running knoppix as root

root@Microknoppix:/mnt-system# leafpad menu.lst
Posts: 4,164
rokytnji
Joined: 20 Feb 2009

09 May 2011, 22:06 #21

Hope this helps since I run grub4dos

First open 2 terminals and wherever you are booting grub4dos from



Then when leafpad opens as root. Highlight what you want to copy from AntiX /boot/grub/menu.lst


Then paste into grub4dos menu.lst wherever. I usually paste into #Full installed Linux. You can make your own category I guess called #Noobys Ntfs Frugal Installed Linux.


Then from leafpad taskbar. Pick File>Save. Then close.
Posts: 76
newbody
Joined: 28 Mar 2010
#22
rokytnji, thanks indeed for caring about me. Wow that was kind of odd. Ypu mean I write in that one and then drage over to the one that refuse to save? and that would make it okay to save on it? Learning the permissiosn from the one that accept me as root then? Hm seems odd to me. I guess it would not be polite of me to not try it out when yhou have put so much energy into it.

Be patient with me now. In the meanwhile I got curious on if Porteus would also refuse to allow me to write to the menu.lst.

so I booted it up and chosed to be root at the boot. So when I did open the Terminal it confirmed me was root. and it allowed me to change and save two different files. Menu.lst and todo.txt that I also tested it on.

Would that not be a more easy thing to test first?

I mean how do I force antiX to log me in as root?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#23
You do not need to login as root.

1. Open a terminal.
2. Type sux
3. Type 'root' without the '' marks
4. Type rox
5. You are now using rox as root user. Navigate in root rox to the file you want to edit.
6. Click on the file and it should open it leafpad. Edit and save

If you get any errors in any of these steps, say what they are and which step you get it.
newbody
Posts: 76
newbody
Joined: 28 Mar 2010
#24
I gave it a test again today but it failed. when one use grub4dos iso booting then the software set the hdd as read only even for root.

What si the code for booting a normal frugal install on ntfs hdd?

It worked well for my other computers but seems to fail for this Acer D250 not sure why.
Have tried to find the right code but failed.

Any suggestion would be heartly welcome
Posts: 76
newbody
Joined: 28 Mar 2010
#25
Roky sorry I never tested your suggestion. I maybe dont understand how I open two such programs?

I am in Archiso now and it boots very good but have exact same problem as AntiX has.

It will not allow me to write to the partition it booted from even as root.

Why on earth have them done it this hard. And not telling how to solve it either.
So typical for elitistic nerds. Many of them seems to have the attitude that
the fewer that know how to use the software the less trouble with noobs asking haha.

Just me annoyed.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#26
It will not allow me to write to the partition it booted from even as root.
The difference between you a me as far as I see it.

You are booting linux as a frugal install inside of ntfs. Just a wild guess since Arch iso ,(I am assuming this is a live Arch Iso like Chakra), is exhibiting the same problems writing to / partition.

It seems to me that these frugal installs you do end up being only read only installs. Which makes them impossible to change anything. Like I said. Just a wild guess from a Biker.
Posts: 117
buttcoffee
Joined: 20 Aug 2010
#27
Newbody, you won't be able to write to the ntfs drive unless you have installed the ntfs-3g package, I believe. On frugal installs, that package won't be included, so you need to install yourself. It's definitely not on the arch-core iso.

to get it for antix or arch, copy and paste these commands in the command line

Antix:
su
apt-get update && apt-get install ntfs-3g

Arch:
su
pacman -Syy && pacman -S ntfs-3g

Now should be able mount and write to the drive or whatever it is you're trying to do. For antix you can follow this guide
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.debian.org/NTFS"
linktext was:"https://wiki.debian.org/NTFS"
====================================
and make sure you installed ntfs-3g before you try it. For arch, you can use this guide
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/Ntfs"
linktext was:"https://wiki.archlinux.org/index.php/Ntfs"
====================================
. Read them first and then try.
Posts: 76
newbody
Joined: 28 Mar 2010
#28
buttcoffee thanks for your detailed suggestion. I trust you on that.

Maybe I would get it to work doing as you suggest. But I am too chicken
to try. I feel so bad when I screw up things. I lose sense of self worth for
a long time and have a hard time getting it back so I will post pone it until
I really need these two Linux OS.

Just now Puppy and LMDE works well enough for me to not need any other.

Sorry delay in answering. Maybe me have not set the proper things in profile?
I never got any email telling you and Roky wrote.

Roky you are right. it has to do with a long time policy them have on what
a Live Session User is supposed to be able to do or not. A kind of attitude them have!