LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-27-2007, 12:47 PM   #1
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Rep: Reputation: 49
can't change the disk label of my new 500gig usb drive [fixed itself]


When I got it was formatted as fat32 (one 500 gig fat32 partition). I don't know how. The partition table looked funny in fstab. I should have made a copy... but anyway. I Just made one big partition, disk label 83, formatted with mke2fs -j, and when it was done fdisk -l said:

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       60800   488375968+   c  W95 FAT32 (LBA)
It's mountable, but not writeable. I tried to change the partition label again. Now it still has "W95" as sys ID, but now it's writeable! I'm confused.
mounted with pmount.

It also has a confusingly short uuid: B468-6F03
No idea if that means anything. Already added it to fstab, and it mounts and is writeable.

I would also appreciate any suggestions. I used to format all my drives reiserfs, so I'm kind of new to ext3 . It's going to be a pure backup drive. Any suggestions regarding formatting before it's too late?

Last edited by oskar; 07-27-2007 at 08:56 PM.
 
Old 07-27-2007, 02:02 PM   #2
mwecomputers
LQ Newbie
 
Registered: Jul 2007
Location: North Augusta, SC USA
Distribution: CentOS, RHEL, Scyld, Slackware, Solaris, SuSE, SLED, OpenSUSE
Posts: 20

Rep: Reputation: 0
Lightbulb

See this site for how-to reference:
http://tldp.org/HOWTO/Partition/fdisk_partitioning.html
 
Old 07-27-2007, 02:43 PM   #3
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Original Poster
Rep: Reputation: 49
That's funny. You work for a support company? This is the exact response I would expect from a phone service... let me break it down for you again:

I CANNOT CHANGE THE SYSTEM ID FOR THE PARTITION!

I set the id to 83, and after I 'write' it it's back to win 95.

Could that cause any trouble later on, or do you know a way to fix it. I can find manpages and howto's myself, thank you.

Last edited by oskar; 07-27-2007 at 02:48 PM.
 
Old 07-27-2007, 02:55 PM   #4
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Original Poster
Rep: Reputation: 49
That's funny... It just needed persistence. After the third try it did write the partition table.
I get this:
Code:
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
but that's nothing out of the ordinary, right?

Now hal happily mounts it with rw permissions automatically

Last edited by oskar; 07-27-2007 at 02:57 PM.
 
Old 07-27-2007, 03:23 PM   #5
mwecomputers
LQ Newbie
 
Registered: Jul 2007
Location: North Augusta, SC USA
Distribution: CentOS, RHEL, Scyld, Slackware, Solaris, SuSE, SLED, OpenSUSE
Posts: 20

Rep: Reputation: 0
If the problem persists, a possible solution might be to find a windows box and do a 'fdisk /mbr' on the drive to make sure that there is no outstanding master boot record information still available.

As a future recommendation, I wouldn't devote all 500GB to one partition. Depending on your kernel release, some hardware appliances might not have it 'allowable' as a LBA, thus giving the reported messages.

-- M
 
Old 07-27-2007, 05:10 PM   #6
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Original Poster
Rep: Reputation: 49
wrong again

1: what could the mbr have possibly to do with this? Secondly, this would differ from just overwriting the first 512 bytes of the device with zeros - how exactly?
2: If you had actually read the initial post, you would have realized that I don't need an fdisk tutorial, AND that I did not format it with LBA. Unless ext3 uses LBA, then I stand corrected. But since this drive is not going to leave this pc, I don't have to worry about it.
 
Old 07-28-2007, 02:36 PM   #7
hpladd
Member
 
Registered: Feb 2003
Distribution: Kubuntu
Posts: 142

Rep: Reputation: 15
--M,

Hang in there. If Oskar won't thank you, I will. Thanks for pointing Oskar to a fdisk tutorial. Clearly, he needs one.
 
Old 07-29-2007, 09:21 AM   #8
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Original Poster
Rep: Reputation: 49
Why is that?

Even if I do need one, it has relatively little to do with the original question. I did not ask how to partition, I asked why fdisk did not behave like it should. And I absolutely hate automatic link-posting or references to google. Why not just post the answer if you got it? OR provide me if information that actually helps! If you can't do that, why bother replying? You read it, you don't understand what the problem is, you go to the next one.
 
Old 07-29-2007, 11:01 AM   #9
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,896

Rep: Reputation: 73
Dude - relax. People here are offering you assistance and you sound like a complete jerk. Welcome to my ignore list.

</unsubscribe>
 
Old 07-29-2007, 03:10 PM   #10
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Original Poster
Rep: Reputation: 49
I might have overreacted. Almost every time I search for an answer I find a forum post followed by "check out this link..." Nevermind that half of the time the link is dead, most of the time it's either unrelated to the question, pointing to a manpage (wohoo!) or completely outdated information. I can do a google search myself. For most people this is how they came to visit the thread. This is the place where the solution should be. He obviously had no clue what the problem was, but he wanted to post something anyway. That's annoying, but not a crime. After all he did want to help, I understand that, but it doesn't make him less annoying.
 
Old 07-30-2007, 07:10 AM   #11
mwecomputers
LQ Newbie
 
Registered: Jul 2007
Location: North Augusta, SC USA
Distribution: CentOS, RHEL, Scyld, Slackware, Solaris, SuSE, SLED, OpenSUSE
Posts: 20

Rep: Reputation: 0
Each problem is different. Since there is really not a way on here to see your level of expertise in using Linux, I surmised that you were an average user (i.e. got enough sense to install and configure it for basic use). If I got that wrong, sorry.

After looking into the problem a bit more, I re-read the description that its a USB drive, thus most likely an external drive enclosure. My experience lies more with internal drives, so I am taking a shot in the dark with my knowledge on this type of device.

Lemme ask this: if you were to fdisk it, remove all partitions and save it. What does it respond with? The message of the 'error 16: Device or resource busy' sounds like its trying to sync up via the USB connector, but having problems with the connection thus reverts back to its original state. Usually when you see the 'error 16', you have to reboot to make sure the kernel sees the correct partition layout.

-- M

Last edited by mwecomputers; 07-30-2007 at 07:29 AM.
 
Old 08-01-2007, 12:10 AM   #12
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Lets all settle down a bit here....

Bickering back and forth has no place in this public forum.

Lets all kiss, makeup, and most importantly, move on.
 
Old 08-01-2007, 06:14 PM   #13
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by mwecomputers
Each problem is different. Since there is really not a way on here to see your level of expertise in using Linux, I surmised that you were an average user (i.e. got enough sense to install and configure it for basic use). If I got that wrong, sorry.
No problem, I was a bit edgy. That was at 2 in the morning. I looked at your other posts, and I see you do contribute to the forum. As I said before, I used you as a scapegoat. Accept my apology.
Quote:
Lemme ask this: if you were to fdisk it, remove all partitions and save it. What does it respond with? The message of the 'error 16: Device or resource busy' sounds like its trying to sync up via the USB connector, but having problems with the connection thus reverts back to its original state. Usually when you see the 'error 16', you have to reboot to make sure the kernel sees the correct partition layout.
yes and no. I already had rebooted, and it didn't see the system id correctly, when i tried to change it for the 4th or so time it showed up correctly without a reboot. (The reboot was just out of frustration... I don't see why you should have to reboot for a hotplug device)

Since no one has an answer to this yet my guess is it has something to do with this particular usb enclosure. Some weired freak issue. Now it works, so nevermind.

Last edited by oskar; 08-01-2007 at 06:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to change the label of a NTFS disk/partition lothario Linux - Software 3 11-04-2012 09:30 AM
accessing USB drive in Redhat 9 and then creating USB boot disk Fond_of_Opensource Linux - Hardware 1 04-15-2007 07:43 AM
Changing disk drive label Davisgwin Linux - Hardware 8 09-29-2004 02:50 AM
How to change the label of a disk dtournas Red Hat 0 08-17-2004 08:02 AM
Change disk label sizes? hypodermic *BSD 5 03-12-2004 06:44 PM


All times are GMT -5. The time now is 11:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration