[NTLUG:Discuss] erasing ISO image from memory stick
Ed Leach
ntlug at levelofdetail.com
Wed Apr 16 16:36:55 CDT 2008
Robert Citek wrote:
> On Wed, Apr 16, 2008 at 3:47 PM, Ed Leach <ntlug at levelofdetail.com> wrote:
>> If I do "fdisk /dev/scd" (as root) I get the message "Unable to open
>> /dev/scd".
>
> That's odd. Can you insert your USB stick, run the following script,
> and post the contents of output.txt here:
>
> true && (
> set -x
> cat /etc/issue.net
> cat /proc/partitions
> df -hTl
> ) &> output.txt
>
> Regards,
> - Robert
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
Robert - Sure:
+ cat /etc/issue.net
Ubuntu 7.10
+ cat /proc/partitions
major minor #blocks name
8 0 78150744 sda
8 1 75135973 sda1
8 2 1 sda2
8 5 3012156 sda5
8 16 998399 sdb
8 17 997936 sdb1
+ df -hTl
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext3 71G 3.7G 64G 6% /
varrun tmpfs 503M 84K 503M 1% /var/run
varlock tmpfs 503M 0 503M 0% /var/lock
udev tmpfs 503M 68K 503M 1% /dev
devshm tmpfs 503M 0 503M 0% /dev/shm
lrm tmpfs 503M 38M 466M 8%
/lib/modules/2.6.22-14-generic/volatile
-----------------------
Here is the fdisk output:
fdisk /dev/scd
Unable to open /dev/scd
---
fdisk /dev/scd0
You will not be able to write the partition table.
Note: sector size is 2048 (not 512)
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel with disk identifier 0x9bd60a0d.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
You must set cylinders.
You can do this from the extra functions menu.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by
w(rite)
Command (m for help): p
Disk /dev/scd0: 15 MB, 15988736 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 2048 = 32901120 bytes
Disk identifier: 0x9bd60a0d
Device Boot Start End Blocks Id System
Command (m for help):
----
Thanks,
Ed
More information about the Discuss
mailing list