Pussy: potentially a Puppy with a perfect package manager

For talk and support relating specifically to Puppy derivatives
Message
Author
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#441 Post by nooby »

Thanks Saintless
Maybe I look into it tomorrow. No hurry.
I use Google Search on Puppy Forum
not an ideal solution though
aarf

#442 Post by aarf »

Booted to icons. couldnt figure out how to get my gprs phone connection. Saw some Wifi signal but dont have any that are open to connection atm. Pussy image still looks like something the cat dragged in. Made screen shot . Couldnt mount any drives. Much the same as alpha but with extra puppy apps. Getting there though.
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#443 Post by nooby »

aarf wrote:Couldnt mount any drives
Surprise mine do that but does not allow me to save on the one I boot from.

Are you aware of that the OS rename them so it can be difficult to find it.

One need to look many ways and then suddenly one get how to find it.
Give it a new try :)
I use Google Search on Puppy Forum
not an ideal solution though
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#444 Post by saintless »

aarf wrote:Couldnt mount any drives.
Hi, aarf,
I mount all drives from Terminal. I installed pmount with apt-get, but it works only for removable drives.

Sickgut, I had a small audio problem. I didn't have sound, but this command fixed it:

Code: Select all

alsactl init
It returned some message for unknown hardware and using guess metod, but it worked.
I found the solution here:
http://forums.debian.net/viewtopic.php?f=6&t=39116[url]
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#445 Post by nooby »

Here is what them suggest at Crunchbang how one get write permissions
on Debian derivates when oen boot from same hdd. I have not tested it.

can any of you understand what it does.
sudo fdisk -l /dev/sda

Identify the NTFS device - sdaX (the linux partitions are easily recognizable)
I am assuming your drive is sda.
To find other devices run 'dmesg|grep sd'

sudo mkdir -p /media/sdaX
sudo ntfs-3g /dev/sdaX /media/sdaX

replace X with the correct device number.
Tadaaa ... your files are in /media/sdaX
I hope the first command there means that it only list the partitions?

If it really start to creat them that would be a disaster!

Then this one mkdir -p /media/sda3
Make directory /media/sdaX
would that create a kind of virtual reference to sda3 giving it the name media?

Why else do such command? Them never explain things just give the commands.
the last one ntfs-3g /dev/sdaX /media/sdaX

Start the program ntfs-3g and relate the real physical /dev/sda3 to the virtual only existing in this OS references directory? name /media/sda3

But why would that give me permission to write to that media and why would that open that physical medium for writing?

So many unknowns when one are a noob. I go to bed now.

Edit

On Arch Linux forum them suggest a much shorter command to do

sudo ntfs-3g /dev/sda3 /media

That was successful for that guy
I use Google Search on Puppy Forum
not an ideal solution though
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#446 Post by saintless »

Nooby, the first command just give you a list for available divices. Use it, it will not harm your system.

fdisk -l /dev/sda

(BTW -l is a small L). Find the name of your NTFS partition (assuming it is sda3).

The next command will create directory named sda3 in /mnt directory. I changed /media with /mnt, but you can create it in /root or anywhere else. I think the argument -p means it will create /mnt if it doesn't exists.

mkdir -p /mnt/sda3

The last command will mount your sda3 NTFS partition in /mnt/sda3 directory. I think the ntfs-3g driver is in the beginning of the command to give you RW access.

ntfs-3g /dev/sda3 /mnt/sda3

Hope this will help you.


Edit:

ntfs-3g /dev/sda3 /media

This command will mount your NTFS partition directly into /media directory.
aarf

#447 Post by aarf »

ok mounted the now renamed second partition on the pussy usb drive with just

Code: Select all

mkdir /mnt/sdb2  
mount /dev/sdb2
and moved some screenshots to it for access from puppy. (still have no internet connection in pussy).

last screenshot is of trying to run this mount script

Code: Select all

#!/bin/ash
mkdir /mnt/sdb2 2>/dev/null
mount /dev/sdb2 /mnt/sdb2 2>/dev/null
which also gives essentially the same output if i run it from /usr/bin/
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#448 Post by nooby »

Thanks

I am incredibly bad at logic. Any kind of logics. Even joke logic :)

Take this one
ntfs-3g /dev/sda3 /media

This command will mount your NTFS partition directly into /media directory.


Why would that give me the permission that I now fail to have?

Okay I have added??? the category media and told it that sda3 now belongs to that category? And the logic behind it is that when it mounts
as "Live Session user" then the category media don't include the sda 3 partition that it booted from because by default that is set as non media?

Why does it work then in Linux Mint Debian Edition when I boot from same partition and using same code?
I use Google Search on Puppy Forum
not an ideal solution though
User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#449 Post by sickgut »

no amount of mounting trickery will work to write to your drive you booted from if you check your /etc/mtab and the /live/image/ dir is not mounted read write .

If its not mounted rw then you cant remount it to another dir either because you get a message saying the device is busy .

i have not tested writing to the boot partition with ntfs yet as im burnt out from releasing the latest version of pussy and ill test it maybe tomorrow or sometime soon.

you can mount any ntfs with just: mount /dev/sda2 /dirname
there is no need to specify anything like: ntfsmount or ntfs-3g /dev/sdb2 /dir or anything like that.

there is nothing special about the /mnt dir in pussy there is no coding to make it automount stuff there. There is nothing special about the /media dir either, so dont follow scripts etc that require some auto mounting feature to do with that.

all that stuff with mounting to /media and /dev/null isnt going to work. These scripts presume your running a full debian standard desktop install with kde and or gnome or xfce or lxde.

the writing to boot partition works on other partition types than ntfs and technically it should work with ntfs too now that ntfs-3g is installed but i have not tested this myself yet, i will report back soon when i do, in the mean time you will have to be patient as this is a one man show at present and i need to recoup (i have a lupus type sickness, takes me a while to recoup after over doing stuff) then ill be ready for another full day of testing and fixing. If writiing to the boot partition isnt working then dont spend all your time trying to get it to work from the OS as it wont, aparently its a grub issue.

i have had writing to the parition working then it stops working then it starts working again i dont fully know all the variables that affect this but soon i will post a full report on the subject here, in the mean time just wait for my report.

pussy started as a live distro for cdrom and usb only, and its a minor miracle we have got it to boot from hdd at all, simply doing this is a bonus.

in short: be patient, i will sort out a howto on writing to the boot parition with ntfs soon... please wait till i do this and dont spend your time banging your head against the wall as if it doesnt do it immediately after you boot, it wont do it at all and there is nothing you can do to fix it. in a few days ill be ready to start working on this again and ill upload my report then, in the mean time just chill, as the issue will be dealt with as my absolute first priority.
User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#450 Post by sickgut »

saintless wrote:
aarf wrote:Couldnt mount any drives.
Hi, aarf,
I mount all drives from Terminal. I installed pmount with apt-get, but it works only for removable drives.

Sickgut, I had a small audio problem. I didn't have sound, but this command fixed it:

Code: Select all

alsactl init
It returned some message for unknown hardware and using guess metod, but it worked.
I found the solution here:
http://forums.debian.net/viewtopic.php?f=6&t=39116[url]
@ saintless
can i ask if the alpha had the same problem with the sound?
if it didnt, then the cause is most likely i have forgotten to delete a config file. when im working on pussy and i like remaster it, its actually running on my computer and some config files need to be deleted and not carried over to the new squashfs, i this case i may have left one in there. if you had same prob with alpha then its more like a general debian problem and if thats the case maybe i can add a sound config detect section in the catroll-panel that does the same thing as the alsa fix code you typed.

@aarf
pussy doesnt have auto mounting yet like puppy has, but you can mount any partition including ntfs or removable drives with: mount /dev/sda1 /mountpoint
and then to unmount you can use: umount /mountpoint
but personally i prefer: eject /mountpoint as it works for normal partitions and removable drives too.
in the examples above, /mountpoint is any empty dir. Personally i use the /xxx dir for mounting that is already there, on my personal debian system i have /xxx /yyy /zzz and i mount whatever drive i want to use to one of those. After testing and reporting back on the ntfs boot partition write issue and writing to boot partitions in general, making a GUI mounting system is next on my list.


@everyone
there is also one small bug i have noticed with the new beta preview, there is a menu entry in the network-> managers section, there it lists network-config and wicd. the network-config one shouldnt be there as i removed that program when i deiscovered the fix for the DNS problem, but i forgot to remove the menu entry
User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#451 Post by sickgut »

aarf wrote:ok mounted the now renamed second partition on the pussy usb drive with just

Code: Select all

mkdir /mnt/sdb2  
mount /dev/sdb2
and moved some screenshots to it for access from puppy. (still have no internet connection in pussy).

last screenshot is of trying to run this mount script

Code: Select all

#!/bin/ash
mkdir /mnt/sdb2 2>/dev/null
mount /dev/sdb2 /mnt/sdb2 2>/dev/null
which also gives essentially the same output if i run it from /usr/bin/
what problem is preventing you from getting an internet connections? what errors etc? if you are getting failed handshaked then open wicd then cl ick preferences then select backend, then ioctl from the list there. This uses a different wireless connection system and i have a toshiba c640 here that needs this enabled to successfully connect to my realtek wireless router, without selecting this option it simply wont connect
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#452 Post by saintless »

sickgut wrote:
saintless wrote:Sickgut, I had a small audio problem. I didn't have sound, but this command fixed it:

Code: Select all

alsactl init
It returned some message for unknown hardware and using guess metod, but it worked.
I found the solution here:
http://forums.debian.net/viewtopic.php?f=6&t=39116[url]
@ saintless
can i ask if the alpha had the same problem with the sound?
Hi, sickgut,
I have the same problem on the same PC with alpha version.
I forgot to mension that I could not run "alsactl init" command if i don't run:

Code: Select all

apt-get install alsa
Then the apt-get suggests to install alsa-base and alsa-utils and after I hit enter there is a message one of those two packages is already installed and it is the newest version and the other package ( I think it was alsa-utils) did an upgrade or a new installation. I can install clean alpha or beta version and do this again if you need the exact messages from the terminal.

Best regards!
aarf

#453 Post by aarf »

sickgut wrote:what problem is preventing you from getting an internet connections? what errors etc? if you are getting failed handshaked then open wicd then cl ick preferences then select backend, then ioctl from the list there. This uses a different wireless connection system and i have a toshiba c640 here that needs this enabled to successfully connect to my realtek wireless router, without selecting this option it simply wont connect
i dont have the encryption code for the wifi signals that i can see. I cant see where to start a gprs connection dialog. I have dialup-pppoe.zip, network-firmware.zip and wvdial.zip in /addons. Tried usb0 in the networks thing but nothing happened after i did that.
I can find porn ok, even without a pfind equivalent.
User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#454 Post by sickgut »

aarf wrote:
sickgut wrote:what problem is preventing you from getting an internet connections? what errors etc? if you are getting failed handshaked then open wicd then cl ick preferences then select backend, then ioctl from the list there. This uses a different wireless connection system and i have a toshiba c640 here that needs this enabled to successfully connect to my realtek wireless router, without selecting this option it simply wont connect
i dont have the encryption code for the wifi signals that i can see. I cant see where to start a gprs connection dialog. I have dialup-pppoe.zip, network-firmware.zip and wvdial.zip in /addons. Tried usb0 in the networks thing but nothing happened after i did that.
I can find porn ok, even without a pfind equivalent.
Things in the /addons dir of the live media need to be instaled if you want to use them, unzip the package then click the supplied installed script or run: dpkg -R --install *
to install all the debs on the dir.

i have no idea what a gprs connection is and no way of testing dial up in any form so whatever is in the wvdial-pppoe package there is a selection of debs that users in this forum have said they needed to get dialup and pppoe working.

i can only suggest logging into #debian on irc freenode, no doubt someone there can help you and tell you what you need
aarf

#455 Post by aarf »

hmmpp you have to install the addons yourself.< mentally knocks pussy wow factor down one notch>

Code: Select all

 root@meow:/live/image/addons# ./dialup-pppoe-install.sh
./dialup-pppoe-install.sh: 2: Syntax error: "(" unexpected


ok almost there. manually got past the above to the connect dialog i was expecting
have to get seamokey.squashsfs now. didnt think i needed it again.
will post screenshots and info later.

ok edited from pussy connected via wvdial. info much later. taking a break.
User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#456 Post by sickgut »

aarf wrote:hmmpp you have to install the addons yourself.< mentally knocks pussy wow factor down one notch>

Code: Select all

 root@meow:/live/image/addons# ./dialup-pppoe-install.sh
./dialup-pppoe-install.sh: 2: Syntax error: "(" unexpected


ok almost there. manually got past the above to the connect dialog i was expecting
have to get seamokey.squashsfs now. didnt think i needed it again.
will post screenshots and info later.

ok edited from pussy connected via wvdial. info much later. taking a break.
pussy hasnt even got a release candidate yet, we arent even at version 1, and this preview beta isnt even a beta its only a preview, there are going to be things that arent finnished or arent wow factor.

the point of the /addons dir is that you have the option to install them if you need them but if you dont need them they arent in the OS bogging it down, and as far as ease of installing goes its not rocket science to unzip a file then click install, as far as having to install something yourself: even puppies quickpet feature requires you to actually click something and the same for pet files. the /addons dir is included in the iso so that people wanting to use a livecd or usb on a fresh system dont have to download the packages first.
aarf

#457 Post by aarf »

Note that the addons directory holds extracted debs through reboot. But modifications to /etc/wvdial.conf and the instalation of wvdial itself dont survive. No liverw partition in use.
User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#458 Post by sickgut »

aarf wrote:Note that the addons directory holds extracted debs through reboot. But modifications to /etc/wvdial.conf and the instalation of wvdial itself dont survive. No liverw partition in use.
did you expect your changes to be kept without a save file? where do you think your changes would be saved?
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#459 Post by saintless »

Let me just say what is the WOW factor for me in pussy linux.

It took me over a month to make kxstitch and subtitleeditor fully working on puppy linux without damage other programs. Actually I don't know how I did that with the second program. I couldn't make it fully work on clean frugal installation again, but I remastered the first puppy and I saved what I needed.

In pussy linux I did the same for 25-30 minutes. I just had to type two commands in terminal and I still have a small linux, which I can use on a computer with 600 Mhz processor and 128 Mb Ram.

I have my remastered puppy with almost all I need on it and I am happy with it, but it took me a long time to do it.

Pussy linux is different from puppy. I didn't know how to mount drives from command line. This should be a debian and many other linux distros way of doing it. I will learn what I need to use pussy linux as well as I use puppy, because I want to have a small linux with easy way of finding and installing the programs I need and to upgrade newer version when need it. If it was easy for the newbies to do that with puppy as it is with pussy linux, puppy would be the perfect linux I know.

Thank you to you - sickgut, and to you - all puppy developers!
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#460 Post by saintless »

If someone wants to add different keyboard-layout before the official beta version is ready, here are the commands:

This one will install other keyboard layouts:

Code: Select all

apt-get install keyboards-rg
After that type:

Code: Select all

dpkg-reconfigure keyboard-configuration
Follow the instructions and choose your layout. BTW you can choose also to exit X with Ctrl+Alt+BackSpace.
Post Reply