It is currently Thu Oct 30, 2014 8:56 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 47 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 1:57 am 
Online
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 788
newbody wrote:
What was that Run /mnt/media not allowing me to see sda2?
I don't understand what you mean by "Run /mnt/media". Your sda2 device will be mounted at /live/mount-dev.
Quote:
Did Anti or you forgot that I should look at live boot-dev instead?
I still don't understand but I bet that looking at /live/boot-dev instead of under /mnt or /media is the right answer.
Quote:
I did not even know such directories could exist. I had not happen to meet those terms before.
We made up those names ourselves and this is the first release that uses them so it is no surprise that you have not seen them before.
Quote:
Okay about the root thing. Yes I know that most Linux Devs don't want us to be root. Future will tell how I decide on it.
As you have been told before, it is much less secure and it is easy to break things accidentally. I think/hope that once you get things set up, you won't need to be root as much.
Quote:
Now a questions you don't have to answer. All the other derivates or forks or pure Debian OS existing can they learn from you how to do this then as long as you get recognitions with your name in the code?
They are welcome to learn from what we did and they don't have to credit us (but it would be nice). The software is GPL-2 so they are welcome to use that and modify it as long as the modification are also released under the GPL-2.

I would be very happy if other distros wanted to use what we have made. That was part of why I created such detailed documentation. Right now it works for both antiX and Mepis. I doubt it would work on other distros without at least some minor changes. I'd love to make it general purpose so it could work on a wide range of distributions. Some init scripts and programs are needed to make use of all the features but I think what we have would be very useful to others even if those features aren't used.

We *want* other people to use it.

Quote:
As I remember you told me the file that makes it possible to save on NTFS is rather small even if making it where rather difficult which explains nobody has done it before on Mepis varieties???
Most of the changes are in the linuxrc script. We rewrote it a couple of times in order to make use of the features in modern kernels and to make use of features in an updated version of busybox. Working on the original linuxrc script was very difficult. I think working on the new version is much more straightfoward. Also, there is a lot more debugging and reporting built in. Take a look at the /var/log/antiX/linuxrc.log file or try booting with verb=8 or even verb=9.
Quote:
Knopper has done it for Knoppix but that is not 100% Debian maybe?
Yes he did. In fact we used a few lines of his GPL-2 code for the ntfs stuff. All of this happens so early in the boot process that Debian compatiblity is not an issue. Well, actually there are a few tricks that are needed in order for Debian installs and updates to work smoothly on the Live system. But those tricks are not Debian specific. All they do is make the Live system look more like an installed system.
Quote:
So congratulations to having accomplish this. I've been waiting sine AntiX 8.5 for to be able to do this. So happy you made it possible.
Thank you. I think I started working on this stuff back in antiX-8.0 or so. Of course anticapitalista played a big part. Even though I did most of the coding, very little of this would have happened without him. In addition to his many other talents he is very skilled at herding cats. And by "cats" I mean programmers. In fact, he was the one who pushed for adding the ability to have persistence and remastering on ntfs partitions. IMO it is almost like asking for the ability to build a house on quicksand. OTOH, it is probably as safe as logging into the GUI as root. :D

Edit: Do you always get those modprobe error messages (like the two in the picture you posted)? Do they always appear in the same place?

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 12:02 pm 
Offline

Joined: Sun Mar 28, 2010 3:26 pm
Posts: 76
I have to put in the delay or the bp=2 again to look. It flies bye to fast.
I think those error messages have gone now.


Edit. I used bp=9 and took a look and all look normal.
What disappoints me is that it fail to remember that I told
grandr to make use of 1024 x 768 instead it goes to default 800 x 600.
So either I have to set it to that one theboot or edit some other file
xorg.conf or something. I know too little. Annoying that it don't remember.

Can I expand homefs without loosing changes?
What is it that gets added to it. okay I should read back in thread.
If I delete the old and make a new bigger one what size would be okay?

Sometimes things are easy but one need to know what to do.
I did a ctrl+alt+Bspace and wanted to start a specific WM
so wrote startx slim but that where wrong one just write slim
not startx


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 1:34 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 4826
Location: Greece
If you want to try out other windows managers after you are at the desktop, just logout and at the login prompt press F1 until you see the windows manager you want to try.
You can also do that at boot with this cheat. desktop=name of wm eg desktop=jwm or desktop=fluxbox


The easiest way to avoid typing 1024 x 768 at every boot is to add the cheat you use permanently to your /boot/menu.lst

Not sure if you can expand homefs without losing changes. Maybe someone else knows for sure.
Size of homefs will depend on what sort of files you want to save. Text files are pretty small, but if you want to save audio/video and images, they take up a lot of space.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 2:55 pm 
Offline

Joined: Sun Mar 28, 2010 3:26 pm
Posts: 76
Anti, the vga=791 seems to only set the resolution of splash and not of the desktop or firefox or anything else.
To change such I need to go into grandr but that only last for that session and not for next.
It did not help to do vga=ask either that only changed how splash looked not the desktop
and the programs like Iceweasel I am a spoiled person. To set it up each time manually
hat becomes tedius to have set each time. Would it be easier to tell it to keep dpi=
some value what figures that I have no idea what to set it to. Does behave a bit like resolution?
what dpi is likely for to change a 800 x 600 look to a 1024 x 768 look?

Apart from that I feel very happy about your AntiX so thanks to you and BitJam caring about us
who want to boot live using frugal on NTFS. Now you only have to spread that news on LQ
and Puppy forum and so on. :)

oops I still have no clue on how to get Adobe Flash player going So typical for being Newbody


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 3:04 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 4826
Location: Greece
Try booting with the noxorg cheat removed.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 7:28 pm 
Offline

Joined: Sun Mar 28, 2010 3:26 pm
Posts: 76
Jay that worked. I actually asked about that bood code and my body felt unsure about it
but due to me not knowing anything I only felt in my stomack that it was unusual.

Yes now I have the resolution I need. So thanks


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 7:55 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 4826
Location: Greece
That boot cheat means you will be using vesa and an /etc/X11/xorg.conf is created. Ok if you don't want graphics acceleration.
Keeping noxorg as a cheat means that the nouveau acceleration drivers can be used, and intel so you can watch video full screen for example.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 8:45 pm 
Online
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 788
newbody wrote:
I have to put in the delay or the bp=2 again to look. It flies bye to fast.
I think those error messages have gone now.
That's okay. I think I know what caused them (thanks anti!) and it should be fixed in the next release.

Quote:
Can I expand homefs without loosing changes?
Yes, but it is not real easy. I plan to make it much easier in the next release.

Here is how I would do it now (someone may have a much easier way). At some point you need to boot without home persistence (this is one of the things I plan to fix). If it's not too difficult I would suggest booting without any persistence by just removing the persist boot code. If it is hard to remove this code then give it a ficticious persistence device: pdev=xxx. When the system is booted you want to double check and make sure home persistence is turned off:
Code:
$ df -Th | grep /home
If the type is "ext4" then you still have home persistence enabled and you will have to reboot and try again. If the type is "aufs" then you have succeeded and can go on to the next step.

As root:
Code:
# cd /live/boot-dev/antiX
# mkdir /mnt/oldhome /mnt/newhome
# cp homefs homefs.save
# mv homefs homefs.old
# mount -o loop homefs.old /mnt/oldhome
# dd if=/dev/zero of=homefs bs=1M count=0 seek=2000
# mkfs.ext4 -q -F homefs
# mount -o loop homefs /mnt/newhome
# cp -a /mnt/oldhome/* /mnt/newhome
# umount /mnt/oldhome
# umount /mnt/newhome

The next time you boot, you should have a larger home partition. The commands above give you about 2 Gig which should be reasonable since you had over 90 Gig free.

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 9:45 pm 
Offline

Joined: Sun Mar 28, 2010 3:26 pm
Posts: 76
Haha thanks, 2GB that is very big. I come from the world of Puppy
where they have a savefile about 500MB as the standard.
I guess the old limit where 1.9GB or something. Now maybe they
have found ways around that limit.

Thanks for the The code you gave. As I get it then?
One should write each line as separate and hit enter after each?
And one need to be root doing it?

Oh while I have your attention. What WM am I booted in as Demo?
If I boot in as root then another more restrict or older form of WM
appear if I do startx. If I write slim on the command line then I am
back in Demo and the old Desktop I recognize.

What should I tell the command line to get that WM without losing
being root? Yes I know you don't like root but I am used to it
on puppy and I fail to write the password that many times.
My body scream in protest each time. Hope I can ask such sensitive
questions. No offense intended.

Cool that you two worked on this feature for so long and not giving up on it.
I admire such stamina or what the correct word for it is?Dedication? Go?


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Fri Mar 09, 2012 9:56 pm 
Online
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 788
newbody wrote:
Oh while I have your attention. What WM am I booted in as Demo?
I don't know. I usually don't even start the window manager. Also, it depends on which version of antiX (full or base) that you are using. Someone else should be able to tell you.
Quote:
What should I tell the command line to get that WM without losing being root?
I think one thing you will have to do is copy all of the hidden files and directories from /home/demo to /root:
Code:
# cp -r /home/demo/.[a-zA-Z]* /root
I take no responsibility if things go horribly horribly wrong.
Quote:
Cool that you two worked on this feature for so long and not giving up on it.
I admire such stamina or what the correct word for it is?Dedication? Go?
Obsessive Compulsive Disorder? :D

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Sun Jul 29, 2012 2:07 pm 
Offline

Joined: Sun Mar 28, 2010 3:26 pm
Posts: 76
Guys it is embarrassing but I have to ask this.

Code: Select all

What does "Select all" refers to?

And trust that this part

SIZE=500
dd if=/dev/zero of=rootfs bs=1M count=0 seek=$SIZE
mkfs.ext2 -q -m 0 -O ^has_journal -F rootfs

means I write
SIZE=500 then hit enter
and then I write
dd if=/dev/zero of=rootfs bs=1M count=0 seek=$SIZE and hit enter

and then write mkfs.ext2 -q -m 0 -O ^has_journal -F rootfs and hit enter?


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Sun Jul 29, 2012 2:16 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 4826
Location: Greece
On antiX, there are 2 persistent files because, unlike Puppy, user and root are separate.

You need a homefs to save files in /home eg documents and changes you made to desktop eg wallpaper. (I think you said you still have a working homefs file).

You also need a rootfs file to save changes made to the root system eg if you install an application.

You set up both by going to the antiX-control centre -> Live tab -> Set Up Persistence
The one you want is set up rootfs. Size should be quite large, ext2 is recommended.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Sun Jul 29, 2012 2:25 pm 
Offline

Joined: Sun Mar 28, 2010 3:26 pm
Posts: 76
Yes thanks

Same as every year :)
I have to look back in threads
how one do it. I fail to set the keyboard
to Swedish or Norwegian.

I did chose Norwegian but it did not take
despite I had save for both rootfs and for homefs.

And it says that it save changes.

And I fail to change the resolution to screen and
have run the Randr thing each time to get it 1024x768
instead of the default 800x600

Apart from that thanks for AntiX


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Sun Jul 29, 2012 11:45 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 4826
Location: Greece
newbody have a red of the earlier posts in this thread. They answer your questions.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: live-persistence on ntfs partition
PostPosted: Wed Sep 05, 2012 4:13 pm 
Offline

Joined: Wed Sep 05, 2012 3:46 pm
Posts: 14
I want to try Antix with Live-Persistence but first I thought I'd get it booting without first.

I'm using grub4dos on an old laptop which currently only has FAT32 partitions, not NTFS. I assume it should still work on FAT32?

So I've extracted the vmlinuz, initrd.gz and linuxfs from the ISO into a folder on the second partition (seen as hd0,5 for some reason) iso/antiX. I just need to check the entry to boot it as I'm not familiar with the parameters. Does the following look correct?

kernel (hd0,5)/iso/antiX/vmlinuz vga=791 quiet lean noxorg blab=antiXlive bdir=iso/antiX en xres=1024x768
initrd (hd0,5)/iso/antiX/initrd.gz


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ]  Go to page Previous  1, 2, 3, 4  Next


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred