LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
Search this Thread
Old 04-28-2012, 09:35 PM   #1
bbmak
Member
 
Registered: May 2004
Posts: 177

Rep: Reputation: 30
How to add lupu_xxx.sfs into initrd.gz?


Hi,
I try to do a pxe boot, and I want to put lupu_528.sfs into the initrd.gz file. So, it will boot from the tftp server.

I try gz and zcat to extract the initrd.gz, but somehow I got this output

Code:
cpio: dev/systty: Cannot mknod: Operation not permitted
cpio: dev/sdf7: Cannot mknod: Operation not permitted
cpio: dev/hda14: Cannot mknod: Operation not permitted
cpio: dev/loop10: Cannot mknod: Operation not permitted
cpio: dev/sde3: Cannot mknod: Operation not permitted
cpio: dev/hda13: Cannot mknod: Operation not permitted
cpio: dev/sdb8: Cannot mknod: Operation not permitted
cpio: dev/sdc8: Cannot mknod: Operation not permitted
cpio: dev/sdf: Cannot mknod: Operation not permitted
cpio: dev/sdh: Cannot mknod: Operation not permitted
cpio: dev/sr1: Cannot mknod: Operation not permitted
cpio: dev/sdb12: Cannot mknod: Operation not permitted
cpio: dev/sda4: Cannot mknod: Operation not permitted
cpio: dev/sda11: Cannot mknod: Operation not permitted
cpio: dev/sdc: Cannot mknod: Operation not permitted
cpio: dev/mmcblk0p2: Cannot mknod: Operation not permitted
cpio: dev/null: Cannot mknod: Operation not permitted
cpio: dev/sde5: Cannot mknod: Operation not permitted
cpio: dev/loop5: Cannot mknod: Operation not permitted
cpio: dev/sdd1: Cannot mknod: Operation not permitted
cpio: dev/sdf6: Cannot mknod: Operation not permitted
cpio: dev/mmcblk0p1: Cannot mknod: Operation not permitted
cpio: dev/sdh1: Cannot mknod: Operation not permitted
cpio: dev/sde4: Cannot mknod: Operation not permitted
cpio: dev/sr2: Cannot mknod: Operation not permitted
cpio: dev/hdc7: Cannot mknod: Operation not permitted
cpio: dev/sda5: Cannot mknod: Operation not permitted
cpio: dev/sdb10: Cannot mknod: Operation not permitted
cpio: dev/hdd6: Cannot mknod: Operation not permitted
cpio: dev/ram0: Cannot mknod: Operation not permitted
cpio: dev/zero: Cannot mknod: Operation not permitted
cpio: dev/hda4: Cannot mknod: Operation not permitted
cpio: dev/sdc6: Cannot mknod: Operation not permitted
cpio: dev/loop0: Cannot mknod: Operation not permitted
cpio: dev/tty: Cannot mknod: Operation not permitted
cpio: dev/sde1: Cannot mknod: Operation not permitted
cpio: dev/hda9: Cannot mknod: Operation not permitted
cpio: dev/sdg: Cannot mknod: Operation not permitted
cpio: dev/sdf2: Cannot mknod: Operation not permitted
cpio: dev/hdd1: Cannot mknod: Operation not permitted
cpio: dev/hdd7: Cannot mknod: Operation not permitted
cpio: dev/sdb: Cannot mknod: Operation not permitted
cpio: dev/scd3: Cannot mknod: Operation not permitted
cpio: dev/kmsg: Cannot mknod: Operation not permitted
cpio: dev/sdh2: Cannot mknod: Operation not permitted
cpio: dev/hdb1: Cannot mknod: Operation not permitted
cpio: dev/hdc4: Cannot mknod: Operation not permitted
cpio: dev/rtc: Cannot mknod: Operation not permitted
cpio: dev/mmcblk0: Cannot mknod: Operation not permitted
cpio: dev/loop1: Cannot mknod: Operation not permitted
cpio: dev/sdb4: Cannot mknod: Operation not permitted
cpio: dev/loop4: Cannot mknod: Operation not permitted
cpio: dev/hdd3: Cannot mknod: Operation not permitted
cpio: dev/sda: Cannot mknod: Operation not permitted
cpio: dev/sdd: Cannot mknod: Operation not permitted
cpio: dev/hdc8: Cannot mknod: Operation not permitted
cpio: dev/hdc1: Cannot mknod: Operation not permitted
cpio: dev/hda5: Cannot mknod: Operation not permitted
cpio: dev/sdc15: Cannot mknod: Operation not permitted
cpio: dev/sdb6: Cannot mknod: Operation not permitted
cpio: dev/sdc7: Cannot mknod: Operation not permitted
cpio: dev/sda12: Cannot mknod: Operation not permitted
cpio: dev/loop6: Cannot mknod: Operation not permitted
cpio: dev/loop2: Cannot mknod: Operation not permitted
cpio: dev/sdb5: Cannot mknod: Operation not permitted
cpio: dev/hdb2: Cannot mknod: Operation not permitted
cpio: dev/sdc9: Cannot mknod: Operation not permitted
cpio: dev/hdd2: Cannot mknod: Operation not permitted
cpio: dev/sda13: Cannot mknod: Operation not permitted
cpio: dev/sda10: Cannot mknod: Operation not permitted
cpio: dev/sdd7: Cannot mknod: Operation not permitted
cpio: dev/sdd8: Cannot mknod: Operation not permitted
cpio: dev/sdb15: Cannot mknod: Operation not permitted
cpio: dev/fb0: Cannot mknod: Operation not permitted
cpio: dev/sdc14: Cannot mknod: Operation not permitted
cpio: dev/sda6: Cannot mknod: Operation not permitted
cpio: dev/hda15: Cannot mknod: Operation not permitted
cpio: dev/sda9: Cannot mknod: Operation not permitted
cpio: dev/hda: Cannot mknod: Operation not permitted
cpio: dev/sdc1: Cannot mknod: Operation not permitted
cpio: dev/sdc11: Cannot mknod: Operation not permitted
cpio: dev/sdb2: Cannot mknod: Operation not permitted
cpio: dev/hdb3: Cannot mknod: Operation not permitted
cpio: dev/tty4: Cannot mknod: Operation not permitted
cpio: dev/loop8: Cannot mknod: Operation not permitted
cpio: dev/hdc3: Cannot mknod: Operation not permitted
cpio: dev/hdc: Cannot mknod: Operation not permitted
cpio: dev/sdc12: Cannot mknod: Operation not permitted
cpio: dev/sdb3: Cannot mknod: Operation not permitted
cpio: dev/sdc3: Cannot mknod: Operation not permitted
cpio: dev/hdd: Cannot mknod: Operation not permitted
cpio: dev/sdc13: Cannot mknod: Operation not permitted
cpio: dev/sdb14: Cannot mknod: Operation not permitted
cpio: dev/hdd8: Cannot mknod: Operation not permitted
cpio: dev/hda8: Cannot mknod: Operation not permitted
cpio: dev/ram: Cannot mknod: Operation not permitted
cpio: dev/hdc5: Cannot mknod: Operation not permitted
cpio: dev/hdb7: Cannot mknod: Operation not permitted
cpio: dev/sdd4: Cannot mknod: Operation not permitted
cpio: dev/sdc2: Cannot mknod: Operation not permitted
cpio: dev/sdc4: Cannot mknod: Operation not permitted
cpio: dev/sdc10: Cannot mknod: Operation not permitted
cpio: dev/sr0: Cannot mknod: Operation not permitted
cpio: dev/sdi: Cannot mknod: Operation not permitted
cpio: dev/sda7: Cannot mknod: Operation not permitted
cpio: dev/tty0: Cannot mknod: Operation not permitted
cpio: dev/tty3: Cannot mknod: Operation not permitted
cpio: dev/sdd5: Cannot mknod: Operation not permitted
cpio: dev/hda16: Cannot mknod: Operation not permitted
cpio: dev/hdb5: Cannot mknod: Operation not permitted
cpio: dev/hda3: Cannot mknod: Operation not permitted
cpio: dev/sda1: Cannot mknod: Operation not permitted
cpio: dev/sda15: Cannot mknod: Operation not permitted
cpio: dev/sda8: Cannot mknod: Operation not permitted
cpio: dev/sdf1: Cannot mknod: Operation not permitted
cpio: dev/sdd3: Cannot mknod: Operation not permitted
cpio: dev/hdb6: Cannot mknod: Operation not permitted
cpio: dev/sr3: Cannot mknod: Operation not permitted
cpio: dev/ram1: Cannot mknod: Operation not permitted
cpio: dev/scd1: Cannot mknod: Operation not permitted
cpio: dev/sdd2: Cannot mknod: Operation not permitted
cpio: dev/loop9: Cannot mknod: Operation not permitted
cpio: dev/sdf4: Cannot mknod: Operation not permitted
cpio: dev/hdc6: Cannot mknod: Operation not permitted
cpio: dev/sde: Cannot mknod: Operation not permitted
cpio: dev/scd2: Cannot mknod: Operation not permitted
cpio: dev/hdc2: Cannot mknod: Operation not permitted
cpio: dev/hda7: Cannot mknod: Operation not permitted
cpio: dev/hdb4: Cannot mknod: Operation not permitted
cpio: dev/hdd4: Cannot mknod: Operation not permitted
cpio: dev/sdc5: Cannot mknod: Operation not permitted
cpio: dev/fd0: Cannot mknod: Operation not permitted
cpio: dev/hdb8: Cannot mknod: Operation not permitted
cpio: dev/sdg2: Cannot mknod: Operation not permitted
cpio: dev/sdb11: Cannot mknod: Operation not permitted
cpio: dev/hdb: Cannot mknod: Operation not permitted
cpio: dev/sdb1: Cannot mknod: Operation not permitted
cpio: dev/hda10: Cannot mknod: Operation not permitted
cpio: dev/sdf8: Cannot mknod: Operation not permitted
cpio: dev/sdi2: Cannot mknod: Operation not permitted
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/sda3: Cannot mknod: Operation not permitted
cpio: dev/hda1: Cannot mknod: Operation not permitted
cpio: dev/sdf5: Cannot mknod: Operation not permitted
cpio: dev/sde7: Cannot mknod: Operation not permitted
cpio: dev/hda12: Cannot mknod: Operation not permitted
cpio: dev/hda6: Cannot mknod: Operation not permitted
cpio: dev/sdb13: Cannot mknod: Operation not permitted
cpio: dev/scd0: Cannot mknod: Operation not permitted
cpio: dev/loop7: Cannot mknod: Operation not permitted
cpio: dev/sde6: Cannot mknod: Operation not permitted
cpio: dev/sda2: Cannot mknod: Operation not permitted
cpio: dev/tty1: Cannot mknod: Operation not permitted
cpio: dev/hda2: Cannot mknod: Operation not permitted
cpio: dev/hdd5: Cannot mknod: Operation not permitted
cpio: dev/sdg1: Cannot mknod: Operation not permitted
cpio: dev/sdi1: Cannot mknod: Operation not permitted
cpio: dev/sda14: Cannot mknod: Operation not permitted
cpio: dev/sdb9: Cannot mknod: Operation not permitted
cpio: dev/sde2: Cannot mknod: Operation not permitted
cpio: dev/loop3: Cannot mknod: Operation not permitted
cpio: dev/sdf3: Cannot mknod: Operation not permitted
cpio: dev/sdd6: Cannot mknod: Operation not permitted
cpio: dev/fuse: Cannot mknod: Operation not permitted
cpio: dev/sde8: Cannot mknod: Operation not permitted
cpio: dev/sdb7: Cannot mknod: Operation not permitted
cpio: dev/hda11: Cannot mknod: Operation not permitted
cpio: dev/tty2: Cannot mknod: Operation not permitted
5445 blocks
Can anyone show me how to do it?

Last edited by bbmak; 04-28-2012 at 09:38 PM.
 
Old 04-29-2012, 08:09 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
hi

it depends on the compressor

http://blog.mybox.ro/2010/05/12/how-...-initrd-image/

and if sfs is a squashfile unpack with (and choose a folder to unpack it into pls)

Code:
unsquashfs lupu_528.sfs
merge them then repack the initrd

2) if you have a puppy structure it may be possible to use "layers" of squashfiles in which you don't need to install whatever your luu is into the initrd, but I assume sfs is a squashfile

good luck
 
Old 05-04-2012, 03:29 PM   #3
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 308

Rep: Reputation: 45
I think you should use a linux filesystem to extract initrd.gz .

Win filesystems do not allow to create symbolic links and the puppy /bin/mount script or /bin/mount-FULL are mounting Win fs with special permissions, mostly 755 so simple text files get an executable flag .
 
Old 05-16-2012, 03:50 AM   #4
8-bit
Member
 
Registered: Jan 2009
Location: Southern Oregon under a rock.
Distribution: Puppy 431 SCSI, Lucid 520, Slacko, Win 7
Posts: 131

Rep: Reputation: 49
One problem I see is that if the original initrd.gz file is not edited and I am not sure what one would comment out, but if my memory serves me right, part of the initrd.gz's instructions tell it to load the external puppy(ver).sfs file.
And that seems to be after loading the pupsave.(2-4)fs file. If a file in the pupsave is then present, it does not get overwritten by one in the puppy(ver).sfs when it loads.
You might ask the maker of roaring as the ISO he made had both combined in the initrd.gz file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you add Stabilized --hash to the initrd irgang Linux - General 1 09-28-2009 05:30 PM
add network module initrd B-Boy Linux - General 7 02-12-2009 07:57 AM
Add drivers to initrd shvnsen Linux - Enterprise 4 11-23-2008 12:54 AM
how can I add udev into initrd? randomsel Slackware 1 06-29-2008 09:27 PM
How to add non-US keyboard layout to initrd (cryptsetup)? malo_umoran Slackware 6 04-05-2008 09:44 AM


All times are GMT -5. The time now is 12:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration