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 Mon 09 Dec 2019, 22:55
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
FirstRib default WeeDog Linux build system
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 49 [722 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 47, 48, 49 Next
Author Message
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Sat 25 May 2019, 14:22    Post subject:  

hi wiak

everything working fine for me
using the 32 bit version

wow this is really cool

thanks

wanderer
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1348
Location: Connecticut, United States

PostPosted: Sat 25 May 2019, 15:05    Post subject:  

you caught my attention...so I am going to set up what you have built.

Looks interesting and I will report if successful..
Back to top
View user's profile Send private message Visit poster's website 
wiak

Joined: 11 Dec 2007
Posts: 1842
Location: not Bulgaria

PostPosted: Sun 26 May 2019, 08:44    Post subject:  

rockedge wrote:
you caught my attention...so I am going to set up what you have built.

Looks interesting and I will report if successful..


Thank you.

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 975
Location: Staffordshire

PostPosted: Sun 26 May 2019, 13:07    Post subject:  

Been playing with this on Fatdog, and all working nicely.
In case it is useful to know, sh is a symlink to dash, so behaves differently to bash - no command history, and backspace and arrow keys don't work etc.
If you install and use bash, you will have to 'exit' twice - first from bash, then from the original shell.
I've installed 'base-system', plus mc, nnn, nano and lynx.
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1348
Location: Connecticut, United States

PostPosted: Sun 26 May 2019, 15:42    Post subject:  

I created a directory next to a group of frugal puppies called /FirstRib and I put the scripts into it, ran the build, 64 bit.
looks to be successful and was done quickly on the Bionic64-v8 host system

then put both mount and unmount scripts into /FirstRib and ran the mount script and it worked. I used your examples and installed bash and file then used the exit command and ran the unmount script. And added the user root and webuser:webgroup

I then ran the mount script again and the command prompt reflected the bash being installed as noted in the screenshot
Screenshot(28).png
 Description   
 Filesize   93.64 KB
 Viewed   488 Time(s)

Screenshot(28).png

Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 1348
Location: Connecticut, United States

PostPosted: Sun 26 May 2019, 15:44    Post subject:  

I can't backspace and if I resize the terminal window it pulls lots of prompts. And I get a permission denied /usr/bin/bash...... but I am starting to get the hang of it and will see what I can do with system
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Sun 26 May 2019, 15:48    Post subject:  

i installed the x system
and it loaded fine

dropped to console
and mounted

but trying to run startx
says it cant find mcookie

tried to download mcookie
but says not found

wanderer
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1842
Location: not Bulgaria

PostPosted: Sun 26 May 2019, 16:08    Post subject:  

@wanderer:

Yes, xorg-minimal will install okay. However, since you are running in a chroot, you already have X on your host system. Running X on FirstRib itself will only become relevant if and when FirstRib is booted to run on its own rather than in a chroot (i.e. when an initramfs/initrd with suitable init is written for it). I will work on an initramfs for FirstRib, but I'm busy on other matters just now, so that will be a while in coming. For now, please enjoy using FirstRib commandline mode only, setting up multiple users and whatever (or read up on how to build an initramfs from scratch - there are tutorials out there) - we will deal with how to start X on boot in Void once that initramfs module appears.

wiak

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Sun 26 May 2019, 16:15    Post subject:  

thanks wiak

i will keep playing

really cool

wanderer
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1842
Location: not Bulgaria

PostPosted: Sun 26 May 2019, 16:16    Post subject:  

Keef wrote:
Been playing with this on Fatdog, and all working nicely.
In case it is useful to know, sh is a symlink to dash, so behaves differently to bash - no command history, and backspace and arrow keys don't work etc.
If you install and use bash, you will have to 'exit' twice - first from bash, then from the original shell.
I've installed 'base-system', plus mc, nnn, nano and lynx.


Hi Keef and rockedge, Thanks for the reports.

After initial install, /bin/sh should be a symlink to busybox sh actually (not dash) and backspace and command-history should be working. I think they continued to work when I installed dash (and also with bash) but I'd have to check that. I have a feeling, it is important to create the files /etc/passwd and /etc/group before installing dash or bash, but that's just from memory; anyway, I will be creating these txt config files for next version upload. I mentioned how to do it earlier - should be first thing you do - reason being that xbps installation of dash and/or bash might require chmod operations that require on known users in /etc/passwd etc. So you may need to uninstall bash and then re-install it after doing:

Code:
echo "root:x:0:" >/etc/group
echo "root::0:0:FirstRib Admin:/root:/bin/sh" >/etc/passwd


as decribed in above link:

http://www.murga-linux.com/puppy/viewtopic.php?p=1029018#1029018

EDIT: Yes, dash or bash commandline history/backspace worked, from a fresh build, worked after creating /etc/passwd and /etc/group per above commands. After either of these are installed, /bin/sh becomes a symlink to whichever one installed. I do then note a problem if you do try to remove (say bash) at that stage - /bin/sh not a link to them thereafter and problems ensue - not sure how to fix that as yet, though no need to remove bash (or dash) of course, generally, once you've chosen to install it...

EDIT2: I think all is fine, after removing bash (or dash) if you manually re-create the symbolic link:

Code:
ln -s /bin/busybox /bin/sh


wiak

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130

Last edited by wiak on Sun 26 May 2019, 17:06; edited 2 times in total
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1842
Location: not Bulgaria

PostPosted: Sun 26 May 2019, 16:22    Post subject:  

I'd be interested to know if FirstRib is working from a tinycore/microcore wanderer. It should I expect.

wiak

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Sun 26 May 2019, 16:33    Post subject:  

hi wiak

ill try it in core
and report

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

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Sun 26 May 2019, 16:52    Post subject:  

hi wiak

the script ran in tinycore

but couldnt make or find some directories
even as root

i think it is a permissions issue

will keep playing and report

wanderer
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1842
Location: not Bulgaria

PostPosted: Sun 26 May 2019, 17:00    Post subject:  

Hi again Keef and rockedge,

Creating /etc/passwd and /etc/group prior to installing dash or bash seemed to work (history and backspace). But see my note about issue if trying to remove them thereafter in my previous post to you:

http://www.murga-linux.com/puppy/viewtopic.php?p=1029192#1029192

Problem is, that /bin/sh no longer exists as a symlink after removing bash or dash. So what you need to do in that case is re-create the original /bin/sh symlink to /bin/busybox (actually it's in /usr/bin but /bin is itself a symbolic link to that):

Code:
ln -s /bin/busybox /bin/sh


wiak

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130

Last edited by wiak on Sun 26 May 2019, 18:35; edited 2 times in total
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1842
Location: not Bulgaria

PostPosted: Sun 26 May 2019, 17:01    Post subject:  

I think you'd maybe need to be root user when building/running FirstRib from tinycore wanderer. i.e. su (or sudo su) to root first.

wiak

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 49 [722 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 47, 48, 49 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0554s ][ Queries: 12 (0.0112s) ][ GZIP on ]