how open & close initrd.xz
-
- White ninja
- Posts: 16
- Joined: 23 Jan 2017, 14:54
- Distribution: Porteus 3.2.2 TDE R14.0.4
- Location: sudafrica
how open & close initrd.xz
Hello
someone can explain me how open & close initrd.xz of porteus 3.2.2??
i see here information about here:
http://www.porteus.org/component/conten ... ernel.html
but only explain about "Updating initial ramdisk for pxe boot" no how to change it
I also suppose that the new kernel use aufs 4 and not 3 how Is in the guide or tutorial "Compilation and usage of custom Porteus kernel "
thanks and hi
someone can explain me how open & close initrd.xz of porteus 3.2.2??
i see here information about here:
http://www.porteus.org/component/conten ... ernel.html
but only explain about "Updating initial ramdisk for pxe boot" no how to change it
I also suppose that the new kernel use aufs 4 and not 3 how Is in the guide or tutorial "Compilation and usage of custom Porteus kernel "
thanks and hi
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: how open & close initrd.xz
Probably be able to extract from it:
Also: Which you may be able to use to put together a new initrd with requested xz compression.
Code: Select all
guest@porteus:~$ bsdtar tf initrd.xz
.
sys
memory
memory/images
memory/xino
memory/copy2ram
memory/changes
fatal
dev
tmp
cleanup
proc
porteus
init
lib
lib/libe2p.so.2.3
lib/libext2fs.so.2.4
lib/libpthread.so.0
lib/libe2p.so.2
lib/libgcc_s.so
lib/libuClibc-0.9.33.2.so
lib/libc.so.0
lib/libuuid.so.1.3.0
lib/libcom_err.so.2
lib/libgcc_s.so.1
lib/libblkid.so.1.1.0
lib/libcom_err.so.2.1
lib/libext2fs.so.2
lib/modules
lib/libuuid.so.1
lib/libpthread-0.9.33.2.so
lib/ld-uClibc-0.9.33.2.so
lib/libblkid.so.1
lib/ld-uClibc.so.0
run
m
opt
opt/000-kernel
etc
etc/mtab
usr
usr/share
usr/share/pciids
usr/share/pciids/AMD
usr/share/pciids/AMD/amd-catalyst
usr/share/pciids/AMD/amd-catalyst-legacy
usr/share/pciids/nVidia
usr/share/pciids/nVidia/96.43
usr/share/pciids/nVidia/304
usr/share/pciids/nVidia/173.14
usr/share/udhcpc
usr/share/udhcpc/default.script
usr/lib
usr/lib/libntfs-3g.so.85.0.0
usr/lib/libntfs-3g.so.85
usr/lib/libntfs-3g.so
usr/bin
usr/bin/blkid
usr/bin/ntfs-3g
usr/bin/reiserfsck
usr/bin/e2fsck
union
var
var/log
var/tmp
bin
bin/dmesg
bin/md5sum
bin/bash
bin/grep
bin/vi
bin/lsmod
bin/kill
bin/halt
bin/ifconfig
bin/tac
bin/sed
bin/mount
bin/chroot
bin/modprobe
bin/umount
bin/clear
bin/ls
bin/ln
bin/pivot_root
bin/route
bin/sh
bin/touch
bin/eject
bin/sync
bin/sleep
bin/df
bin/ping
bin/cat
bin/free
bin/usleep
bin/find
bin/switch_root
bin/uniq
bin/lspci
bin/sort
bin/cp
bin/losetup
bin/chown
bin/basename
bin/ps
bin/udhcpc
bin/killall
bin/busybox
bin/reboot
bin/modinfo
bin/uname
bin/cut
bin/mkdir
bin/tail
bin/poweroff
bin/tr
bin/rev
bin/mknod
bin/rmdir
bin/rm
bin/lsof
bin/egrep
bin/chmod
bin/mv
mnt
linuxrc
Code: Select all
guest@porteus:~$ bsdcpio -it < initrd.xz
.
sys
memory
memory/images
memory/xino
memory/copy2ram
memory/changes
fatal
dev
tmp
cleanup
proc
porteus
init
...
bin/mv
mnt
linuxrc
3698 blocks
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Contributor
- Posts: 676
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Re: how open & close initrd.xz
You have mind and feelings. Be wise and clever.
-
- White ninja
- Posts: 16
- Joined: 23 Jan 2017, 14:54
- Distribution: Porteus 3.2.2 TDE R14.0.4
- Location: sudafrica
Re: how open & close initrd.xz
tome thanks your answer is the final solution
Bogomips "bsdtar tf initrd.xz" only list the fikes does not extract it
thanks to both
about aufs4 I answer myself
is required for kernel 4.x should be update tutorial about kernel
i compiled kernel 4.9.6 stable in porteus 3.2.2 using your ".config" and only retouched for activate high memory PAE, all compiled without problems all very fine.
If anyone wants it just ask for it.
bye and thanks again
Bogomips "bsdtar tf initrd.xz" only list the fikes does not extract it
thanks to both
about aufs4 I answer myself
is required for kernel 4.x should be update tutorial about kernel
i compiled kernel 4.9.6 stable in porteus 3.2.2 using your ".config" and only retouched for activate high memory PAE, all compiled without problems all very fine.
If anyone wants it just ask for it.
bye and thanks again
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: how open & close initrd.xz
lolololo wrote: Bogomips "bsdtar tf initrd.xz" only list the fikes does not extract it
Code: Select all
guest@porteus:~$ bsdtar xf initrd.xz usr/lib
Code: Select all
guest@porteus:~$ tree usr/ usr/ └── lib ├── libntfs-3g.so -> libntfs-3g.so.85.0.0 ├── libntfs-3g.so.85 -> libntfs-3g.so.85.0.0 └── libntfs-3g.so.85.0.0 1 directory, 3 files guest@porteus:~$ ls -lh usr/lib/libntfs-3g.so.85.0.0 -rwxr-xr-x 1 guest users 239K Apr 16 2016 usr/lib/libntfs-3g.so.85.0.0*
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- White ninja
- Posts: 16
- Joined: 23 Jan 2017, 14:54
- Distribution: Porteus 3.2.2 TDE R14.0.4
- Location: sudafrica
Re: how open & close initrd.xz
with X yes but foe me is more easy the other method that bsdtar or bsdcpio.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: how open & close initrd.xz
To extract the initrd.xz filesomeone can explain me how open & close initrd.xz of porteus 3.2.2??
Code: Select all
xz -d < initrd.xz | cpio -i
Code: Select all
find | cpio -H newc -o | xz --check=crc32 --x86 --lzma2 > /tmp/initrd.xz
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.