Need script for USB -> full install
May need to run updater within PPM to get it to work... I don't remember... probably.
gnu-fdisk_1.2.5-2 installs for me. Now to see if it works...
On the netbook and out of the house, so replies will be unusually terse and infrequent.
EDIT: well, that's pretty useless let's see if I can get gdisk to install...
gnu-fdisk_1.2.5-2 installs for me. Now to see if it works...
On the netbook and out of the house, so replies will be unusually terse and infrequent.
EDIT: well, that's pretty useless let's see if I can get gdisk to install...
Package gdisk_0.8.8 installs fine for me -- you need to update the repository info.
Default PPM window -> wrench-n-screwdriver icon, upper LH corner -> "Update database" tab -> "Update now" button... grab a cuppa, but take the comp with you, you need to press [ENTER] (and NO other key!) at each prompt for updates (it shouldn't need that level of interactivity IMO but it has it). When done, [ENTER] closes, and PPM restarts -- this time with the correct package retrieval info.
Default PPM window -> wrench-n-screwdriver icon, upper LH corner -> "Update database" tab -> "Update now" button... grab a cuppa, but take the comp with you, you need to press [ENTER] (and NO other key!) at each prompt for updates (it shouldn't need that level of interactivity IMO but it has it). When done, [ENTER] closes, and PPM restarts -- this time with the correct package retrieval info.
I actually tried that however when I hit <Enter> the window closed andstarhawk wrote:Package gdisk_0.8.8 installs fine for me -- you need to update the repository info.
nothing was updated.
Anyway this is a little bit aside from the main issue.
I will drop further investigations in how to get PARTUUID since
root=/dev/sdxx will work if you name sdxx right example sdc1
and provide "rootwait" option.
I will output a reminder from install script at the end where it says
it's time for grub4dos something like
If you intend to boot from a USB memory device then don't forget to
add rootwait to extra? options
will research the exact wording of course
Here is a version of the script that is working for me: puppy_full_installer
It works both with legacy support and without (running with -n parameter).
It uses unsquashfs instead of loop mount & cp.
I don't know if that is a problem.
Is unsquashfs present on most puppies?
If you run into trouble define DEBUG for more verbose output
like so
Request For Comments
It works both with legacy support and without (running with -n parameter).
It uses unsquashfs instead of loop mount & cp.
I don't know if that is a problem.
Is unsquashfs present on most puppies?
If you run into trouble define DEBUG for more verbose output
like so
Code: Select all
export DEBUG=true && ./puppy_full_installer
Output from run of new script... I don't think it worked
Code: Select all
root# ./puppy-full-installer.sh
I assume you have formatted the drive to ext(2,3,4)
I'm not babysitting so if it isn't do it now!
Is it? (y or n + [Enter/Return])
y
Assuming you are not stupid...
OK, remember.. I'm not responsible here...
Proceeding...
Insert your drive and mount it.
Then tell me the target drive partition (eg: sdc1, sdd1 etc)
GET IT RIGHT!
what is the drive partition?
sdd1
Seems sane..
Ok, /mnt/sdd1 exists. Good.
Now we need some source files
either mount a CD/DVD or an ISO file
THEN, tell me the mount point path
EXAMPLE: /mnt/sr0 or /mnt/+mnt+sda5+iso+tahr64-6.0.3.9.iso
An easy way to do that is enter the mounted folder and type 'pwd' in a terminal
Type the source mount point path.
/mnt/+root+Downloads+X-tahr-1b3.iso
Seems sane..
Install from /mnt/+root+Downloads+X-tahr-1b3.iso to /mnt/sdd1
Press y + [Enter/Return] to continue
y
---------------------------------------------------------------
Decompressing: /mnt/+root+Downloads+X-tahr-1b3.iso/puppy_tahr_6.0.2.sfs
To target: /mnt/sdd1
please have patience.
Parallel unsquashfs: Using 2 processors
20527 inodes (24780 blocks) to write
[===========================================================/] 24780/24780 100%
created 14790 files
created 1761 directories
created 5402 symlinks
created 335 devices
created 0 fifos
Decompressing: /mnt/+root+Downloads+X-tahr-1b3.iso/zdrv_tahr_6.0.2.sfs
To target: /mnt/sdd1
please have patience.
Parallel unsquashfs: Using 2 processors
2918 inodes (3190 blocks) to write
[=============================================================/] 3190/3190 100%
created 2909 files
created 596 directories
created 9 symlinks
created 0 devices
created 0 fifos
Upgrading tahrpup to version 6.0.2...
Updating w.m. menus...
grep: /etc/xdg/templates/_root_.jwmrc: No such file or directory
Updating boot and shutdown system scripts...
Executing depmod, to update module files...
/bin/kmod
depmod: ERROR: could not open directory /lib/modules/3.17.4: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
find: warning: you have specified the -noleaf option after a non-option argument -path, but options are not positional (-noleaf affects tests specified before it as well as those specified after it). Please specify options before other arguments.
Updating /etc/networkmodules...
grep: /lib/modules/3.17.4/modules.dep: No such file or directory
cat: /lib/modules/3.17.4/modules.dep: No such file or directory
gtk-update-icon-cache: Cache file created successfully.
Files being translated:
/etc/rc.d/functions4puppy4
/etc/rc.d/rc.sysinit
/etc/rc.d/rc.update
/etc/rc.d/rc.country
/usr/local/petget/0setup
Files being translated:
/root/Choices/ROX-Filer/PuppyPin
cp: cannot stat '/root/Choices/ROX-Filer/PuppyPin': No such file or directory
/root/.jwmrc-tray
cp: cannot stat '/root/.jwmrc-tray': No such file or directory
+ '[' '!' /root ']'
+ '[' /root = / ']'
+ export HOME
+ '[' -f /root/.jwm/menuheights ']'
++ find /etc/profile.d -name '*.csh'
+ CSH=
+ '[' '' ']'
+ '[' en_US.UTF-8 = C ']'
++ echo -n en_US.UTF-8
++ cut -f 1 -d _
+ LANG1=en
++ tr '\n' ' '
++ ls -1 /etc/xdg/templates
+ TEMPLATES=
++ which variconlinks
+ '[' ']'
++ which tempicons
+ '[' ']'
++ which fbpanel_menu_refresh
+ '[' ']'
++ which lxpanel_menu_refresh
+ '[' ']'
++ which jwm2fluxbox
+ '[' ']'
++ which obmenu-refresh
+ '[' ']'
++ which jwm2pekwm
+ '[' ']'
++ which xfce4-panel
+ '[' /usr/bin/xfce4-panel ']'
+ xfce4-panel -r
(process:23454): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
+ gtk-update-icon-cache -f -i /usr/share/icons/hicolor
gtk-update-icon-cache: Cache file created successfully.
+ touch --no-create /usr/share/applications/
rmdir: failed to remove ‘/mnt/+root+Downloads+X-tahr-1b3.iso’: Device or resource busy
---------------------------------------------------------------
Hopefully we're done ...
Do not forget if your target is a USB drive then add "rootwait"
in the Options textbox in grub4dos-config window with title:
"Grub4DosConfig - List of detected operating systems"
It is essential for a successful boot.
now run grub4dos-config to make it bootable.
root#
How did it look in sdd1?starhawk wrote:Output from run of new script... I don't think it worked
Could you do the export DEBUG=true before another run?
Are these error what you mean by not working?
Code: Select all
Upgrading tahrpup to version 6.0.2...
Updating w.m. menus...
grep: /etc/xdg/templates/_root_.jwmrc: No such file or directory
Executing depmod, to update module files...
/bin/kmod
depmod: ERROR: could not open directory /lib/modules/3.17.4: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
find: warning: you have specified the -noleaf option after a non-option argument -path, but options are not positional (-noleaf affects tests specified before it as well as those specified after it). Please specify options before other arguments.
Updating /etc/networkmodules...
grep: /lib/modules/3.17.4/modules.dep: No such file or directory
cat: /lib/modules/3.17.4/modules.dep: No such file or directory
cp: cannot stat '/root/Choices/ROX-Filer/PuppyPin': No such file or directory /root/.jwmrc-tray
cp: cannot stat '/root/.jwmrc-tray': No such file or directory
rmdir: failed to remove ‘/mnt/+root+Downloads+X-tahr-1b3.iso’: Device or resource busy
Code: Select all
chroot $DESTMNTPT /etc/rc.d/rc.update option2hdinstall
it still worked
please report what you get in sdd1
and what errors when booting
or you could try running script with -n
Screenshot of sdd1 (shows up as sdc1 because I took it out and later reinserted it) attached.
Will report boot results shortly, gotta make the attempt first
EDIT: no I'm doesn't! Missing attachment has been fixed.
Will report boot results shortly, gotta make the attempt first
EDIT: no I'm doesn't! Missing attachment has been fixed.
- Attachments
-
- Screenshot.jpg
- (40.62 KiB) Downloaded 198 times
Boot attempt was a failure. "No operating system found."
I'm beginning to think that I've got a system-side controller failure here. I've ordered another WYSE system of essentially identical specs for other reasons -- when it arrives I'll be able to test that.
Let's set this aside till then, since I've not been able to get the machine to successfully boot from its IDE header in a while now.
I'm beginning to think that I've got a system-side controller failure here. I've ordered another WYSE system of essentially identical specs for other reasons -- when it arrives I'll be able to test that.
Let's set this aside till then, since I've not been able to get the machine to successfully boot from its IDE header in a while now.
Okay - good job thenstarhawk wrote:Yeah, I figured that out.
Unfortunately -- all that did was get me "operating system not found" 'stead of a blinking cursor.
I've got a replacement box on the way... for now, I consider this to be a hardware failure.
It works good for me now.
I'll await your report on the replacement box...
Scooby,
Just to let you know it worked for me!
Good job
I used your latest code to do a full install of Slacko 6.3.0 to a USB flash drive.
Posting from it now!!!
If you want to work on this and make it a finished program.
There are a few tweaks to the info that would help new users.
A few minor improvements I could suggest.
Do not know if you want to give it nice windows or just leave it a terminal screen
About using a Puppy full install on a USB flash drive
It opens programs slower.
Selecting stuff in a program, runs slower, if that selection requires reading data from the flash drive.
It writes more often to the flash drive, than a normal frugal installed Puppy..
Probably all of this slowness is caused by the read speed of the flash drive and the USB connection.
Mine is USB 2.
Also, a full install does not load much into memory on boot-up.
Only the basic Puppy operating system is in memory.
However, Linux is about options.
You just gave Puppy another install option!!
Thanks!!!!!
Just to let you know it worked for me!
Good job
I used your latest code to do a full install of Slacko 6.3.0 to a USB flash drive.
Posting from it now!!!
If you want to work on this and make it a finished program.
There are a few tweaks to the info that would help new users.
A few minor improvements I could suggest.
Do not know if you want to give it nice windows or just leave it a terminal screen
About using a Puppy full install on a USB flash drive
It opens programs slower.
Selecting stuff in a program, runs slower, if that selection requires reading data from the flash drive.
It writes more often to the flash drive, than a normal frugal installed Puppy..
Probably all of this slowness is caused by the read speed of the flash drive and the USB connection.
Mine is USB 2.
Also, a full install does not load much into memory on boot-up.
Only the basic Puppy operating system is in memory.
However, Linux is about options.
You just gave Puppy another install option!!
Thanks!!!!!
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Scooby,
Your code is small enough, that you can make it into a pet package and post it to this forum.
I think 200KB is the max size limit for the forum.
Your code is much smaller than that.
Your code is small enough, that you can make it into a pet package and post it to this forum.
I think 200KB is the max size limit for the forum.
Your code is much smaller than that.
Last edited by bigpup on Wed 06 Apr 2016, 18:57, edited 1 time in total.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Scooby,
We are thinking about adding this option to YaPI.
Your code shows it is workable.
If you want to help with YaPI, please help!!!!
http://www.murga-linux.com/puppy/viewtopic.php?t=101127
If you want to keep it your own program, that is also a good thing
We are thinking about adding this option to YaPI.
Your code shows it is workable.
If you want to help with YaPI, please help!!!!
http://www.murga-linux.com/puppy/viewtopic.php?t=101127
If you want to keep it your own program, that is also a good thing
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Sure if you hav any good suggestions I am willing to cooperate.bigpup wrote: If you want to work on this and make it a finished program.
There are a few tweaks to the info that would help new users.
A few minor improvements I could suggest.
Do not know if you want to give it nice windows or just leave it a terminal screen
Nah I think it should be a terminal program
Others like yapi can do the full userfriendliness thing
Sure I could do that but then again downloading one script file from a gistbigpup wrote: Your code is small enough, that you can make it into a pet package and post it to this forum.
works equally well
You are more than welcome toobigpup wrote: We are thinking about adding this option to YaPI.
Your code shows it is workable.
This script was basically 01Micko's to start with. I stole some from Yapi
and did some patching.
I just wanted to help starhawk was all.
If you have any questions about code I will try to help you
Anyway I am a commandline kind of guy and I did try out yapi
as a part of this project. It is userfriendly but took an awful lot of time
searching hdd's, was a bit annoyed with that. Then I looked at code
and found you could use it in terminal so for me that's good
If I did a
Code: Select all
yapi /path/to/Xtahr.iso sdc sdc1
maybe would not be a full install, cannot remember?
OK.
It is your choice what to do with this code.
Just offering some ideas.
By me following what you did. You have given me some ideas.
That is the best thing about open source and Linux.
A little from this, a little from that, how did you do that, mix it all up, and you get some useful software, anyone can use.
That search code could probably be still improved, but it was more about just getting it to work correctly.
About tweaking your code.
I always look at stuff, trying to think how a new user would see it.
I probably over think things.
I may offer some ideas for you to consider.
It is your choice what to do with this code.
Just offering some ideas.
By me following what you did. You have given me some ideas.
That is the best thing about open source and Linux.
A little from this, a little from that, how did you do that, mix it all up, and you get some useful software, anyone can use.
The search in YaPI is slow, but it does a complete search of every storage device and every directory.. That took a lot of code tweaking to get a good usable list of what was found.I did try out yapi as a part of this project. It is user friendly, but took an awful lot of time searching hdd's, was a bit annoyed with that.
That search code could probably be still improved, but it was more about just getting it to work correctly.
About tweaking your code.
I always look at stuff, trying to think how a new user would see it.
I probably over think things.
I may offer some ideas for you to consider.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Personally, i find Puppy self sufficient as it is,
Full install of a mini distro ? it's the complete opposite of Puppy philosophy (Do'nt touch anything to your computer, puppy is as the wind, once the job done, it disappear without any trace)
But let ideas go their own way..
Quirky is one of them
Personally, i find Puppy self sufficient as it is, perhaps not enough difficult to use...
But let ideas go their own way..
Quirky is one of them
Personally, i find Puppy self sufficient as it is, perhaps not enough difficult to use...
Re: Personally, i find Puppy self sufficient as it is,
Please look at http://murga-linux.com/puppy/viewtopic. ... 132#897132 for the special reasonPelo wrote:Full install of a mini distro ? it's the complete opposite of Puppy philosophy (Do'nt touch anything to your computer, puppy is as the wind, once the job done, it disappear without any trace)
But let ideas go their own way..
Quirky is one of them
Personally, i find Puppy self sufficient as it is, perhaps not enough difficult to use...
of this endeavor
merci scooby, it's a particular reason.
merci scooby, it's a particular reason. Not a general policy. Ouf ! don't touch the pedigree of my dear Puppy,
For the record -- I'm still waiting on my replacement system.
It's a nonstandard system (thin client) the size of a thick novel -- so the idiot eBay seller decided that it was eligible for media mail! The USPS, of course, will profoundly disagree if they open it (which they are allowed to do with that service) and return it to him, at which point he'll likely try to charge me for a second round...
Right now it's... well, somewhere undisclosed, quite honestly. It left a Warrandale PA sorting center five days ago and hasn't arrived anywhere else yet. Ugh.
Anything for a buck, I suppose... although, he's one of three sellers in a row that I've had shipping trouble with. He took forever to actually get the dang thing out the door -- and two other purchases went a similar direction at the same time. I really hope that's not the beginning of a trend...
It's a nonstandard system (thin client) the size of a thick novel -- so the idiot eBay seller decided that it was eligible for media mail! The USPS, of course, will profoundly disagree if they open it (which they are allowed to do with that service) and return it to him, at which point he'll likely try to charge me for a second round...
Right now it's... well, somewhere undisclosed, quite honestly. It left a Warrandale PA sorting center five days ago and hasn't arrived anywhere else yet. Ugh.
Anything for a buck, I suppose... although, he's one of three sellers in a row that I've had shipping trouble with. He took forever to actually get the dang thing out the door -- and two other purchases went a similar direction at the same time. I really hope that's not the beginning of a trend...