Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  
Old 3 Weeks Ago   #1
a2z
Just Give Me the Beans!
 
a2z's Avatar
 
Join Date: Mar 2009
Location: Florida
Beans: 48
Ubuntu Jaunty Jackalope (testing)
Naming USB meory stick

Hi everyone,
I've come to this forum not knowing any better where else to put this question.
I've read some replies as to naming usb sticks/thumb drives.
Some say you can't name them. And in my little experience with linux (since jan.09) have not been able to find a way to do it.

If this is the case with linux, I would just about expect a remedy for this. Mostly because I can name sticks in windows and the naming is preserved when passed over to ubuntu.
And I also know what ever you can do in windows, you can do with linux and probably better.

Anyone know how to name usb drives.
I'm using ubuntu jaunty. I have tried karmic beta about 3 weeks prior to final release. Liked it for the most part, but for me, continually went south.
Thanks for any and all input,
a2z
__________________
www.webstore.com/~a2zHere
If you didn't learn something one day, you didn't do anything that day. Those that don't do anything one day, don't want to know anything.
a2z is offline   Reply With Quote
Old 3 Weeks Ago   #2
squaregoldfish
Quad Shot of Ubuntu
 
squaregoldfish's Avatar
 
Join Date: Sep 2007
Location: Norwich, UK
Beans: 436
Ubuntu 9.04 Jaunty Jackalope
Send a message via MSN to squaregoldfish Send a message via Yahoo to squaregoldfish Send a message via Skype™ to squaregoldfish
Re: Naming USB meory stick

I'm pretty sure you can do this with GPartEd - the disk partitioning tool. Just be careful with it!

Steve.
squaregoldfish is offline   Reply With Quote
Old 3 Weeks Ago   #3
a2z
Just Give Me the Beans!
 
a2z's Avatar
 
Join Date: Mar 2009
Location: Florida
Beans: 48
Ubuntu Jaunty Jackalope (testing)
Re: Naming USB meory stick

Quote:
Originally Posted by squaregoldfish View Post
I'm pretty sure you can do this with GPartEd - the disk partitioning tool. Just be careful with it!

Steve.
This is good news.

Thanks, I hope it works

a2z
__________________
www.webstore.com/~a2zHere
If you didn't learn something one day, you didn't do anything that day. Those that don't do anything one day, don't want to know anything.
a2z is offline   Reply With Quote
Old 3 Weeks Ago   #4
itnet7
Ubuntu Member
 
Join Date: Jan 2009
Location: Melbourne, FL
Beans: 48
Ubuntu Karmic Koala (testing)
Re: Naming USB meory stick

You can also do this while formatting the partition using fdisk.

$ sudo mkfs.vfat -F 16 -n liveusb /dev/sdb1

The label would be livusb in the above example.

Or if you already have a partition you can follow this guide for both gparted and CLI.


I did the following on my usb-thumbdrive

Code:
sudo mlabel -i /dev/sdb1 -s ::
And received the following:

Total number of sectors (1973410) not a multiple of sectors per track (61)!
Add mtools_skip_check=1 to your .mtoolsrc file to skip this test

Then I added this:

Code:
echo mtools_skip_check=1 >> ~/.mtoolsrc
and re-ran the previous command:

Code:
sudo mlabel -i /dev/sdb1 -s ::
This time it showed me this:

Code:
Volume has no label
I edited the following:

Code:
sudo nano /etc/mtools.conf
and added this line to the end of the .conf file.

Code:
drive p: file="/dev/sdb1"
and saved my changes.

Code:
sudo mlabel p:usb-ubuntu
then ran the following again:

Code:
sudo mlabel -i /dev/sdb1 -s ::
and saw this:

Code:
Volume label is USB-UBUNTU
I just did this on Karmic without any troubles.

Hope this helps!

Chris Crisafulli
itnet7/irc.freenode.net
Ubuntu Florida Team
itnet7 is offline   Reply With Quote

Bookmarks

Tags
naming thumb drive, naming usb stick

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:15 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry