[SOLVED] Need clarification on persistent home
Hi everyone,
My system boots off a USB HDD, and I seem to have not been able to make the persistent home option to work, I created sda5 with fat32 and did Knoppix menu -> Configure -> Persistent home. After a few tries with 'home=scan' , 'home=/mnt/sda5', 'home=/dev/sda5', 'home=/mnt/sda5/knoppix.img' etc. , whatever I gave up.
-Knoppix 5.0.1
Questions, questions, questions : Where is the script that handles persistent home live?
When does the persistent menu come up during boot?
Does the scanner only scan for primary partitions and NOT logical?
Can it scan fat32?
:) Whats better? persistent home or Save KNOPPIX configuration?
Thanks. :twisted:
knoppix 5.0.1 :: More On Persistant home
-=- knoppix.img not being recognised at boot -=-
I have been having a similar problem with getting version 5.0.1 to recognise my knoppix.img file at boot.
Have been spending most of the day working on it. Glad i bothered to scan over the topics in this forum section before posting a new queiry, as there are some hints in the above that relate to what i've been doing today. Mainly to do with the use of cli options along with the 'home=' option.
It appears that in hotplainrices case it was a filesystem type problem. Not quite sure just what the fs problem was there though.
But i also see it mentioned by Jacky that ...
>>
2) no cheat codes at all always works.
3) "knoppix home=/dev/sda5/.......... does not work
4) "knoppix home=/media/sda5/knoopix.img works
>>
The last two wouldn't work for me, and i used 'dev' in both paths, rather than 'medis'. So i will try media and the 4th option. And 'no cheatcodes'
I'm using a 17 inch NEC C500 monitor, around 9 years old. And a low end 4 MB s3virge Diamond card, (Diamond Stealth). It generally gets me by. But i always have major initial problems with tiny fonts with all the distros i use.
The high resolution default vga state really drives me up the wall. And i can't stand display managers. I insist on booting to the console, and then starting X up from there. Either with 'startx or via a custom script to select an other window manager from my favorite 'fvwm'. Which over the years i have configured into a very low footprint, non-minimal manager. It rocks.
I am not a kde person nor a gnome person but i respect a persons right to be so. But i wont accept those as defaults, as all the distros seem to insist on.
In any case, i have been using '2' and 'vga=normal' along with 'dma' and 'lang=us' with my path to knoppix.img on the cli. It appears the 'noeject' is missing from v5.0.1 too.
So i will try without any other options and see what happens :). But if i can't get a readable bootup ... i go bonko.
It has been a frustrating day, but finding this thread has provided some hope there. So i the cli hint is it.
Glad it's fixed for you hotplainrice, but i can't really see what you mean there. Unless your saying that the partitions fs wasn't supported by the knoppix kernel ?
Cheers :)
jm
Workaround: how to load persistent image after boot up
Hello Jim, any luck?
After experimenting, and studying the autoconfig and knoppix-image scripts, I found that there was a way to load a persistent image after boot up.
The way to do it is:
1) mount the drive where the image is stored. Read-only will do.
2) open a root shell and issue this command (change the path to where your image is): knoppix-image /media/sda5/knoppix.img
3) Knoppix will ask if you wish to load the image, select yes or ok.
4) you will get messages saying the image was loaded and merged.
Changes to system files, stuff added in your /home directory etc will now all take effect. However for items (in your persistent image) to show up on the desktop, you need to issue "restartx" from a root shell.
There are some quirks: after restartx, a Log Out from the K-menu merely sends you to the text-mode prompt rather than proceeding with a restart or shutdown. You have to shutdown Knoppix manually from the prompt with e.g. shutdown -P now
Re: Workaround: how to load persistent image after boot up
hotplainrice:
Can't see why it shouldn't work with a logical, but i'll consider that. As far as the kernel seeing the logical device though, it won't have a problem. And as thats whats only important for referencing the device, i doubt if it would have any bearing. But still, something to consider. Thanks for the clarification.
------------------------------------------:
Thanks for that Jacky :)
No real luck as yet ...
I hadn't thought of mounting the partition and then issuing a command after booting in. I'll try that.
It does mean that v5.0.1 is seriously broken though.
I boot with 'knoppix-txt' ... On a 17 inch crt monitor i find the 10pxl, 12pxl default quite horrendous. I just can't read such small fonts (grin). But that seems to be a common thing amongst the distros. One that i call 'gross slackness' .
I also prefer booting to the console and then starting X up manually, usually using a custom script to select a desktop. In v5.0.1 i tend to go for xfce4.
I also got the quirk mentioned above with kde only allowing an image to be saved to a floppy. Which sounds like kde is trying to impose training wheels on the bike, so to speak, for some wierd reason.
Seems to be the way Linux is going in a lot of distros theses days too, trying to make things <cough> simpler </cough> for people. But only making it harder as a result really (grin).
The cheat codes should work. If they don't, then the version is broken. And a person shouldn't have to do a remaster just to hack out start up scripts to make them work properly.
The 'myconfig=' option works fine, but even then i have to be careful how many cli options i use. So i'll just use
knoppix-txt 2 lang=us myconfig=<path-to-dev>
I haven't gone far with it since thursday, but iv'e copied out a few directories, mainly just /etc, to compare the scripts with v4.0. On a preliminary look the knoppix init in /etc/rcn.d does look a little strange around the part that checks for the home= parameter. But i'll have to look further at that.
I'll try your suggestion in the mean time though .. :)
Thanks for the feed back :)
jm
Thought :
Are dinosaurs really extinct, or just really good at hiding ?
5.0.1 2006.06.01 is brocken
-=- A little more on this -=-
Tried the above ... no luck.
But the myconfig= works. So iv'e been working a custom 'knoppix.sh' script to mount the knoppix.img and just copy over my edits to the ramdisk. Not just $HOME, but /etc edits as well. Been having some success. And expect it to become usable in that way over the next few days.
But it shouldn't need to be worked around to such an extent.
As some people do get the home= parameter to work i figure there may some differences in the iso images for 5.0.1 Possibly relating to the build date.
The knoppix-autoconfig file with mine looks like it's incomplete in its' range of checking. I'll need to look at it more fully to be sure. But so far, it seems to mount the knoppix.img file but on the very next line it unmounts it ! With out any message echo for both operations. Which would explain it the apparent 'not being found' experience.
It seems to be in an incomplete state, or , in a state that requires some serious remastering by design !
Weired really. If it is supposed to be a method of demonstrating Linux and doubling as a rescue technique ... it falls over badly on both counts. Can't see any other reason for a LiveCD if not for those two main purposes.
It tends to taint an otherwise potential work of art ... unfortunately .. as it does have a lot of interesting apps/facilities that are worth looking at, eclipse for one.
But if a person can't get it up in the first place, without having to jump through so many hoops, that amount to an almost complete reconfiguration of the boot scripts ... ho hummm :)
Can't recommend 5.0.1 to anyone, thats for sure.
jm