PanDebian


As swat said. Packages.


Angstrom (Zaxxon) does not "really" allow the use of OPKG. PanDebian has apt-get!


Install anything thats available on debian repos.
 
I have some problem with LXTerminal.


askarus-openpandora:/$ su
Password:
su: Authentication failure

That's what I normally did to open up synaptic: first become super user.

Why is there authentication failure now?

It started some time before on my old SD. Now I installed it on a new SD and it's the same.

My password is only two letters and always the same on Pandora. I could open root terminal with that password but not become root in LXTerminal.

Do I have a blackout and forgot one of the simplest things I did in the past several times?

Any idea anyone?
 
I have some problem with LXTerminal.


askarus-openpandora:/$ su
Password:
su: Authentication failure

That's what I normally did to open up synaptic: first become super user.

Why is there authentication failure now?

It started some time before on my old SD. Now I installed it on a new SD and it's the same.

My password is only two letters and always the same on Pandora. I could open root terminal with that password but not become root in LXTerminal.

Do I have a blackout and forgot one of the simplest things I did in the past several times?

Any idea anyone?
It's probably no help, but this sometimes happens for me and I'm pretty sure if you try :-

"sudo synaptic" for example (instead of becoming su first)

it might help

CJ
 
If I do sudo synaptiv it says:

"askarus is not in the sudoers file"

Where can I find it to add myself?
 
Run "visudo" as root.

from "/etc/sudoers"

"# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d"
 
Last edited by a moderator:
So this is what I get

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Allow members of group sudo to execute any command
#(Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d

Which line do I have to edit now?
 
Simplest: dont edit that file, just add yourself to the group sudo (gpasswd -a <username> sudo). Then maybe you need to re-login and then it should work. And you can have visudo use any editor you want, just export VISUAL=nano (or something like that, you can put that in your bashrc or profile or whatever...).
 
How should he be able to add himself to the sudoers group if he cannot login as root?


I think you need root rights for this operation.
 
If he is editing that file he needs to be root already :p

... so PanDebian is a chroot IIRC? (I dont know much about it). Chroot needs root privileges. If you have root on your host, you can get root on your chroot (simplest = open a terminal on the host, sudo su, chroot /whatever/mount/point, gpasswd, exit).
 
Nevermind. He posted, that he can directly start a rootterminal :)
 
OK, I tried out : gpasswd -a askarus sudo

Didn't help.

The only real thing I need the sudo for is Synaptic it's not that much of a problem for me. There's also some root terinal for that.

It's strange as it worked for me on my last installation of PanDebian and stopped working without any reason. Now it never worked.

Thanks for your help but I hink I have to live without sudo ;)
 
Is there a way to edit the PanDebian.pnd. I tried extracting it with fileroller and then editing the PXML and launcher. I then used mksquashfs PanDebian-dir PanDebian.pnd

Does not work.

BTW I am using PCLinuxOS to extract and mksquashfs.

My reason is to do some work on a test Debian without trashing my main working chroot. Then when ready, to transition the testing to my working.
 
Last edited by a moderator:
So this is what I get


# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Allow members of group sudo to execute any command
#(Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d
Which line do I have to edit now?
Change
%sudo ALL=(ALL) ALL
To
%sudo username=(ALL) ALL

Then reboot or logout/login
 
Last edited by a moderator:
Is there a way to edit the PanDebian.pnd. I tried extracting it with fileroller and then editing the PXML and launcher. I then used mksquashfs PanDebian-dir PanDebian.pnd

Does not work.

BTW I am using PCLinuxOS to extract and mksquashfs.

My reason is to do some work on a test Debian without trashing my main working chroot. Then when ready, to transition the testing to my working.

After some research and practice I got it working. My solution is below and can be used to create multiple Debian systems for testing.

Loop File Name:


/media/Pandora64/PanDebian-squeeze


Desktop Icon Name in: 'launcher'


Info stored in: 'launcher.sosume'


Extract the PanDebian.pnd to 'PanDebian/' and Edit the above 2 files to match your requirements.


Then run the following script:


#!/bin/bash


# MakeSquash-pnd.sh


mksquashfs PanDebian/ PanDebian_fs -root-owned


cat PanDebian_fs PanDebian/PXML.xml > PanDebian_sqsh.pnd
 
Last edited by a moderator:
So this is what I get

# /etc/sudoers


#


# This file MUST be edited with the 'visudo' command as root.


#


# See the man page for details on how to write a sudoers file.


#


Defaults env_reset


# Host alias specification


# User alias specification


# Cmnd alias specification


# User privilege specification


root ALL=(ALL) ALL


# Allow members of group sudo to execute any command


#(Note that later entries override this, so you might need to move


# it further down)


%sudo ALL=(ALL) ALL


#


#includedir /etc/sudoers.d
Which line do I have to edit now?
Change
%sudo ALL=(ALL) ALL


To


%sudo username=(ALL) ALL


Then reboot or logout/login
Didn't help.

A different question:

Is it hard to make a new version of PanDebian which can be shut down on its own?

This would be very useful.
 
^ for "username" you did put in your actual username right?

Edit: oops sorry askarus, the line you can add to sudoers should be:

username ALL=(ALL) ALL

E.g. Askarus ALL=(ALL) ALL
 
Last edited by a moderator:
I hacked together a system for making Pandora's Angstrom and Debian play together. PanDebian will install a debootstrap-generated chroot of Debian to a loopback file or ext{2,3}-formatted SD card and give you simple access to it (no additional X11, no separate window manager).


Download URL: http://repo.openpandora.org/?page=detail&app=PanDebian


Project URL: http://bitbucket.org/GregorR/pandebian


If you're interested in getting Debian on your Pandora, give it a shot. Please note that since this isn't a prebuilt image, it will take a LONG time to install, on the order of four to five hours.


Videos of PanDebian:


https://www.youtube.com/embed/5fvk3rh04KI?feature=oembed
Hi,

What is the advantage doing that? Why you simply do not run Debian by itself by using the auto boot on your SD? 

grtz
 
^You would have to ask Gregor, he hasn't been on the forums in well over a year. And the post you quoted is well over 2 years old.

Although the answer is obvious.. This PND is meant for people that don't want to mess with formating and bunzip/untaring a rootfs image and such.. the PND you click it and it runs.
 
Last edited by a moderator:
Back
Top