Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-30-2007, 03:47 PM
|
#16
|
LQ Newbie
Registered: Dec 2006
Posts: 27
Original Poster
Rep:
|
hmmm...
ok
so how would i go about mounting a device like that?
mount -t vfat rw /dev/sdc /mnt/hd
where would i specify the rw?
|
|
|
09-30-2007, 04:16 PM
|
#17
|
LQ Newbie
Registered: Dec 2006
Posts: 27
Original Poster
Rep:
|
ok so i entered:
leprkhn@kubuntu:~$ sudo mount -t vfat -o rw /dev/sdc /mnt/hd
and it said:
mount: block device /dev/sdc is write-protected, mounting read-only
so i guess that that doesn't work.
|
|
|
09-30-2007, 04:37 PM
|
#18
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Sorry about that, I don't know what I was thinking. When did the device change from sdb to sdc? What happens if you remove the drive and reinsert it? Did you get any errors from dd? What does say about the device?
Good luck. ;-)
Last edited by Peacedog; 09-30-2007 at 04:41 PM.
|
|
|
09-30-2007, 04:37 PM
|
#19
|
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Rep:
|
I asked for the output of "mount" directly, with no options, itll give information that you havent provided.
When you ran fdisk, the drive was un-mounted, right?
|
|
|
09-30-2007, 05:00 PM
|
#20
|
LQ Newbie
Registered: Dec 2006
Posts: 27
Original Poster
Rep:
|
@peacedog:
it changed from sdb to sdc when i tried pulling it out and sticking it back in. kubuntu automounted it to /media/STICK.
dd just sais opening '/dev/sdc': read-only file system
no errors.
fdisk -l /dev/sdc sais:
Disk /dev/sdc: 4160 MB, 4160749568 bytes
128 heads, 62 sectors/track, 1024 cylinders
Units = cylinders of 7936 * 512 = 4063232 bytes
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdc1 ? 98052 241891 570754815+ 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(357, 116, 40) logical=(98051, 51, 11)
Partition 1 has different physical/logical endings:
phys=(357, 32, 45) logical=(241890, 104, 51)
Partition 1 does not end on cylinder boundary.
/dev/sdc2 ? 21257 265212 968014120 65 Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(288, 115, 43) logical=(21256, 30, 47)
Partition 2 has different physical/logical endings:
phys=(367, 114, 50) logical=(265211, 52, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdc3 ? 235621 479576 968014096 79 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(366, 32, 33) logical=(235620, 18, 30)
Partition 3 has different physical/logical endings:
phys=(357, 32, 43) logical=(479575, 39, 39)
Partition 3 does not end on cylinder boundary.
/dev/sdc4 ? 363620 363627 27749+ d Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(372, 97, 50) logical=(363619, 12, 25)
Partition 4 has different physical/logical endings:
phys=(0, 10, 0) logical=(363626, 11, 33)
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
@sciyro
mount with no options sais:
mount: block device /dev/sdc is write-protected, mounting read-only
and yes i was sure to unmount it defore running fdisk.
|
|
|
09-30-2007, 06:58 PM
|
#21
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Answered my own question, see below.
Good luck. ;-)
Last edited by Peacedog; 09-30-2007 at 07:15 PM.
|
|
|
09-30-2007, 07:13 PM
|
#22
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Ok, I found this.
http://ubuntuforums.org/archive/index.php/t-329796.html
It lead me here.
http://www.patriotmem.com/support/flashSupportp.jsp
This leads me to believe there is security partition still on the device which may be causing the lock issue. Although I had a drive with u3 on it that acted the same way at first, once I zeroed the boot sector I was able to do as I pleased with the drive in linux. Upon plugging it back into a windows machine it locked the box up, apparently the u3 software was embedded. I had to run the u3 removal tool from windows to use the drive across platforms. I don't know if this will solve your problem but, I'm fresh out of ideas.
Good luck. ;-)
|
|
|
All times are GMT -5. The time now is 06:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|