Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.hardware > #898
| From | Haines Brown <haines@HistoricalMaterialism.info> |
|---|---|
| Newsgroups | comp.os.linux.hardware |
| Subject | Recover zonked USB sticks |
| Date | 2011-12-05 11:37 -0500 |
| Message-ID | <878vmrgejw.fsf@engels.HistoricalMaterialism.info> (permalink) |
I am in the habit of putting an ISO on a USB stick to netinst install
the Debian Squeeze system. However, when I try to do it with a custom
ISO and installer combo, the # zcat command destroys the stick. After
doing it, I now plug the stick in (with automount) I get:
$ dmesg
...
[250357.735511] sd 28:0:0:0: [sdb] Assuming drive cache: write through
[250357.735514] sdb:
$ df -k
...
/dev/sdb 489208 25408 463800 6% /media/usb0
$ mount
...
/dev/sdb on /media/usb0 type vfat
(rw,noexec,nodev,sync,noatime,nodiratime)
With the custom boot image I do:
# zcat boot-i386-0808.img.gz > /dev/sdb
$ ls /media/usb0
adgtk.cfg f2.txt f8.txt initrd.gz rqtxt.cfg vesamenu.c32
adtxt.cfg f3.txt f9.txt ldlinux.sys setup.exe win32-loader.ini
disk.lbl f4.txt g2ldr linux splash.png
exithelp.cfg f5.txt g2ldr.mbr menu.cfg stdmenu.cfg
f10.txt f6.txt gtk.cfg prompt.cfg syslinux.cfg
f1.txt f7.txt initrdg.gz rqgtk.cfg txt.cfg
However these files are probably remnants of a prior run of zcat on
a stock ISO, but they are not in /dev/sdb1 for some reason.
# cfdisk /dev/sdb
FATAL ERROR: Bad primary partition 0: Partition begins after
end-of-disk
I've done this to two sticks. Although they are old, small and cheap, it
would be nice to recover them. Any suggestions?
Haines Brown
Back to comp.os.linux.hardware | Previous | Next — Next in thread | Find similar | Unroll thread
Recover zonked USB sticks Haines Brown <haines@HistoricalMaterialism.info> - 2011-12-05 11:37 -0500
Re: Recover zonked USB sticks Lew Pitcher <lpitcher@teksavvy.com> - 2011-12-05 12:24 -0500
Re: Recover zonked USB sticks Haines Brown <haines@HistoricalMaterialism.info> - 2011-12-06 13:03 -0500
Re: Recover zonked USB sticks "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2011-12-06 16:01 -0500
Re: Recover zonked USB sticks Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2011-12-06 23:13 +0100
Re: Recover zonked USB sticks Haines Brown <haines@HistoricalMaterialism.info> - 2011-12-07 10:42 -0500
Re: Recover zonked USB sticks Richard Kettlewell <rjk@greenend.org.uk> - 2011-12-06 19:29 +0000
Re: Recover zonked USB sticks Haines Brown <haines@HistoricalMaterialism.info> - 2011-12-07 10:39 -0500
Re: Recover zonked USB sticks Haines Brown <haines@HistoricalMaterialism.info> - 2011-12-07 12:13 -0500
Re: Recover zonked USB sticks Richard Kettlewell <rjk@greenend.org.uk> - 2011-12-07 17:25 +0000
csiph-web