Page 1 of 1
Creating a 'save' file question
Posted: Sat 25 Sep 2010, 17:23
by DaveS
Is it possible to create a 'save' file without actually going through the shutdown process?
Posted: Sat 25 Sep 2010, 19:00
by trapster
Assuming you want the pupsave on hda1 and that hda1 is mounted
Code: Select all
dd if=/dev/zero of=/mnt/hda1/pup_save.2fs bs=1k count=50000
mke2fs -q -m 0 -F /mnt/hda1/pup_save.2fs
this makes you an
empty 50MB pupsave which should be used automatically on your next boot
Posted: Tue 28 Sep 2010, 18:37
by DaveS
Thanks Trapster. Not quite what I was after. I was wondering if a save file could be created and mounted for use 'on the fly', but I guess not as setting up the file system the first time has to be done during a boot process.
Posted: Wed 29 Sep 2010, 22:23
by Béèm
You could do as trapster says and then copy the contents of pup_rw to it.
This answers 'how to create a save file'
But mounting on the fly is something else.
So you would boot with a pfix=ram state and once booted mount that save file?
It should be mounted on /initrd/pup_rw then, if ever possible.