View Single Post
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1041
Originally Posted by qole View Post
Link has been fixed. Please try again!

debian-m5-v3c.img.ext2.lzma
I've started with testing the new image and will now flood this thread with my observations . First in this series:

One minor problem I see with get partition ID from blkid is that it doesn't work from /etc/profile with user privileges, i.e. when I do debbie with "su -" :
Code:
Nokia-N900-42-11:/home/user# debian su - user
Chroot dir specified: /.debian
/home/user/MyDocs/debian-m5-v3c.img.ext2 specified in ~/.chroot
Mounting...
using image file: /home/user/MyDocs/debian-m5-v3c.img.ext2
fs type is ext2
Using ext2 file system
mounting /home/user/MyDocs/debian-m5-v3c.img.ext2 on loop
.../home/user/MyDocs/debian-m5-v3c.img.ext2 mounted on loop0
.
..
...
....
Updating the /etc/mtab file...
Everything set up, running chroot...
-su: blkid: command not found
-su: blkid: command not found
-su: /dev/stderr: Permission denied
The prompt is then [user@chroot: ~] instead of [user@debian-v3c: /] .

EDIT: The "command not found" errors are easy to fix, just insert the complete path "/sbin/blkid". Then "debian su - user" does work as intended.
However with "debian su -" (desirable for full localization also for root) the prompt doesn't change at all compared to Maemo. The reason is that there still is a /root/.bashrc file which sets PS1.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log

Last edited by rebhana; 2010-04-18 at 22:19.