Otavio Salvador a écrit : > > On Sat, Nov 14, 2009 at 3:29 PM, M.-A. DARCHE <ma.dar...@cynode.org> wrote: >> parted behaves very strangely on my Debian "Lenny" stable. It accepts >> only to work on mounted partitions. Is that how it should be? > > No, it should work on devices as well. >
That seems logical to me that it should behave that way, but it doesn't seem to do so, at least with the stable version (parted 1.8.8.git.2008.03.2) and on my setup :'( > What worries me is that you had pasted dd erasing whole device and > this would destroy the MBR as well and then it might not be a MBR > issue. > OK, I thought that somehow the MBR would not be affected by dd operations. > If you: > > dd if=/dev/zero of=<your usbstick> OK done > partprobe $ sudo partprobe $ echo $? 0 > parted mklabel <your usbstick> msdos > $ LC_ALL=C sudo parted mklabel /dev/sdb msdos Error: Could not stat device mklabel - No such file or directory. Retry/Cancel? Thanks for your help and time on this -- Marc-Aurèle DARCHE AFUL http://www.aful.org/ Association Francophone des Utilisateurs de Logiciels Libres French speaking Libre Software Users' Association -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org