Resize initrd Problem

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
merved
Ronin
Ronin
Posts: 2
Joined: 20 Sep 2012, 13:39
Location: trabzon

Resize initrd Problem

Post#1 by merved » 21 Sep 2012, 06:07

i want to do resize initrd but i dont understand its normally resize or not cause i get some problem
root@porteus ./resize-initrd.sh initrd
Creating 2 exra loop devices
unpacking and mounting initrd
lzma: initrd.lzma: File format not recognized
initrd : No such file or directory
Please provide size for your new initrdin KB
20000
cp: cannot stat '/tmp/old2496/*': No such file or directory.
your 20000 KB initrd in mounted in '/tmp/new2496/*'now you can copy some extra files to it Press enter when finished...
SCRIPT
if [ "$1" = "" ]; then
echo "launch me with full path to initrd.lz, example: ./resize-initrd /mnt/sr0/boot/initrd.lz"
exit 1
fi
i have not initrd.lz is .lz extention in Slax? help please :(

User avatar
fanthom
Site Admin
Site Admin
Posts: 4548
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Resize initrd Problem

Post#2 by fanthom » 21 Sep 2012, 08:30

hello merved,

you must be using an old script for porteus v09, please find a link to updated one in this thread:
link
Please add [Solved] to your thread title if the solution was found.

merved
Ronin
Ronin
Posts: 2
Joined: 20 Sep 2012, 13:39
Location: trabzon

Re: Resize initrd Problem

Post#3 by merved » 21 Sep 2012, 14:10

@fanthom
Thanks a lot it works! This answers soluited our problem and now our project working succesfuly! Thanks again. :Yahoo!:

Post Reply