[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Repartitioning a USB external HD. Need help removing existing partition



On 2010-03-25 19:17, Paul E Condon wrote:
I just purchased a new Western Digital 'My Passport'. I've done this
before and thought I knew what to do, but this one has new, modern
features that are causing be problem pain.  As delivered, the drive
has format type 07 (HPFS/NTFS).  When I plug it in, it mounts as 2
partitions. One is called /dev/sda1 and the other is called
/dev/sr0. I have succeeded in removing /dev/sda1 using fdisk and
bulling thru warning messages about large number of cylinders.

sr0 ??????

That's you CD/DVD drive!!!!

$ dir /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 2010-03-23 15:40:09 /dev/sr0

$ dmesg | grep sr0 | head -n2
[    7.171872] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw
                                                xa/form2 cdda tray
[    7.172265] sr 5:0:0:0: Attached scsi CD-ROM sr0


But the /dev/sr0 is being difficult. Both fdisk and cfdisk tell me I
have no permission to write. Not surprising given the device name.

As it should!!

But I really want to remove it because it automounts with a goofy
mountpoint name in /media and I know I will come to regret letting
it survive.

$ dmesg | grep sr0

How? what software utility? Is this one of the x commands that are
for experts only?

PS yes I'm doing all my work as root. But still no permission to
write.



--
"History does not long entrust the care of freedom to the weak
or the timid."  Dwight Eisenhower


Reply to: