Does not ask for password, mount fails

Asked by Florian Erler

Hey! ;)

I try to run UCK on my Ubuntu server as my internet connection at home is very slow at the moment and I have to use my netbook, so packung/unpacking and downloading packets would take eternities.

Well, as I don't really get how to use the single scripts and I don't want to much effort into it (I would remaster the image manually before attempting to work with those scripts ;) ), I enabled X-Forwarding in my ssh connection to to use uck-gui.

Well, not necessary I think, as a neat ncurses-like 'GUI' pops up. Everything worked well until it tried to mount the iso file, as it has unsufficient permissions to do that. Because the script can't be run under sudo and it doesn't ask me for my password, like the version on my computer does, it simply fails.

Logfile:
'Ubuntu Customization Kit 2.0.12
Starting CD remastering on Do 5. Mai 19:19:41 CEST 2011
Customization dir=/home/wethon/tmp/customization-scripts
Mounting ISO image...
mount: no permission to look at /dev/loop<N>
Cannot mount /home/wethon/ubuntu-10.04.2-desktop-amd64.iso in /home/wethon/tmp/iso-mount, error=2'

I would appreciate a solution for that, UCK is great and I enjoy using it. :)

Regards,
Flo

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabrizio Balliano (fabrizio-balliano) said :
#1

Please update to 2.4.x and retry

Inviato da Android
Il giorno 05/mag/2011 23.51, "Florian Erler" <
<email address hidden>> ha scritto:
> New question #156135 on Ubuntu Customization Kit:
> https://answers.launchpad.net/uck/+question/156135
>
> Hey! ;)
>
> I try to run UCK on my Ubuntu server as my internet connection at home is
very slow at the moment and I have to use my netbook, so packung/unpacking
and downloading packets would take eternities.
>
> Well, as I don't really get how to use the single scripts and I don't want
to much effort into it (I would remaster the image manually before
attempting to work with those scripts ;) ), I enabled X-Forwarding in my ssh
connection to to use uck-gui.
>
> Well, not necessary I think, as a neat ncurses-like 'GUI' pops up.
Everything worked well until it tried to mount the iso file, as it has
unsufficient permissions to do that. Because the script can't be run under
sudo and it doesn't ask me for my password, like the version on my computer
does, it simply fails.
>
> Logfile:
> 'Ubuntu Customization Kit 2.0.12
> Starting CD remastering on Do 5. Mai 19:19:41 CEST 2011
> Customization dir=/home/wethon/tmp/customization-scripts
> Mounting ISO image...
> mount: no permission to look at /dev/loop<N>
> Cannot mount /home/wethon/ubuntu-10.04.2-desktop-amd64.iso in
/home/wethon/tmp/iso-mount, error=2'
>
> I would appreciate a solution for that, UCK is great and I enjoy using it.
:)
>
> Regards,
> Flo
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu Customization Kit.

Revision history for this message
Florian Erler (ethonf) said :
#2

I downloaded 2.4.4 and it still doesn't work:

'Build (./uck-gui ) started at 2011-05-06 08:57:45
>> Ubuntu Customization Kit 2.4.4 on Ubuntu 10.04, 2.6.18-028stab085.5-ent i686
Starting CD remastering on Fr 6. Mai 08:57:46 CEST 2011
Customization dir=/home/wethon/tmp/customization-scripts
Mounting ISO image...
mount: no permission to look at /dev/loop<N>
Cannot mount /home/wethon/ubuntu-10.04.2-desktop-amd64.iso in /home/wethon/tmp/remaster-iso-mount, error=2
Build ended at 2011-05-06 08:57:49'

Funny: I commented the 3 lines checking for root, ran it as sudo and it failed. Strange ...

Revision history for this message
Fabrizio Balliano (fabrizio-balliano) said :
#3

It seems you've no loop support in your kernel so you cannot mount iso
files...

Inviato da Android
Il giorno 06/mag/2011 08.14, "Florian Erler" <
<email address hidden>> ha scritto:
> Question #156135 on Ubuntu Customization Kit changed:
> https://answers.launchpad.net/uck/+question/156135
>
> Status: Answered => Open
>
> Florian Erler is still having a problem:
> I downloaded 2.4.4 and it still doesn't work:
>
> 'Build (./uck-gui ) started at 2011-05-06 08:57:45
>>> Ubuntu Customization Kit 2.4.4 on Ubuntu 10.04, 2.6.18-028stab085.5-ent
i686
> Starting CD remastering on Fr 6. Mai 08:57:46 CEST 2011
> Customization dir=/home/wethon/tmp/customization-scripts
> Mounting ISO image...
> mount: no permission to look at /dev/loop<N>
> Cannot mount /home/wethon/ubuntu-10.04.2-desktop-amd64.iso in
/home/wethon/tmp/remaster-iso-mount, error=2
> Build ended at 2011-05-06 08:57:49'
>
> Funny: I commented the 3 lines checking for root, ran it as sudo and it
> failed. Strange ...
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu Customization Kit.

Can you help with this problem?

Provide an answer of your own, or ask Florian Erler for more information if necessary.

To post a message you must log in.