BTS

Issue857

Title grml2usb failed to read device
Priority bug Status resolved
Superseder Nosy List suntong
Assigned To Topics

Created on 2010-05-27.22:47:58 by suntong, last changed 2010-06-30.11:31:29 by mika.

Messages
msg3253 (view) Author: mika Date: 2010-06-30.11:31:27
We believe that your issue has been closed by the upload of
Version 0.9.27 of grml2usb from Michael Prokop <mika@grml.org>.
The explanation is attached below

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 30 Jun 2010 13:10:09 +0200
Source: grml2usb
Binary: grml2usb
Architecture: source all
Version: 0.9.27
Distribution: unstable
Urgency: low
Maintainer: Michael Prokop <mika@grml.org>
Changed-By: Michael Prokop <mika@grml.org>
Description: 
 grml2usb   - install grml system / ISO to usb device
Changes: 
 grml2usb (0.9.27) unstable; urgency=low
 .
   [ Michael Prokop ]
   * [3836a71] Check for precense of grub/syslinux at startup time.
     Thanks to Eduard Bloch for reporting.  [Closes: issue855]
   * [bde7012] Mention --force switch of grub-install in debug log.
   * [1c1c18c] Doc: fix documentation regarding default bootmanager.
     (thanks Martin Krafft).
   * [bae5bfb] Bump Standards-Version to 3.9.0.
 .
   [ Ulrich Dangel ]
   * [b79a4cc] Fix error message for unintialized partition.
     [Closes: issue857]
   * [cd204ee] Fix user feedback about default flavour and
     installed flavours.
Checksums-Sha1: 
 7aebe3e18bd6c723aed4118e8b4d9d22a266e255 876 grml2usb_0.9.27.dsc
 c545f4838e997ee3619194dd65c987f69f54751d 1242201 grml2usb_0.9.27.tar.gz
 2a9a78706bf823d0709f9bd1309feb883ee4f76c 865804 grml2usb_0.9.27_all.deb
Checksums-Sha256: 
 15ac61465afc159dab6ae5b6f441474d5e62dfb7b079323652c4e8751955b2c1 876 grml2usb_0.9.27.dsc
 b8394d3217817bf4d6754a8d512725e51f4ff1eed574e4bd91b35b3db190ffff 1242201 grml2usb_0.9.27.tar.gz
 991cbee79b5498f8f79eeeb9838ec045ef37b934f6216e9e292e78bd2b4f4315 865804 grml2usb_0.9.27_all.deb
Files: 
 ed5b83e1e2d906db7680bfa7a196bcab 876 grml optional grml2usb_0.9.27.dsc
 689df8a506fce56fa564ba5a265642bb 1242201 grml optional grml2usb_0.9.27.tar.gz
 24a47d0aca2212c11aa32618da965515 865804 grml optional grml2usb_0.9.27_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFMKyiG2N9T+zficugRAqALAJ4gBjlwoq8iruiBgvZIl3KNZX7drQCfXPpX
Hwhb7FcetHCWol1Of2zG6g0=
=dnWP
-----END PGP SIGNATURE-----
msg3251 (view) Author: mru Date: 2010-06-30.11:08:36
Sorry that it took so long to come back on you.

Its already fixed in git,
http://git.grml.org/?p=grml2usb.git;a=commit;h=b79a4cc0cfb42be3f9f4aa33993f928bffedd692

regards,
Ulrich
msg3221 (view) Author: suntong Date: 2010-06-11.04:12:34
root@grml ~ # /sbin/blkid -s TYPE -o value /dev/sda1
2 root@grml ~ # echo $?
2

4 root@grml ~ # /sbin/blkid -v
blkid from util-linux-ng 2.16.2 (libblkid 2.16.0, 10-Feb-2009)

root@grml ~ # /sbin/blkid
/dev/sda4: UUID="F6CC0F08CC0EC33B" TYPE="ntfs" 
/dev/sda6: UUID="F6CC0F08CC0EC33B" TYPE="ntfs" 
/dev/loop0: TYPE="squashfs" 
/dev/sda10: LABEL="" UUID="EA7A-DEFF" TYPE="vfat" 


That confirms my suspition -- I thought the reason is because that I just prepare
the partition with cfdisk -- the partition is not formatted.
msg3194 (view) Author: mru Date: 2010-05-30.12:30:26
On Saturday 29 May 2010 05:02:17 Tong Sun wrote:

Hi,
can you please execute in addtion /sbin/blkid -s TYPE -o value 
/dev/sda1?

Oh and please send the return value as well as the blkid version.

Thanks,
Ulrich
msg3193 (view) Author: suntong Date: 2010-05-29.03:02:16
% ls -la /dev/sda1 /mnt/sda1 
brw-rw---- 1 root disk 8, 1 2010-05-28 22:57 /dev/sda1

/mnt/sda1:
total 0
drwxr-xr-x  2 root root  60 2010-05-28 22:58 .
drwxr-xr-x 27 root root 240 2010-05-28 22:58 ..

% fdisk -l

Disk /dev/sda: 20.4 GB, 20411080704 bytes
255 heads, 63 sectors/track, 2481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x95b895b8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         124      995998+  83  Linux
/dev/sda2             125         732     4883760   17  Hidden HPFS/NTFS
/dev/sda3             733        2481    14048842+   5  Extended
/dev/sda5             733         793      489951   82  Linux swap / Solaris
/dev/sda6             794        1279     3903763+   7  HPFS/NTFS
/dev/sda7            1280        1765     3903763+  83  Linux
 [ . . . ]
msg3188 (view) Author: mika Date: 2010-05-27.23:14:25
* Tong Sun wrote in grml's BTS on 20100528 / 00:48:

> grml@grml ~ % sudo grml2usb /live/image /dev/sda1
> Executing grml2usb version 0.9.25
> Execution failed: Failed to read device /dev/sda1 (wrong UID/permissions or
> device/directory not present?)

> what could be wrong?

ls -la /dev/sda1
?

regards,
-mika-
msg3187 (view) Author: suntong Date: 2010-05-27.22:47:57
From grml 2010.04,

grml@grml ~ % sudo grml2usb /live/image /dev/sda1
Executing grml2usb version 0.9.25
Execution failed: Failed to read device /dev/sda1 (wrong UID/permissions or
device/directory not present?)

what could be wrong?
History
Date User Action Args
2010-06-30 11:31:29mikasetstatus: fixed-in-git -> resolved
messages: + msg3253
2010-06-30 11:09:04mrusetstatus: chatting -> fixed-in-git
2010-06-30 11:08:36mrusetmessages: + msg3251
2010-06-11 04:12:35suntongsetmessages: + msg3221
2010-05-30 12:30:28mrusetmessages: + msg3194
2010-05-29 03:02:17suntongsetmessages: + msg3193
2010-05-27 23:14:26mikasetstatus: unread -> chatting
messages: + msg3188
2010-05-27 22:47:58suntongcreate