Reply
Thread Tools
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#21
Default password is rootme

If you don't want to get the fs warning rename your file to rootfs.img.ext2 and that will go away but anyway it shouldn't be a problem.

The modprobe not found smells like it tries to modprobe as user. Doublecheck that you run qchroot as root or with sudo.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,715 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#22
Originally Posted by qwazix View Post
Default password is rootme

If you don't want to get the fs warning rename your file to rootfs.img.ext2 and that will go away but anyway it shouldn't be a problem.

The modprobe not found smells like it tries to modprobe as user. Doublecheck that you run qchroot as root or with sudo.
rootme isnt working, shows "Sorry, try again."
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#23
Sure you haven't changed it? Default password for devel-su is definitely rootme.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following User Says Thank You to qwazix For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,715 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#24
Originally Posted by qwazix View Post
Sure you haven't changed it? Default password for devel-su is definately rootme.
Yes, I never changed it, my device is in Open Mode, so I also have no device password

if I go into regular devel-su, the "rootme" password just works fine. but when I try to run sudo with user mode, the same password doesnt work
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#25
Ok now I got it. Sudo shouldn't ask for password though. Check that you have the real sudo (coderus' .deb) and not the fake sudo of qole (if you accidentally replaced /bin/sudo from qole's archive that might be a problem)

EDIT: I can confirm the same error when using devel-su instead of sudo. Try reinstalling sudo from the .deb
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob

Last edited by qwazix; 2012-06-20 at 22:25.
 

The Following User Says Thank You to qwazix For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,715 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#26
Originally Posted by qwazix View Post
Ok now I got it. Sudo shouldn't ask for password though. Check that you have the real sudo (coderus' .deb) and not the fake sudo of qole (if you accidentally replaced /bin/sudo from qole's archive that might be a problem)

EDIT: I can confirm the same error when using devel-su instead of sudo. Try reinstalling sudo from the .deb
I just used the original link that you provided....
Maybe you gave the wrong link?
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#27
No there is no other sudo for harmattan around. The link is http://talk.maemo.org/attachment.php...9&d=1332087322

and after installation it never asked for password apparently it did and I mechanically added NOPASSWD to get rid of it

My /etc/sudoers file looks like this
Code:
### Automatically added by update-sudoers start ###
Defaults env_check+="HOME DISPLAY"
Defaults env_keep+="HOME DISPLAY"
Defaults env_reset
user ALL = (ALL) NOPASSWD: ALL
developer ALL = (ALL) ALL
### Automatically added by update-sudoers end ###
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob

Last edited by qwazix; 2012-06-20 at 22:46.
 
HtheB's Avatar
Moderator | Posts: 3,715 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#28
Originally Posted by qwazix View Post
No there is no other sudo for harmattan around. The link is http://talk.maemo.org/attachment.php...9&d=1332087322

and after installation it never asked for password

My /etc/sudoers file looks like this
Code:
### Automatically added by update-sudoers start ###
Defaults env_check+="HOME DISPLAY"
Defaults env_keep+="HOME DISPLAY"
Defaults env_reset
user ALL = (ALL) NOPASSWD: ALL
developer ALL = (ALL) ALL
### Automatically added by update-sudoers end ###
Hmmm, that's strange, mine looks like this:

Code:
### Automatically added by update-sudoers start ###
Defaults env_check+="HOME DISPLAY"
Defaults env_keep+="HOME DISPLAY"
Defaults env_reset
user ALL = (ALL) ALL
developer ALL = (ALL) ALL
### Automatically added by update-sudoers end ###
Let me try editing that file

Edit:
yes, editing that file did the job!
Although now I've got the same problem like before:
Code:
~ $ sudo qchroot MyDocs/rootfs.img /.debian
Mounting...
using image file: MyDocs/rootfs.img
fs type is img
Don't know img: Using ext2 file system
Using ext2 file system
FATAL: Error inserting ext2 (/lib/modules/2.6.32.48-dfl61-20115101/ext2.ko): Device or resource busy
mounting MyDocs/rootfs.img on loop
Mount failure! MyDocs/rootfs.img failed to mount on loop0 mount: mounting /dev/loop1on /.debian failed: No such file or directory
Cancelling chroot...
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.

Last edited by HtheB; 2012-06-20 at 22:44.
 

The Following User Says Thank You to HtheB For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#29
That NOPASSWD: should get rid of the password prompt.

I remember now adding a NOPASSWD somewhere but I did a gazillion changes in various conf files since yesterday (at work we just set up a new ubuntu LAMP server) and couldn't pinpoint it. Must be this one. Check it out and i'll add it to the tutorial.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#30
This one seems like something a reboot will solve
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:06.