Hardware :: USB Thumb Drive Connect With Computer - Quickly Change What Was On Screen
May 9, 2010
Can Linux emulate a USB disk? Why would you want to do this you ask? Say you have a digital picture frame that uses a USB thumb drive you could connect your computer to it and quickly change what was on the screen. I realize you need some special hardware for this as both the PC and the frame would want to be USB masters. But there are USB transfer cables you can buy on-line that do USB master to master connections.
This has been bothering me for years now...when I go to remove a thumb drive from my computer, I have two options when I right click the device eject and safely remove. What on earth is the difference supposed to be?
I bought a new Hp Pavillion DV6T. For the most part, everything worked right out of the box with ubuntu, but the computer seems to be heating up really quickly for no reason whatsoever even if I'm not doing anything intensive. Why this is happening. The fan always seems to be running at full blast. I logged onto windows for a minute to see if there was any difference in heating between the two OSs and windows seems to run much cooler and much more quiet. On a side note I'm thinking of returning the HP and buying a dell XPS 15. I hear they are more compatible with ubuntu and are better built.
HP Pavillion DV6t ATI Radeon 6570 1 GB graphics card Intel I7 2.0GHZ quad
The software: Ubuntu Server Edition 9.10.The wetware: A programmer doing his best (read: ignorant, shitty) as an ad-h.When I plug the USB thumb drive in, the install OS gives it a drive letter -- /dev/sdb -- and it pushes the original /dev/sdb down to /dev/sdc. The installation works without a hitch, and GRUB2 installs, dutifully pointing the root at /dev/sdc1 instead of /dev/sdb1.I let GRUB2 start normally ("drive not found"), holding the <shift> key to get to the "rescue>" prompt.From there, I issue "ls" to discover that GRUB can NOT see /dev/sdb, and I can tell that because what is showing up as (hd1) does NOT have three partitions as it should.GRUB2 sees a total of 16 drives, not 26, and one of the drives it sees is "fd0" (there is no floppy drive).Issuing commands like "set prefix=(hdx,y)" and "root=(hdx,y)" have no effect as, I think it's just pointing to the (reiserfs)content drives and this GRUB2 tells me "unknown filesystem".I did try them all in vain, hoping that maybe I'd find a kernel somewhere.I used the "rescue" mode of the Ubuntu installer (the USB thumb drive) to get to a root prompt.From there, I mounted /dev/sdc2 (the "shifted" /dev/sdb2) onto /mnt, I mounted /dev/sdc1 (the "shifted" /dev/sdb1) onto /mnt/boot,and then I chroot'ed to /mnt.I edited /boot/grub/grub.cfg, editing every instance of "root=(hd2,1)" to the appropriate UUID for the "real" /dev/sdb1. Then I issued update-grub2.It refused to work giving me an banal "no such partition" error or something like that.
We originally had this server functioning by putting / and /boot on the SS SanDisk, which caused no problems during installation because /dev/sda doesn't get shifted.We then figured it was a good idea to put our OS files on something with failover capability. And that started us down this crappy "shifting drive letter" path.Can I control which drive letter the USB thumb drive gets assigned during the install process?If I could make it be /dev/sdc then I wouldn't be facing this problem.An alternate solution would be to know the cryptic GRUB2 commands that I can issue from the command prompt post-install, pre-reboot.But I'm wondering if that will ultimately work at all considering that GRUB2 couldn't see /dev/sdb at all.
I am new to Linux ,i did one project in windows which will block the thumb drive with respect to serial number(Device instance ID) of the device.i am planning to do the same project in Linux using c/c++.I am very new to Linux,there is no drive letter for thumb drives we insert into Linux OS.How to get Drive letter and how to get Device instance id of thumb drives please help me get some clues.please provide me any tutorial or any links .w if have any other clues to block devices with respect "block list" and "allow device list".if the serial number in block list it has to block if serial number in allow device list it has to allow thumb drive to access.
Nothing happens when ordinary users plug in a USB thumb drive or insert a CD into CDROM drive. Works fine for root. After root mounts the drives then all users can use them. How can I enable mounting/unmounting by all users?
My friend gave me his old computer but he kept the hard drive, I have a computer with a 200 gb hard drive. could I partition the hard drive and have the computer my friend gave me access the other partition without having to take the hard drive out and connect it to the other computer?
I am using Ubuntu 10.04. I wish I could use Nautilus to change file dates, but I guess that does not work.
Is there another file manager, or something, that allows me to do this? I know about the touch command, but that's a little cumbersome for I am trying to do.
I'm running badblocks on some new disk drives just to be safe before my return period expires. I'm running the command
Code: sudo badblocks -b 4096 -p 4 -c 65536 -w -s /dev/sdb1 on an empty partition taking up the entire device. I am getting the following output:
[Code]...
1) When it gets to the "reading and comparing" phase, it seems to complete in <1s. I see other posts where people say this takes them as long as it took to write to the drive. I don't see any mention of this being quick, so I'm just afraid that badblocks is being denied read access or something.. Anyone familiar with this behaviour?
2) Obviously since it is on a sixth pass, badblocks thought that it found new bad blocks on the second pass (or later). When I check SMART, though, the drive has not re-allocated anything (despite having plenty of spares)... Doesn't this seem odd? Is there some reason why the disk would not step in upon a write fail? In fact, I thought a write fail should be transparent... Which makes me wonder if question 1 (above) is causing this...
I installed debian server on a custom built intel computer, with a 2.5 ghz dual core processor, 3 Gb of ram and a 500 GB sata hdd, I had originally installed debian server to use it as a web server, but for some reason after a few hours it completely freezes, mouse wont move I cannot connect to the webserver or ftp server, I restarted it and it will do it again, it isnt a specific amount of time it just does it randomly sometimes it will take 2 hours another time it will take 2 days, anyone know what could be wrong, I am quite new to linux and am not sure exactly how to view logs and such.
I'm looking for a way to quickly remove all data/partitions/boot records from my hard drives while running linux (distribution is irelevant). There are lots of ways to do this that I know of, but they all have some problems. Here's a list of what I've tried/thought of already. The most obvious is fdisk: Simply delete all the partitions. This usually works just fine and is very quick, but there are times it just doesn't....I'm realy not sure what gets left behind...I remove the MBR as well..but whatever it is, it's in the way. A couple other options are:
Both of these approaches are great if you're selling the components and want to make it very difficult for anyone to recover data. The draw-back is they take so very long to run. I've got four 1.5 TB drives that I've been writing zeros to for 2 days now. If you thought watching grass grow or paint drying was boring. A hundred years ago or so, when I was doing tech support for Windows 95 users we used this nifty dos-based debug script to wipe the hard drive. It was sort-of a last resort thing, but it worked beautifully, most of the time. If the customer had already formated, fdisked, fdisk /mbr, reinstalled Windows, but still couldn't get the thing to work, this would clean the drive so you could do a fresh install.
Just in case someone wants this, I'll post it. To use: first boot to some type of DOS environment in which you have the program "debug".
So i saw a thread somewhere about using a thumb drive to make extra ram for your pc. This was of course on a windows pc. I was wondering if this works on Ubuntu also and if it is really worth it?
Also if you have 4 USB ports could you put in 4 usb thumb drives and have a fantastic amount of ram?
I have a new Giada cube with no hard drive, so my plan is to simply run a Linux/MythTV distro called MythDora from a Patriot 8GB USB stick (this Giada does not PXE boot). I am having trouble figuring out exactly how to make this work. Yesterday, although I have forgotten exactly how, I was able to put a MythDora Live image on the stick and boot up. I went through the initial setup, and then, when I was all done, I rebooted, and..it started all over again...as if I was doing it for the first time. So...What do I need to do to create a proper bootable USB stick?What ISO image should I use? The full DVD? Or the Live ISO? or the Network image?Do I need to partition the stick and load the O/S from one small partition, transferring the installation to another larger one?What utility should I use to create the bootable stick? unetbootin? or similar?Do I have to do anything special to make my O/S and configuration changes persistent on the USB stick?
I want to copy my /home to a USB thumb drive recursively. I've wrestled with this for a few hours now and continue to spin my wheels.The device is listed in my Disk Utility as /dev/sdc. However a little further down it is listed as /dev/sdc1 ? Anyway, I relabeled the volume as usb stick and formatted it to Ext4. I mounted it at /media/usb stick Do I have to enter this drive into the fstab? If so, how? what do I write? Using the command : cp -R (what follows... I want to copy /home recursively to the usb thumb drive.)
I need to have a web app that is feeding ip camera feeds across internet to a server. Need to have thumb drive preconfigured with cameras prior to shipping. End user plugs in cameras, puts thumb drive in any running PC, have WEB app start with some menu options to like name the feeds. Back at server receiving feeds are broadcasted via secure web site.I have never worked with Linux but have read some incredable things already.
When I insert a USB thumb drive into a USB socket a "CD-ROM Disc" icon appears on the desktop. When I double-click on the icon I get a "CD/DVD Creator" window. Messages in "/var/log/messages" shows Vendor (Sandisk) and Model (Cruzer) for the USB thumb drive. Those are correct. But for Type it says CD-ROM. What's up with that?
After dual booting into Windows to play Mass Effect 2, I hit the windows key by mistake, and the screen quickly turned black! Since then, I couldn't boot into Fedora, nor Windows; not even Fedora's linux rescue. I see the GRUB, I hit enter on any one of the two options, and all I see is a black screen!
The following quote is the sad, sad story of a thumb drive with the partition table nuked, as told by a friend of mine:
Quote:
Data was recovered from an XP system by booting with a BartPC CD and copying onto a USB thumb drive. Nothing unusual.
System was rebooted into the XP install CD.
The first drive that was found was the 16gb thumb drive (AKA flash drive) and the person (re) installing XP didn't catch the fact that XP presented the 16gb thumb drive instead of the 160gb hard drive.
The drive partition function in XP deleted the partition table - on the thumb drive.
A freeware utility in Windows shows the data but can't recover the file names, so that everything is gobbledygook. Does anybody know of a utility or program under Linux that can help? I have a laptop running F 12 and can do the work if needed, but don't know what program to use.
I am looking for OpenVMS distribution on a thumb drive for a PC. I image it would be a Linux system that automagicly starts a VAX simulator then boots OpenVMS on that. Either it would run live off of the thumb drive or it would install to the system's hard drive.
I've just installed UNR version of Ubuntu on one of my thumb drives and was wondering what I needed to do to for making it have persistent changes? I've seen the different tools and the usb creator they have on Ubuntu already but I want to do it myself from scratch. What files do I need to edit to make the drive persistent? I made the bootable thumb drive using UNetbootin.
i inserted a thumbdrive on one of the usb slots on my laptop upon inserting it shows:[sdb] Assuming drive cache: Write through[977.113519] sd 5:0:0:0: [sdb] Assuming cache: Write through
how to read the contents of my thumbdrive?Do i need to mount it first or what should be the procedure?
I have a thumb drive that I cannot get a clean format done to use it as a boot device.Is there some way to do a lower level format (I am using Gparted) to get rid of this error?
I want a USB drive for emergency situations. It will have sensitive information, family photos, etc. stored on it. I want it to have one encrypted portion (TrueCrypt) for the sensitive materials. I want the files to be able to be viewed on a Windows machine first and foremost. If no Windows machine is available I would like to have a bootable version of Ubuntu on the USB drive so I can boot it and also view the files.
I want to move 1.2GB of photos onto a 2GB thumb drive, calling up Properties, it says the size on disk is 9.7GB. What is going on? I don't recall discrepencies this huge in previous OS's. What is taking up 7 times more space than my actual files?
I 'm using vmware server to virtualized suse linux enterprise server11 as the guest operating system under my main OS of window 7 professional version, but when i plug on the pen drive, SLES11 (guest OS) that hosted under vmware with window 7 prefessional as main OS can't detect of my pendrive but i can do this before at window XP version...
I have thumb drive connected to a busybox box.I mounted it /opt in initialzation file. However after a while it will unmount itself because it changes its drive letter from sda1 to sdb1. How could a usb device change its drive letter by itself? How could I prevent it happening?