BTS

Issue1155

Title grml-debootstrap: doesn't load loop module
Priority bug Status resolved
Superseder Nosy List ch, mika, mru
Assigned To mika Topics grml-debootstrap

Created on 2012-04-09.21:53:48 by ch, last changed 2012-04-24.14:43:11 by mika.

Messages
msg4330 (view) Author: mika Date: 2012-04-24.14:43:11
Uploaded 0.50 including my fix.
msg4324 (view) Author: mika Date: 2012-04-10.10:02:58
Please give
https://github.com/grml/grml-debootstrap/commit/6533790422defafb5e46b8d002a9a518885307fb
a shot whether this fixes your issue.
msg4322 (view) Author: ch Date: 2012-04-09.21:53:48
When the loop module hasn't already been loaded, this fails:

sudo grml-debootstrap --vmfile --target qemu.img -t wheezy --arch amd64 --filesystem ext3 --force 
--scripts ./util/build/post-scripts



 * grml-debootstrap - Please recheck configuration before execution:

   Target:          wheezy
   Install grub:    yes
   Using release:   squeeze
   Using mirror:    http://cdn.debian.net/debian
   Using hostname:  grml
   Deploying as Virtual Machine.
   Using Virtual Disk file with size of 2G.

   Important! Continuing will delete all data from wheezy!
 * Skip user acknowledgement as requested via --force option.
Formatting 'wheezy', fmt=raw size=2147483648
0 @0x168: 63 @4 (0x4)
 - 0x168: 32 (0x20) @ 4 (0x4)
 - 0x16A: 31 (0x1F) @ 36 (0x24)
using 2 blocks, 4 bytes (146 free)
using sectors of 2^9 = 512 bytes
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.0135541 s, 37.8 kB/s
64+0 records in
64+0 records out
64 bytes (64 B) copied, 7.9024e-05 s, 810 kB/s
 * Device-mapper not ready yet, trying to load dm-mod module.
mount: could not find any device /dev/loop#Bad address
can't set up loop
 * Error setting up loopback device.
 -> Failed (rc=1)
 * Removing /var/cache/grml-debootstrap/stages_wheezy
 * Removing loopback mount of file wheezy.
History
Date User Action Args
2012-04-24 14:43:11mikasetstatus: in-progress -> resolved
nosy: mika, mru, ch
messages: + msg4330
2012-04-10 10:02:58mikasetstatus: unread -> in-progress
assignedto: mika
messages: + msg4324
nosy: mika, mru, ch
2012-04-09 21:53:48chcreate