Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 15 Dec 2019, 23:35
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Dismembering Puppy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
drongo


Joined: 10 Dec 2005
Posts: 380
Location: UK

PostPosted: Wed 22 Oct 2008, 15:02    Post subject:  Dismembering Puppy
Subject description: How do I get at the scripts in Puppy?
 

Despite the fact I have been using Puppy for years I really don't know how the internals really work.

I have been poking around and have managed to find the text file which appears on first boot but when I look for anything else all I find is symlinks.

Can I get at the startup scripts from a running live-CD or do I need a copy of unleashed or a full install to "get at" these scripts? I assume they are compressed and only decompressed when required, so that's why I can't access them from a running system?

Is there anything on the wiki or Barry's site which explains how to do this? Have I not been looking hard enough?

Thanks.
Back to top
View user's profile Send private message 
alienjeff


Joined: 08 Jul 2006
Posts: 2291
Location: Winsted, CT - USA

PostPosted: Wed 22 Oct 2008, 15:55    Post subject:  

You can start your quest by snooping around /etc/rc.d and then decide whether you want to go further.
_________________
hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker

Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2647

PostPosted: Wed 22 Oct 2008, 16:06    Post subject:  

Mount the CD from a running system and copy the initrd over to hard drive. then decompress and lop-mount it to see the startup file system. As jeff mentioned, the rest of the story all begins in /etc/rc.d, well, actually with /etc/inittab. Good luck! as it is pretty hairy in there...
Back to top
View user's profile Send private message 
alienjeff


Joined: 08 Jul 2006
Posts: 2291
Location: Winsted, CT - USA

PostPosted: Wed 22 Oct 2008, 16:11    Post subject:  

... not to mention hirsute. Wink
_________________
hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker

Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Thu 23 Oct 2008, 00:03    Post subject:  

Initrd.gz isn't actually a compressed filesystem anymore (definitely since 3.00, possibly since 2.17). It's now a compressed cpio archive. To extract it, do something like this:
Code:
mkdir initrd-tree
cd initrd-tree/
zcat ../initrd.gz | cpio -d -i

That assumes you're using a terminal in the same place as the initrd.gz file. It dumps the innards into a directory named initrd-tree/ in that location.

To put it back together, run these from inside that initrd-tree/ directory:
Code:
rm ../initrd.gz
find . | cpio -o -H newc | gzip -9 > ../initrd.gz

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4872
Location: Blue Springs, MO

PostPosted: Sat 25 Oct 2008, 10:11    Post subject:
Subject description: scripts
 

@pizza - thanks for that info - I have been using Ubuntu to get at init in the recent past trying to make a T2 package for all Puppy-ware - your tip will save me lots of time

@drongo - if you use ROX to view properties it will tell you where your file symlinks to... many are in /usr/sbin or just /sbin
Back to top
View user's profile Send private message Visit poster's website 
VK6FUN

Joined: 18 Oct 2008
Posts: 127
Location: North Baandee, Western Australia

PostPosted: Sun 28 Dec 2008, 08:28    Post subject:  

I am vey interested to find out how much dismembering of puppy can be done.

For instance, I would like to dismantle X and make a 5-console puppy, with tail -f /var/log/syslog > tty1; mc > tty2;
and so on,

console-based netconfig and alsaconfig.

Any other serious minimalists out there?

cheers

73deVK6FUN
Pete
Back to top
View user's profile Send private message 
Q5sys


Joined: 11 Dec 2008
Posts: 1126

PostPosted: Thu 20 May 2010, 12:33    Post subject:  

Pizzasgood wrote:
To extract it, do something like this:
Code:
mkdir initrd-tree
cd initrd-tree/
zcat ../initrd.gz | cpio -d -i

That assumes you're using a terminal in the same place as the initrd.gz file. It dumps the innards into a directory named initrd-tree/ in that location.

To put it back together, run these from inside that initrd-tree/ directory:
Code:
rm ../initrd.gz
find . | cpio -o -H newc | gzip -9 > ../initrd.gz


Ok so i've tried to do this but I keep getting the following on reboot:
Code:
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

Im not making any changes at all, just simply opening and repacking. I'll include the bash output from my attempt.

Code:

For Console QuickStart type-> phelp <Enter>  Software versions-> ver <Enter>
<root> /mnt/mmcblk0p1
bash-4.1# mkdir initrd-tree
<root> /mnt/mmcblk0p1
bash-4.1# cd initrd-tree/
<root> /mnt/mmcblk0p1/initrd-tree
bash-4.1# zcat ../initrd.gz | cpio -d -i
cpio: busybox: Cannot symlink to `bin/fgrep': Operation not permitted
cpio: e3: Cannot symlink to `bin/e3ws': Operation not permitted
cpio: busybox: Cannot symlink to `bin/[[': Operation not permitted
cpio: busybox: Cannot symlink to `bin/hwclock': Operation not permitted
cpio: busybox: Cannot symlink to `bin/ps': Operation not permitted
cpio: busybox: Cannot symlink to `bin/ln': Operation not permitted
cpio: busybox: Cannot symlink to `bin/chgrp': Operation not permitted
cpio: busybox: Cannot symlink to `bin/head': Operation not permitted
cpio: busybox: Cannot symlink to `bin/rm': Operation not permitted
cpio: busybox: Cannot symlink to `bin/readlink': Operation not permitted
cpio: busybox: Cannot symlink to `bin/umount': Operation not permitted
cpio: busybox: Cannot symlink to `bin/tr': Operation not permitted
cpio: busybox: Cannot symlink to `bin/chroot': Operation not permitted
cpio: busybox: Cannot symlink to `bin/sync': Operation not permitted
cpio: busybox: Cannot symlink to `bin/mkdir': Operation not permitted
cpio: e3: Cannot symlink to `bin/e3em': Operation not permitted
cpio: busybox: Cannot symlink to `bin/sh': Operation not permitted
cpio: busybox: Cannot symlink to `bin/false': Operation not permitted
cpio: e2fsck: Cannot symlink to `bin/fsck.ext3': Operation not permitted
cpio: e3: Cannot symlink to `bin/e3ne': Operation not permitted
cpio: busybox: Cannot symlink to `bin/grep': Operation not permitted
cpio: busybox: Cannot symlink to `bin/pivot_root': Operation not permitted
cpio: busybox: Cannot symlink to `bin/switch_root': Operation not permitted
cpio: busybox: Cannot symlink to `bin/renice': Operation not permitted
cpio: e3: Cannot symlink to `bin/e3pi': Operation not permitted
cpio: busybox: Cannot symlink to `bin/sed': Operation not permitted
cpio: busybox: Cannot symlink to `bin/mount': Operation not permitted
cpio: busybox: Cannot symlink to `bin/sleep': Operation not permitted
cpio: busybox: Cannot symlink to `bin/swapoff': Operation not permitted
cpio: busybox: Cannot symlink to `bin/passwd': Operation not permitted
cpio: busybox: Cannot symlink to `bin/du': Operation not permitted
cpio: busybox: Cannot symlink to `bin/[': Operation not permitted
cpio: busybox: Cannot symlink to `bin/syslogd': Operation not permitted
cpio: busybox: Cannot symlink to `bin/zcat': Operation not permitted
cpio: e3: Cannot symlink to `bin/e3vi': Operation not permitted
cpio: busybox: Cannot symlink to `bin/ash': Operation not permitted
cpio: busybox: Cannot symlink to `bin/df': Operation not permitted
cpio: busybox: Cannot symlink to `bin/touch': Operation not permitted
cpio: busybox: Cannot symlink to `bin/logread': Operation not permitted
cpio: busybox: Cannot symlink to `bin/cat': Operation not permitted
cpio: busybox: Cannot symlink to `bin/true': Operation not permitted
cpio: busybox: Cannot symlink to `bin/tee': Operation not permitted
cpio: busybox: Cannot symlink to `bin/tail': Operation not permitted
cpio: busybox: Cannot symlink to `bin/clear': Operation not permitted
cpio: busybox: Cannot symlink to `bin/pwd': Operation not permitted
cpio: busybox: Cannot symlink to `bin/swapon': Operation not permitted
cpio: busybox: Cannot symlink to `bin/dd': Operation not permitted
cpio: busybox: Cannot symlink to `bin/cut': Operation not permitted
cpio: busybox: Cannot symlink to `bin/klogd': Operation not permitted
cpio: e2fsck: Cannot symlink to `bin/fsck.ext2': Operation not permitted
cpio: busybox: Cannot symlink to `bin/dmesg': Operation not permitted
cpio: busybox: Cannot symlink to `bin/fdisk': Operation not permitted
cpio: busybox: Cannot symlink to `bin/chown': Operation not permitted
cpio: busybox: Cannot symlink to `bin/echo': Operation not permitted
cpio: busybox: Cannot symlink to `bin/gunzip': Operation not permitted
cpio: busybox: Cannot symlink to `bin/pidof': Operation not permitted
cpio: busybox: Cannot symlink to `bin/sort': Operation not permitted
cpio: busybox: Cannot symlink to `bin/free': Operation not permitted
cpio: busybox: Cannot symlink to `bin/login': Operation not permitted
cpio: busybox: Cannot symlink to `bin/mkswap': Operation not permitted
cpio: busybox: Cannot symlink to `bin/killall': Operation not permitted
cpio: busybox: Cannot symlink to `bin/eject': Operation not permitted
cpio: busybox: Cannot symlink to `bin/dirname': Operation not permitted
cpio: busybox: Cannot symlink to `bin/basename': Operation not permitted
cpio: busybox: Cannot symlink to `bin/expr': Operation not permitted
cpio: busybox: Cannot symlink to `bin/uname': Operation not permitted
cpio: busybox: Cannot symlink to `bin/ls': Operation not permitted
cpio: e2fsck: Cannot symlink to `bin/fsck.ext4': Operation not permitted
cpio: busybox: Cannot symlink to `bin/wc': Operation not permitted
cpio: busybox: Cannot symlink to `bin/test': Operation not permitted
cpio: busybox: Cannot symlink to `bin/chmod': Operation not permitted
cpio: busybox: Cannot symlink to `bin/init': Operation not permitted
cpio: busybox: Cannot symlink to `bin/usleep': Operation not permitted
cpio: busybox: Cannot symlink to `bin/stat': Operation not permitted
cpio: busybox: Cannot symlink to `bin/mv': Operation not permitted
cpio: busybox: Cannot symlink to `bin/kill': Operation not permitted
cpio: busybox: Cannot symlink to `bin/egrep': Operation not permitted
cpio: dev/hda3: Cannot mknod: Operation not permitted
cpio: dev/hda: Cannot mknod: Operation not permitted
cpio: dev/sdc4: Cannot mknod: Operation not permitted
cpio: dev/mmcblk0p2: Cannot mknod: Operation not permitted
cpio: dev/sdh1: Cannot mknod: Operation not permitted
cpio: dev/sdc9: Cannot mknod: Operation not permitted
cpio: dev/sdb12: Cannot mknod: Operation not permitted
cpio: dev/fb0: Cannot mknod: Operation not permitted
cpio: dev/hdd3: Cannot mknod: Operation not permitted
cpio: dev/null: Cannot mknod: Operation not permitted
cpio: dev/loop3: Cannot mknod: Operation not permitted
cpio: dev/sdb: Cannot mknod: Operation not permitted
cpio: dev/sdf1: Cannot mknod: Operation not permitted
cpio: dev/hdd4: Cannot mknod: Operation not permitted
cpio: dev/kmsg: Cannot mknod: Operation not permitted
cpio: dev/sdb14: Cannot mknod: Operation not permitted
cpio: dev/sda: Cannot mknod: Operation not permitted
cpio: dev/hdb7: Cannot mknod: Operation not permitted
cpio: dev/hdb2: Cannot mknod: Operation not permitted
cpio: dev/loop10: Cannot mknod: Operation not permitted
cpio: dev/hdc3: Cannot mknod: Operation not permitted
cpio: dev/mmcblk0p1: Cannot mknod: Operation not permitted
cpio: dev/sda11: Cannot mknod: Operation not permitted
cpio: dev/sdg: Cannot mknod: Operation not permitted
cpio: dev/sdf2: Cannot mknod: Operation not permitted
cpio: dev/hdc4: Cannot mknod: Operation not permitted
cpio: dev/sda3: Cannot mknod: Operation not permitted
cpio: dev/sda13: Cannot mknod: Operation not permitted
cpio: dev/sdd5: Cannot mknod: Operation not permitted
cpio: dev/tty2: Cannot mknod: Operation not permitted
cpio: dev/sdf4: Cannot mknod: Operation not permitted
cpio: dev/sdc11: Cannot mknod: Operation not permitted
cpio: dev/hdc2: Cannot mknod: Operation not permitted
cpio: dev/hda10: Cannot mknod: Operation not permitted
cpio: dev/sr3: Cannot mknod: Operation not permitted
cpio: dev/hda6: Cannot mknod: Operation not permitted
cpio: dev/hda4: Cannot mknod: Operation not permitted
cpio: dev/sdh2: Cannot mknod: Operation not permitted
cpio: dev/sdc12: Cannot mknod: Operation not permitted
cpio: dev/sdc2: Cannot mknod: Operation not permitted
cpio: dev/hdb6: Cannot mknod: Operation not permitted
cpio: dev/sda15: Cannot mknod: Operation not permitted
cpio: dev/sdb10: Cannot mknod: Operation not permitted
cpio: dev/loop4: Cannot mknod: Operation not permitted
cpio: dev/sda5: Cannot mknod: Operation not permitted
cpio: dev/hda9: Cannot mknod: Operation not permitted
cpio: dev/sdf7: Cannot mknod: Operation not permitted
cpio: dev/hda8: Cannot mknod: Operation not permitted
cpio: dev/scd1: Cannot mknod: Operation not permitted
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/sde8: Cannot mknod: Operation not permitted
cpio: dev/sdd6: Cannot mknod: Operation not permitted
cpio: dev/scd0: Cannot mknod: Operation not permitted
cpio: dev/hdd7: Cannot mknod: Operation not permitted
cpio: dev/sda9: Cannot mknod: Operation not permitted
cpio: dev/sr1: Cannot mknod: Operation not permitted
cpio: dev/sda6: Cannot mknod: Operation not permitted
cpio: dev/sde4: Cannot mknod: Operation not permitted
cpio: dev/sdc14: Cannot mknod: Operation not permitted
cpio: dev/loop9: Cannot mknod: Operation not permitted
cpio: dev/sdb13: Cannot mknod: Operation not permitted
cpio: dev/sde7: Cannot mknod: Operation not permitted
cpio: dev/hdc8: Cannot mknod: Operation not permitted
cpio: dev/hdc7: Cannot mknod: Operation not permitted
cpio: dev/sdb7: Cannot mknod: Operation not permitted
cpio: dev/sdb8: Cannot mknod: Operation not permitted
cpio: dev/sdd8: Cannot mknod: Operation not permitted
cpio: dev/hdb: Cannot mknod: Operation not permitted
cpio: dev/sdb6: Cannot mknod: Operation not permitted
cpio: dev/hda1: Cannot mknod: Operation not permitted
cpio: dev/hdd1: Cannot mknod: Operation not permitted
cpio: dev/sdb9: Cannot mknod: Operation not permitted
cpio: dev/sda4: Cannot mknod: Operation not permitted
cpio: dev/sdf: Cannot mknod: Operation not permitted
cpio: dev/sr2: Cannot mknod: Operation not permitted
cpio: dev/hdc: Cannot mknod: Operation not permitted
cpio: dev/hdc5: Cannot mknod: Operation not permitted
cpio: dev/hdb5: Cannot mknod: Operation not permitted
cpio: dev/hda2: Cannot mknod: Operation not permitted
cpio: dev/sdi1: Cannot mknod: Operation not permitted
cpio: dev/sde3: Cannot mknod: Operation not permitted
cpio: dev/sdg2: Cannot mknod: Operation not permitted
cpio: dev/hdc6: Cannot mknod: Operation not permitted
cpio: ram0: Cannot symlink to `dev/ramdisk': Operation not permitted
cpio: dev/sda12: Cannot mknod: Operation not permitted
cpio: dev/loop5: Cannot mknod: Operation not permitted
cpio: dev/hda7: Cannot mknod: Operation not permitted
cpio: dev/sdb5: Cannot mknod: Operation not permitted
cpio: dev/sde: Cannot mknod: Operation not permitted
cpio: dev/sdc5: Cannot mknod: Operation not permitted
cpio: dev/loop2: Cannot mknod: Operation not permitted
cpio: dev/sda1: Cannot mknod: Operation not permitted
cpio: dev/sde2: Cannot mknod: Operation not permitted
cpio: dev/hdc1: Cannot mknod: Operation not permitted
cpio: dev/sdd1: Cannot mknod: Operation not permitted
cpio: dev/hdb3: Cannot mknod: Operation not permitted
cpio: dev/sdb4: Cannot mknod: Operation not permitted
cpio: dev/loop1: Cannot mknod: Operation not permitted
cpio: dev/ram1: Cannot mknod: Operation not permitted
cpio: dev/tty4: Cannot mknod: Operation not permitted
cpio: dev/sdb1: Cannot mknod: Operation not permitted
cpio: dev/systty: Cannot mknod: Operation not permitted
cpio: dev/sdf6: Cannot mknod: Operation not permitted
cpio: dev/sde6: Cannot mknod: Operation not permitted
cpio: dev/hda11: Cannot mknod: Operation not permitted
cpio: dev/loop8: Cannot mknod: Operation not permitted
cpio: dev/scd2: Cannot mknod: Operation not permitted
cpio: dev/sdf8: Cannot mknod: Operation not permitted
cpio: dev/hdd8: Cannot mknod: Operation not permitted
cpio: dev/sr0: Cannot mknod: Operation not permitted
cpio: dev/sdi2: Cannot mknod: Operation not permitted
cpio: dev/ram0: Cannot mknod: Operation not permitted
cpio: dev/sdc13: Cannot mknod: Operation not permitted
cpio: dev/hda5: Cannot mknod: Operation not permitted
cpio: dev/mmcblk0: Cannot mknod: Operation not permitted
cpio: dev/zero: Cannot mknod: Operation not permitted
cpio: dev/hda15: Cannot mknod: Operation not permitted
cpio: dev/sdi: Cannot mknod: Operation not permitted
cpio: dev/sdd4: Cannot mknod: Operation not permitted
cpio: dev/scd3: Cannot mknod: Operation not permitted
cpio: dev/ram: Cannot mknod: Operation not permitted
cpio: dev/hda16: Cannot mknod: Operation not permitted
cpio: dev/sdc7: Cannot mknod: Operation not permitted
cpio: dev/loop6: Cannot mknod: Operation not permitted
cpio: dev/sdd3: Cannot mknod: Operation not permitted
cpio: dev/hdd: Cannot mknod: Operation not permitted
cpio: dev/sde1: Cannot mknod: Operation not permitted
cpio: dev/hdb4: Cannot mknod: Operation not permitted
cpio: dev/sde5: Cannot mknod: Operation not permitted
cpio: dev/sdd2: Cannot mknod: Operation not permitted
cpio: dev/sdc3: Cannot mknod: Operation not permitted
cpio: dev/sdg1: Cannot mknod: Operation not permitted
cpio: dev/sda8: Cannot mknod: Operation not permitted
cpio: dev/sdb3: Cannot mknod: Operation not permitted
cpio: dev/sda7: Cannot mknod: Operation not permitted
cpio: dev/sdf5: Cannot mknod: Operation not permitted
cpio: dev/fuse: Cannot mknod: Operation not permitted
cpio: dev/hdb1: Cannot mknod: Operation not permitted
cpio: dev/hda14: Cannot mknod: Operation not permitted
cpio: dev/sdb2: Cannot mknod: Operation not permitted
cpio: dev/sdc15: Cannot mknod: Operation not permitted
cpio: dev/hdd5: Cannot mknod: Operation not permitted
cpio: dev/hdb8: Cannot mknod: Operation not permitted
cpio: dev/hdd2: Cannot mknod: Operation not permitted
cpio: dev/sda2: Cannot mknod: Operation not permitted
cpio: dev/tty1: Cannot mknod: Operation not permitted
cpio: dev/sdc8: Cannot mknod: Operation not permitted
cpio: dev/sdc10: Cannot mknod: Operation not permitted
cpio: dev/sda10: Cannot mknod: Operation not permitted
cpio: dev/sdc6: Cannot mknod: Operation not permitted
cpio: dev/sdb15: Cannot mknod: Operation not permitted
cpio: dev/hdd6: Cannot mknod: Operation not permitted
cpio: dev/sdd: Cannot mknod: Operation not permitted
cpio: dev/sda14: Cannot mknod: Operation not permitted
cpio: dev/sdc: Cannot mknod: Operation not permitted
cpio: dev/tty3: Cannot mknod: Operation not permitted
cpio: dev/loop0: Cannot mknod: Operation not permitted
cpio: dev/fd0: Cannot mknod: Operation not permitted
cpio: dev/hda12: Cannot mknod: Operation not permitted
cpio: dev/sdb11: Cannot mknod: Operation not permitted
cpio: dev/sdc1: Cannot mknod: Operation not permitted
cpio: dev/hda13: Cannot mknod: Operation not permitted
cpio: dev/sdd7: Cannot mknod: Operation not permitted
cpio: dev/sdh: Cannot mknod: Operation not permitted
cpio: dev/loop7: Cannot mknod: Operation not permitted
cpio: dev/sdf3: Cannot mknod: Operation not permitted
cpio: dev/loop11: Cannot mknod: Operation not permitted
cpio: dev/loop12: Cannot mknod: Operation not permitted
cpio: dev/loop13: Cannot mknod: Operation not permitted
cpio: dev/loop14: Cannot mknod: Operation not permitted
cpio: dev/loop15: Cannot mknod: Operation not permitted
cpio: dev/loop16: Cannot mknod: Operation not permitted
cpio: dev/loop17: Cannot mknod: Operation not permitted
cpio: dev/loop18: Cannot mknod: Operation not permitted
cpio: dev/loop19: Cannot mknod: Operation not permitted
cpio: dev/loop20: Cannot mknod: Operation not permitted
cpio: dev/loop21: Cannot mknod: Operation not permitted
cpio: dev/loop22: Cannot mknod: Operation not permitted
cpio: dev/loop23: Cannot mknod: Operation not permitted
cpio: dev/loop24: Cannot mknod: Operation not permitted
cpio: dev/loop25: Cannot mknod: Operation not permitted
cpio: dev/loop26: Cannot mknod: Operation not permitted
cpio: dev/loop27: Cannot mknod: Operation not permitted
cpio: dev/loop28: Cannot mknod: Operation not permitted
cpio: dev/loop29: Cannot mknod: Operation not permitted
cpio: dev/loop30: Cannot mknod: Operation not permitted
cpio: dev/loop31: Cannot mknod: Operation not permitted
cpio: dev/loop32: Cannot mknod: Operation not permitted
cpio: dev/loop33: Cannot mknod: Operation not permitted
cpio: dev/loop34: Cannot mknod: Operation not permitted
cpio: dev/loop35: Cannot mknod: Operation not permitted
cpio: dev/loop36: Cannot mknod: Operation not permitted
cpio: dev/loop37: Cannot mknod: Operation not permitted
cpio: dev/loop38: Cannot mknod: Operation not permitted
cpio: dev/loop39: Cannot mknod: Operation not permitted
cpio: dev/loop40: Cannot mknod: Operation not permitted
cpio: dev/loop41: Cannot mknod: Operation not permitted
cpio: dev/loop42: Cannot mknod: Operation not permitted
cpio: dev/loop43: Cannot mknod: Operation not permitted
4216 blocks
<root> /mnt/mmcblk0p1/initrd-tree
bash-4.1# rm ../initrd.gz
<root> /mnt/mmcblk0p1/initrd-tree
bash-4.1# find . | cpio -o -H newc | gzip -9 > ../initrd.gz
4149 blocks
<root> /mnt/mmcblk0p1/initrd-tree
bash-4.1#


Im doing this on a seperate machine, so its not like im trying to edit the file on the machine that is actively using it.

Anyone able to help?

Last edited by Q5sys on Thu 20 May 2010, 13:07; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 20 May 2010, 12:39    Post subject:  

You need to unpack it on a Linux filesystem such as ext2, ext3, or ext4.
Back to top
View user's profile Send private message Visit poster's website 
Q5sys


Joined: 11 Dec 2008
Posts: 1126

PostPosted: Thu 20 May 2010, 13:05    Post subject:  

jemimah wrote:
You need to unpack it on a Linux filesystem such as ext2, ext3, or ext4.


I did, my primary puppy install is on an ext2 drive.
Should I try doing it on a non puppy distro?

btw had a MAJOR typo in my previous post which I corrected
Quote:
Im not doing this on a seperate machine, so its not like im trying to edit the file on the machine that is actively using it.

the first 'not' shouldnt have been there. I must have changed how to write the sentence in my mind once I started. I AM trying to do this on another machine. But that machine still runs puppy.
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 20 May 2010, 13:24    Post subject:  

What kind of file system is on /mnt/mmcblk0p1? Is that a usb drive?
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1438
Location: England

PostPosted: Thu 20 May 2010, 13:27    Post subject:  

For Connecting to internet/network have a look at CLInet.
http://www.murga-linux.com/puppy/viewtopic.php?search_id=41681517&t=51097
Back to top
View user's profile Send private message Visit poster's website 
Q5sys


Joined: 11 Dec 2008
Posts: 1126

PostPosted: Thu 20 May 2010, 13:31    Post subject:  

jemimah wrote:
What kind of file system is on /mnt/mmcblk0p1? Is that a usb drive?


its a SD card that I use in my 1005ha EeePc. But yes, it is formated in Ext2. I just found my fedora live USB so I'm going to hop over onto that and see if I get a different result.
If I need to do it on a physical drive thats not a problem. If my Fedora attempt fails... i'll try that next.

EDIT:
Doing it on a physical harddrive seemed to alleviate the issue. Guess doing it on the SD card was causing something to go wonky.
It worked fine this time when I expanded it and then repacked it.
So then I moved on and tried to edit some stuff and unfortunately my attempted edit resulted in a "kernel panic attempting to kill init", but that was because of an error I made in init.
Thanks for the help jemimah
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0769s ][ Queries: 12 (0.0057s) ][ GZIP on ]