Empowering the Zdrv

How to do things, solutions, recipes, tutorials
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#46 Post by musher0 »

Hi nic007.

It's easy to squish stuff with this procedure. I hope you have a back-up?
Please see my post above and jrb's reply.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#47 Post by nic007 »

musher0 wrote:Hi nic007.

It's easy to squish stuff with this procedure. I hope you have a back-up?
Please see my post above and jrb's reply.

BFN.
Hi musher0, not sure I follow. I don't have a devx file. Will it work if the two sfs files are not in the same location... where should I move it to? ....or does this method just have issues anyway like it may work or may not?

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

Use boot params

#48 Post by gyro »

Of course instead of renaming files or moding the initrd.gz, you could try specifying them as boot params.

Here is an extract from slacko 5.7 "init", (it's been in standard "init" for a while now)

Code: Select all

[ $pupsfs ] && PUPSFS=$pupsfs #format partition:<path><filename> ex: sda2:/wary071/wary_071.sfs
[ $zdrv ] && ZDRV=$zdrv #ex: sda2:/wary071/zdrv_071.sfs
[ $adrv ] && ADRV=$adrv
[ $ydrv ] && YDRV=$ydrv
This shows how to use these params. e.g.

Code: Select all

pupsfs=sda2:/wary071/zdrv_071.sfs zdrv=sda2:/wary071/wary_071.sfs
or

Code: Select all

ydrv=sda2:/wary071/zdrv_071.sfs
Just be aware of the following limitations:
1) They don't fail gracefully, so get it right.
2) They cannot work on usb drives
3) Only the pup..sfs and pupsave code is capbable of mounting a partition. All other sfs's must reside on one of these 2 partitions.

Remember the order of the sfs's in the aufs stack is adrv, ydrv, pupsfs, zdrv.

gyro

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#49 Post by nic007 »

I've copied the files to hard drive and re-booted. It now seems to load without kernel panic but later stops at a login error

Post Reply