List Info

Thread: Re: How to extract the content of the Knoppix 5.3.0 minirt.gz ?




Re: How to extract the content of the Knoppix 5.3.0 minirt.gz ?
user name
2008-03-15 02:17:36
Well I gave it a try... and then another.
Then I backed up my knoppix.img.
Then I did the commands that previously gave me all kinds of
errors... as root.
Which produced only the expected output about removing
leading slash...

gunzip minirt.gz
mkdir init_tmp
cd init_tmp

cpio -imvd --no-absolute-filenames -I ../minirt
yada yada yada... well all I did here was touch ./linuxrc
find . | cpio --quiet -o -H newc | gzip -9 >
../minirt.gz

and the new minirt.gz is about the same size as the
original.
It booted up ok.

What's with the error about a missing selinuxfs on these
minirts?
.


-- 
To UNSUBSCRIBE, email to debian-knoppix-requestlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: How to extract the content of the Knoppix 5.3.0 minirt.gz ?
user name
2008-03-15 04:14:27
Well after wondering what the missing 2k bytes or so were...
it would
seem that because ~lib is restored as a link... whatever is
below
can't be restored in the relative tree maybe.
Same with files under ~sbin.

lib/terminfo/l/linux
and sbin/mount.ntfs  as well as sbin/mount.ntfs-3g are
missing after
the restore to the working directory.

There's the 2k.
So that doesn't reall work to well.

-rwxr-xr-x   1 root     root         1695 Feb  2 18:25
/lib/terminfo/l/linux
-rwxr-xr-x   1 root     root       652380 Feb 11 17:34
/static/ntfs-3g
-rwxr-xr-x   1 root     root          209 Jul 31  2002
/etc/auto.mnt
lrwxr-xr-x   1 root     root           18 Feb 16 15:51
/sbin/mount.ntfs -> ../static/ntfs-3g
lrwxr-xr-x   1 root     root           18 Feb 16 15:51
/sbin/mount.ntfs-3g -> ../static/ntfs-3g


On 3/15/08, John Woods <gtbuttongmail.com> wrote:
> Well I gave it a try... and then another.
> Then I backed up my knoppix.img.
> Then I did the commands that previously gave me all
kinds of errors... as
> root.
> Which produced only the expected output about removing
leading slash...
>
> gunzip minirt.gz
> mkdir init_tmp
> cd init_tmp
>
> cpio -imvd --no-absolute-filenames -I ../minirt
> yada yada yada... well all I did here was touch
./linuxrc
> find . | cpio --quiet -o -H newc | gzip -9 >
../minirt.gz
>
> and the new minirt.gz is about the same size as the
original.
> It booted up ok.
>
> What's with the error about a missing selinuxfs on
these minirts?
> .
>


-- 
To UNSUBSCRIBE, email to debian-knoppix-requestlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: How to extract the content of the Knoppix 5.3.0 minirt.gz ?
user name
2008-03-17 00:38:53
On 3/15/08, John Woods <gtbuttongmail.com> wrote:
> Well after wondering what the missing 2k bytes or so
were... it would
> seem that because ~lib is restored as a link...
whatever is below
> can't be restored in the relative tree maybe.
> Same with files under ~sbin.
>
> lib/terminfo/l/linux
> and sbin/mount.ntfs as well as sbin/mount.ntfs-3g are
missing after
> the restore to the working directory.
>
> There's the 2k.
> So that doesn't reall work to well.
>
> -rwxr-xr-x 1 root root 1695 Feb 2 18:25
/lib/terminfo/l/linux
> -rwxr-xr-x 1 root root 652380 Feb 11 17:34
/static/ntfs-3g
> -rwxr-xr-x 1 root root 209 Jul 31 2002 /etc/auto.mnt
> lrwxr-xr-x 1 root root 18 Feb 16 15:51
> /sbin/mount.ntfs -> ../static/ntfs-3g
> lrwxr-xr-x 1 root root 18 Feb 16 15:51
> /sbin/mount.ntfs-3g -> ../static/ntfs-3g
>
>
> On 3/15/08, John Woods <gtbuttongmail.com> wrote:
> > Well I gave it a try... and then another.
> > Then I backed up my knoppix.img.
> > Then I did the commands that previously gave me
all kinds of errors... as
> > root.
> > Which produced only the expected output about
removing leading slash...
> >
> > gunzip minirt.gz
> > mkdir init_tmp
> > cd init_tmp
> >
> > cpio -imvd --no-absolute-filenames -I ../minirt
> > yada yada yada... well all I did here was touch
./linuxrc
> > find . | cpio --quiet -o -H newc | gzip -9 >
../minirt.gz
> >
> > and the new minirt.gz is about the same size as
the original.
> > It booted up ok.
> >
> > What's with the error about a missing selinuxfs on
these minirts?
> > .
> >
>

Just for completeness sake...
The answer to this riddle is... you must have a chroot setup
to extract it to.
I made a quick and dirty chroot to see and left my steps to
make one here.
ht
tp://www.knoppix.net/forum/viewtopic.php?t=28645

john


-- 
To UNSUBSCRIBE, email to debian-knoppix-requestlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )