View Full Version : SUPER idea - Truly mobile OS on CD - Modifiable LiveCD
Fenix*NBK*
05-14-2005, 03:19 PM
UnionFS brings truly a revolution in the whole linux live CD world !
1) Older liveCD were both physically & logically read-only - allowing only some rescue operation to be made on PC.
2) Today's liveCDs are physically read-only but logically read-writeable - like Knoppix 3.8 - thanks to the revolutionary UnionFS technology.
3) Now imagine you have both physically & logically read-write liveCD - which allows you to work, customize install
and play at any location, at your friend's home, at work, anywhere !
I have an idea how to make step #3 happen - just listen:
On our liveCD we will have structure like this:
/
/OS
+
/ramdrive (virtual folder, not physically burned)
and we will mount /ramdrive over /OS to get into step 2.
But how will we make our CD truly modifiable - like in step 3?
The short answer is Multisession CDs !
The long answer is:
After the first session ends (i.e. you press restart -or- shutdown from KDE)
your /ramdrive must be written as session #2 as /Session2
right after restart - when knoppix boots it must union 3 filesystems
/OS (ro) + /Session2 (ro) + /ramdrive (rw)
so you have basically saved and continue your work from saved location !
Now, when you want to restart that session it, optionally, will be written as /Session3
and at the next boot the OS will union 4 directories:
/OS (ro) + /Session2 (ro) + /Session3 (ro) + /ramdrive (rw)
that's great - you have yust got your truly mobile OS, without expensive components
- such as mobile USB hard drives, flash disks, laptops, whatever ...
and if used on a mini DVD-R then will be compact and great !
what do you think ?
If you like the idea - then tell Klaus Knopper and other developers about that !
atrick-pay
05-14-2005, 03:37 PM
Sounds alot like Puppy Linux
l_zuly
05-15-2005, 08:00 AM
Before posting, look in Tips & Tricks forum in "Optimal man HD Install ..: how to realize "your great idea"
Fenix*NBK*
06-30-2005, 11:19 PM
yep, after the idea is checked, it is exactly like Puppy Linux !!!
One problem with Puppy however is hardware support. - it doesn't run on my PC :(
Another problem with Puppy - it's not KDE based.
I think it would be great !!!
to have a multi-session live-CD !
Here is a link to Multi-session liveCD forum from Puppy Linux team:
http://www.goosee.com/puppy/sforum/simpleforum_pro.cgi?fid=08
================================================== =====
My idea:
The puppy way: as-is won't work with Knoppix - you can't burn on mounted CD.
however, because Puppy Linux is only 60MB, and therefore loaded into RAM fully.
leaving the CD to be unmounted and ready to be burned.
In order for that technique to work on Knoppix we must build kind of mini-distro inside Knoppix, which after the session ends (and most RAM is freed), right before the restart will load mini-knoppix-suitable-only-for-cd-burning into RAM, then unmount the main Knoppix and burn the CD session.
So what do you think ???
Harry Kuhman
06-30-2005, 11:32 PM
When I burn a small iso (like DSL) onto a CD and leave the CD open for future writing, I can indeed write to the next session inside Linux. But after I do, the CD, which now shows the file structure of both sessions (the first being imported to the second), is no longer bootable. How do you propose to resolve this?
Fenix*NBK*
07-01-2005, 01:20 AM
Actually, it works-for-me.
I have a machine with 1 GB RAM. So I loaded Knoppix into RAM fully. My Knoppix is on DVD+RW disc.
then after using Knoppix I have added a text file to it. It just worked. The boot sector was NOT damaged.
The only rool: your CD burner must be not used or better yet - unmounted !
I think you have a special talent if you could burn second session, and damage the bootsector that way :)
Also, it works for Puppy Linux.
Harry Kuhman
07-01-2005, 01:38 AM
I think you have a special talent if you could burn second session, and damage the bootsector that way :)
I don't think it's so much that you're damaging a boot sector that's already written as it is that when you add another session to a CD you are rewriting a new master directroy structure (thats why you import old sessions into the new session or they will be "lost"). And the new master directory seems to be missing something (I have no idea what) that makes the CD bootable. I've duplicated this several times in DSL with both CDR and CDRW media.
Fenix*NBK*
07-01-2005, 02:14 PM
Then import previous session in K3B before (!!!) you burn second session.
k3B->tools-> import session
that way you won't damage the bootsector.
Harry Kuhman
07-01-2005, 10:01 PM
Then import previous session in K3B before (!!!) you burn second session.
I thought I had made it pretty clear that I had done that.
Fenix*NBK*
07-01-2005, 11:01 PM
then I will explain again, that I have NOT damaged my bootsector doing EXACTLY this.
How could it be done, that I haven't damaged my bootsector, but your's is damaged ?
The only rools about this to succeed:
a) your CD must be unmounted.
b) you must have spare space on your CD.
answers:
a) I have achieved unmounting because I runned knoppix from RAM instead of CD booting with option: "knoppix toram". I have 1GB of RAM.
b) In my case I have achieved extra space by burning CD ISO image into DVD+RW. I have DVD+-burner.
*It can be achieved by remastering Knoppix as well.
Fenix*NBK*
07-02-2005, 09:54 PM
To understand better my ideas I have made a very interesting artcile which you should read:
Year 2006: UnionFS and the Revolution of the GNU/Linux distro architecture: (my own article)
http://www.violtan.com/ae/linux_future.htm
Markus
07-03-2005, 03:32 PM
When I burn a small iso (like DSL) onto a CD and leave the CD open for future writing, I can indeed write to the next session inside Linux. But after I do, the CD, which now shows the file structure of both sessions (the first being imported to the second), is no longer bootable. How do you propose to resolve this?
I sometimes add files to feather, though not when running it but I suppose it could be done.
I don't use scsi emulation for the burner so it's /dev/hdc, but with emulation you can find the device with:
cdrecord -scanbus
First burn the iso using the -multi option:
cdrecord dev=/dev/hdc -v -eject speed=8 fs=16m -multi feather-0.7.4.iso
Then get the first block and next writable address of the last session:
cdrecord -msinfo dev=/dev/hdc
Let's say the output is: 0,72412
Make the iso with the dir that includes the files you want to add:
mkisofs -J -r -V Session2 -C 0,72412 -M /dev/hdc -o /path/to/output.iso /dir/to/burn
And burn it:
cdrecord dev=/dev/hdc -v -eject speed=8 fs=16m -multi /path/to/output.iso
Then boot up feather which includes the added files under /cdrom/.
This could also be used to make a customised feather as in: http://featherlinux.berlios.de/customisation.html
I'll take a look at kiso which someone mentioned in the news section for this. For just adding files the above works though, and yes, it does boot.
andrewmuck
03-04-2006, 02:42 PM
Has anyone done this? It would be nice to have an extra gig of read/write space after my bootable knoppix image.
Mostly I would just use it when shutting down to save my changes, but occasional *live* mounting rw or hitting *save* would come in handy.
Although UDF would seem best, I would want it encrypted so file system would not optimise anything then.
cya, Andrew...
Powered by vBulletin® Version 4.2.2 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.