Posted: Mon 25 Nov 2013, 05:31
Ah, boot from grub. Ok. Back in a few minutes.
READ-ONLY Archive
https://oldforum.puppylinux.com/
Code: Select all
DEV1FS=''
Code: Select all
guess_fstype /dev/sda2
Code: Select all
blkid /dev/sda2
Here you are!01micko wrote:Ok, my last post was crap (rdsh ? .. still crap), you can get all that from running pup anyway (pfix=ram of course).
Take a look in /initrd/tmp, zip up all those logs and post them, should cover everything and if/why there is a breakdown in the initrd.
TIA
~~~~~~~~~~~~Hello again, Mick.
I tried Godt's patch: no joy. However replacing the busybox blkid in
/sbin with the attached solves the problem, in CLI [mode] as least.
I did check BK's code with set -xe earlier and his exit script has no
errors. It's the Imperial Poodle who wrote the busybox applet for
blkid who should be chastised. (I hope you're not said Poodle!)
For the record: (will save you some typing)
* rename the link blkid in /sbin to blkid-NO
* unpack the attached in /sbin
* make a link from blkid-2.23 to blkid.
Done.
The attached blkid utility is a ready-made binary from archlinux, upx'd.
Version number -- of the utils-linux series it's from -- is 2.23. You may
wish to compile your own from the latest utils-linux-2.24 for your next
re-mastering / woofing of slacko.
Problem solved, as far as I'm concerned. TWYL.
Have a great day! (Which it is, isn't?)
musher0
Code: Select all
echo 393000 > pupsaveresize.txt
WOW ! /dev/null for trouble shooting. Very informative. Thanks. Common in Puppyland .echo "Let's begin."
echo
mount /dev/sda1 /mnt/sda1 >/dev/null 2>&1
cd /mnt/sda1
echo "Here are the names of some common Puppies:"
echo
...and here is the full list: Puppy DerivativesKarl Godt wrote:WOW ! /dev/null for trouble shooting. Very informative. Thanks. Common in Puppyland ....
echo "Here are the names of some common Puppies:"
...
Maybe another inspiration:musher0 wrote:...Thanks for the unlikely
"inspiration" !
running your script it wrote:ls: cannot access /mnt/sda1: No such file or directory
Please mount partition /mnt/sda1 and restart the script.
If you are on a diskless station, burn your Puppy on
DVD and use it in multi-session mode; this script is of
no use to you.
#
Hi, L18L.L18L wrote:Maybe another inspiration:musher0 wrote:...Thanks for the unlikely
"inspiration" !
running your script it wrote:ls: cannot access /mnt/sda1: No such file or directory
Please mount partition /mnt/sda1 and restart the script.
If you are on a diskless station, burn your Puppy on
DVD and use it in multi-session mode; this script is of
no use to you.
#
Really, of no use for me but hopefully for others.
Code: Select all
blkid | grep "v/sr"
Code: Select all
mkdir -p /mnt/"$DRV"
Code: Select all
mkdir -p /mnt/"$DRV"
mount /dev/"$DRV" /mnt/"$DRV"
[ $? = 0 ] || { echo "Sorry.. unable to mount /dev/$DRV /mnt/$DRV . Exiting.";exit 1; }
# Thanks to Karl_Godt for the feedback. Nov. 30, 2013.
Code: Select all
dd if=/dev/zero of="$NOM"save-arf.2fs bs=1k count=393000
[ $? = 0 ] || { echo "Sorry.. unable to create savefile correctly. Exiting."; return 1; }
mkfs.ext2 -q -m 0 -F "$NOM"save-arf.2fs
[ $? = 0 ] || { echo "Sorry.. unable to create filesystem in savefile. Exiting."; return 1; }
return 0
Code: Select all
create
[ $? = 0 ] || { echo "Some error occurred. Exiting. Sorry."; exit 1; }
;;
Code: Select all
if [ "$A" = "y" ];then
create
[ "$?" = 0 ] || { echo "Some error occurred. Exiting. Sorry."; exit 1; }
Hi, Karl.Karl Godt wrote:There is themissing..Code: Select all
mkdir -p /mnt/"$DRV"
Still /dev/null ..
No rox /mnt/"$DRV" .. to check for progress at least at the end ..
If I get error messages a clear will erase them ..
Nicely written and readable, but content is less than the eye .
Code: Select all
if [ "$A" = "y" ];then