General :: Removing Flash Drive - Root Folder Turned Red
Sep 16, 2010
I took some videos off a usb flash drive, then went and selected " safely remove usb" and the light continued to blink on the flashdrive, I pulled it out any way, and the root folder turned red... everything seems ok, but how do you know when it's ok to safely remove a usb devise ?
View 3 Replies
ADVERTISEMENT
Nov 29, 2009
I have a flash drive that I used on my old netbook to temporally hold a copy of ubuntu as the netbooks internal drive was dead. I have since got a new netbook and wanted to return the flash drive to simple removable storage. I've re-partitioned it back to 14gb fat32 2gb ext2 and everything is working fine. Except that if I try to boot with the key inserted grub loads then errors imminently (sort of obvious if grub is still in the MBR but there is no menu.lst file anymore...) Googling for removal of GRUB just gives me loads of hits for how to restore windows mbrs when you dont want to keep linux anymore. None of these methods seem to have any targeting. I need to remove grub from sdb while keeping it intact in sda. sdb shouldn't even be bootable, so that when boot from usb is higher in the bios than boot from hdd the usb key is ignored and the hdd is booted as normal.
View 3 Replies
View Related
Aug 5, 2010
Some moments ago, I plugged my drive into a computer with some strange data protection software. It turned my drive's filesystem into read only and now it can neither be formatted nor mounted with write option. I've tried
Code:
$ sudo dd if=/dev/zero of=/dev/sdb
but it doesn't work.
The problem is, the computer and the software that have caused this problem has lost forever.
View 3 Replies
View Related
Oct 20, 2010
The search function does not like "U3" so I cannot locate the latest in removing it. Has anyone figured out how to do so using Linux? (Explosive, maybe, but was the Stupix worm hidden in flash drives using the U3 tools?)
View 9 Replies
View Related
Aug 2, 2010
I need to make my root partition bigger to add more free space. Is there a Linux version that will fit on a small usb flash drive that has the tools I need? I plan to boot a Linux distro from a flash drive in order to resize the partition.
View 1 Replies
View Related
Dec 3, 2009
I have a nightly scheduled script which creates a $vhostname directory under /mnt, mounts a windows box pointing to /mnt/$vhostname then rsyncs (pulls) some files/folders from the mount point. After this, I want to unmount the drive and remove the /mnt/$vhostname directory. Problem is that removing the /mnt/$vhostname directory sometimes ends up deleting all the files on the source! Example of script (stripped out lots of superfluous stuff):
Code:
vHOSTNAME='testhost'
vRSYNCFLAGS='-ahvz --inplace'
/bin/mkdir -p /mnt/${vHOSTNAME}
/usr/bin/rsync ${vRSYNCFLAGS} /mnt/${vHOSTNAME}/KAVSHARE /backups3/${vHOSTNAME}/
/bin/umount -l /mnt/${vHOSTNAME}
/bin/rm -Rf /mnt/${vHOSTNAME}
It seems that my umount line isn't disconnecting the mount, leaving the following line to literally delete all directories, recursively. Is there a way of safely just deleting the directory (ie: mount link) without linux accidentally trashing the whole source?
View 3 Replies
View Related
Oct 2, 2010
I get this link [url] for change my version of flash, because I can't playing flash when I have turned on effects. So I downloaded file for my Ubuntu 10.04 64-bit and I extracted it. But there is problem, because I don't know on which location I need to copy .so file?
View 2 Replies
View Related
Sep 3, 2010
I have a folder on my flash drive where I keep sensitive info (important numbers, passwords, etc.) and would like to protect this info in the event that someone gets a hold of this drive.
I figured the best method was encryption so I started experimenting with gpg, but I encountered problems as mentioned here:
[URL]
I still haven't found a solution so I'm looking into possible alternatives. As shown in the above thread, someone recommended using eCryptfs or an encfs directory. Before I spend anymore time researching this stuff, has anyone tried using these before? Do they work well and do you think these would suit my needs?
The only other alternative I can think is just compressing the folder into a password protected rar file. Would this work well or would I be leaving my data vulnerable?
ALSO, I would a prefer a solution that would still allow me to backup this folder using rsync. I like to keep and up-to-date backup of my entire flash drive by syncing it to another flash drive using rsync.
View 2 Replies
View Related
Mar 19, 2011
None of my daemon scripts work now, and the startup process displayed errors. Should I reinstall the OS and start from scratch, or is there a way to recover these files? Is there a way to rebuild the files I deleted?
View 2 Replies
View Related
Nov 29, 2008
I have a flash drive that I want to mount as my root filesystem at boot time. When I'm in linux, I can run `mount /dev/sda1 /mnt`, and the kernel will mount the ext3 FS on the flash drive at /mnt with no problems. From this I assumed I could boot my system with the kernel option 'root=/dev/sda1', but this doesn't work. My kernel has no initrd, and is booted directly by a bootloader. It has no modules, so I know that's not the issue.
The current setup that works consists of a ramdisk that the bootloader loads into RAM before booting the kernel. The kernel detects this ramdisk and the current kernel root option ('root=/dev/ram') mounts the ramdisk as the root fs with no problems.I can see where the kernel detects the flash driveat startup, and I can't think of a reason why I couldn't just mount it as root. I can copy/paste startup logs here if necessary.
View 2 Replies
View Related
Nov 13, 2010
I've a flash drive that it's partitions formatted as fat32, ex4 and encrypted ext4. It works fine on the system that I've formatted it on, but when I try to use it on my other Linux distributions I get these problems:
* ext4 partition accessible by root only.
* after entering my pass-phrase I get
Code: /dev/mapper/udisks-luks-uuid-***** uid1000 is mounted What I'm asking for is a way to create the ext4 file system without being attached to some UID and to be accessible by any user.
View 1 Replies
View Related
Jul 20, 2010
I have a flash drive that I use to sync my work- and home-computers. Rsync has occasional issues syncing between FAT32 (which I use on my flash drive b/c it's universal) and EXT3.
I decided to create an EXT3 partition on the flash drive in an attempt to alleviate the rsync woes. My problem is that when I create the partition using GParted, Ubuntu auto-mounts it with Root as the owner. I had GParted check the drive, and it found no errors to repair.
One other weird thing is that the EXT3 partition shows 84.7MB being used immediately after creating the new partition.
The FAT32 partition mounts fine, is read/write, and only shows 4KB used after the new partition scheme.
I tried doing new partitions a number of times, with EXT2, EXT3, and EXT4 just to see if that mysteriously made a difference. Each time that partition would mount w/ Root as owner.
View 6 Replies
View Related
Jun 4, 2010
While saving a file I made a typo and performed the vi command ':w~' instead of ':w!' and I created a root '~' instance in one of my subdirectories. How do I remove this reference without wiping out the entire main /root /~ directory? Do I use unlink()?
View 1 Replies
View Related
Dec 7, 2010
I have a Macbook 2,1 since 2007. Last week my hard drive just died, so I decided to replace it with a new one, no problems with that. The problem came when I had to install an operative system, because my DVD drive has been broken for a year and a half now. I know we can easily install MacOSX from an external usb drive, but I don't have a big enough pendrive at the moment. So I went for Ubuntu. I have managed to get an Ubuntu 10.10 live usb stick working like charm, if anyone is interested. I just downloaded the latest i386 iso and followed this advice by pxwpxw for the 32bit EFI.
The only thing I had to change in the boot.cfg was the name of the iso and -very important- changed initrd.gz for initrd.lz. The live usb works great. But I decided to do an installation on the hard drive. I installed it using the whole hard drive and didn't get any errors. But when I boot the macbook it doesn't detect anything. I guess I need an EFI bootloader or something to make it work. I've tried to follow this guide but it seems to be intended for someone who already has MacOSX and the Ubuntu installation working. I just want to install a bootloader or whatever I need from the "outside" (from the live usb I'm using). I tried to just throw reFit into the main hard drive's root folder but it doesn't work. I think that maybe creating an HFS+ partition and installing reFit in it may work, but I don't think I can create that kind of partition from the Ubuntu usb and I also need a working MacOSX to run the enable.sh. I've also read of elilo but I've seen that it hasn't been updated for 3 years
View 4 Replies
View Related
Feb 3, 2010
I just noticed on my Ubuntu machine (ext3 filesystem) that removing write permissions from a file does not keep root from writing to it. Is this a general rule of UNIX file permissions? Or specific to Ubuntu? Or a misconfiguration on my machine? Writing to the file fails (as expected) if I do this from my normal user account.Is this normal behavior?Is there a way to prevent root from accidentally writing to a file (Preferably using normal filesystem mechanisms, not AppArmor, etc.)
I understand that root has total control over the system and can, eg, change the permissions on any file.My question is whether currently set permissions are enforced on code running as root. The idea is the root user preventing her/himself from accidentally writing to a file. also understand that one should not be logged in as root for normal operations.
View 4 Replies
View Related
Mar 6, 2010
Server (LVM):
500GB
320GB
I want to install a new 500GB and remove the 320GB, of course moving the data on the 320GB to the new 500GB. I have an external 1TB in enclosure that I can plug in to move the data over, but how do I move only the data on the 320GB to it?? I found this [URL]. But that is only to move the data to a new replacement disk, but my external is only temporary to move the data from the 320GB until I remove it+install 500GB, then move the data back. Not enough space on the 500GB already on server to move everything from 320GB to it, just in case that seemed the obvious thing to do.
View 1 Replies
View Related
Feb 20, 2011
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:
dd if=/dev/zero of=/dev/sdb bs=1M
shred -vfz -n 1 /dev/sdb
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".
debug
-F 200 L1000 0
-A CS:100
xxxx:0100 MOV AX,301
xxxx:0103 MOV BX,200
xxxx:0106 MOV CX,1
xxxx:0109 MOV DX,80
NOTE: Type 80 for the primary hard drive - HD 0,
or type 81 for the secondary hard drive - HD 1.
In most cases, the primary hard drive is required 80.
xxxx:010C INT 13
xxxx:010E INT 20
xxxx:0110 (Leave this line blank. Press the <Enter> key to continue.)
-G
The message Program terminated normally appears. How to do something like that while running linux?
View 9 Replies
View Related
Feb 28, 2010
I want to move a folder from USB drive to desktop, any directory, let say usr directory. But don't know what the name for usb drive and where to find it, i know i am going to use mv command.
View 5 Replies
View Related
Feb 16, 2010
This is the difference in the output of a port scan using Zenmap on the same system with UFW turned off and then with it turned on. It is obvious that UFW works.
View 6 Replies
View Related
Sep 26, 2010
Ubuntu 10.04.1 to prepare a USB flash drive for use as installation media for a new computer that's on the way. When the Linux kernel tries booting up on the flash drive, I get an error saying VFS: Cannot open root device "<NULL>" or unknown-block(8,1).Here's how I got to this point...Created bootable partition on the thumb drive.Put the following files onto the flash drive: initrd.gz, vmlinuz, and ubuntu-10.04.1-server-amd64.iso fromhttp://archive.ubuntu.com/ubuntu/dis...ages/hd-media/Install Grub2 to the drive via grub-install.Put the following into boot/grub/grub.cfg:
Code:
set timeout=120
set default=0
[code]....
View 9 Replies
View Related
Feb 2, 2010
The wireless connection works fine. The wireless switch automatically turns itself on every time I start the computer. However, after turning it off, I can't ever turn it on again unless I restart the computer. And because of this, the wireless connection is disabled until the next time I start the computer.I don't think this is a hardware problem because the switch can be turned on and off, although not in the way I expect.
I'm using ubuntu 9.10 on an Acer Aspire 4740G. The command [lspci | grep Network] shows Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01). the [rfkill list] command shows (when the switch is on)
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
and, as expected, shows (when the switch is turned off)
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
I just want to be able to turn the switch on or off at any time I want as long as the computer is still on.
View 2 Replies
View Related
Jun 7, 2011
I boot up a Linux appliance entirely in RAM, ie. the image has a Linux kernel and an attached ext2 root filesystem.
Now that it's working, I would like to copy the root filesystem from RAM to a NAND flash memory.
Can I just mount the NAND, run "cp -a /* /mnt/nand", reboot with the kernel command line "root=/dev/mtdblock2 rw", and expect Linux to be happy... or is it more involved than this?
View 9 Replies
View Related
Oct 11, 2010
I created a folder structure as root and now need to transfer ownership to an ordinary user.
This question is linked to this one - [URL]
I have a folder /srv/app-share that needs to be visible/writeable to user1
I tried (as root):
root@server [/]# chown -R user1:user1 /srv/
But that did not work.
View 1 Replies
View Related
Nov 8, 2010
Hi I am a complete newbie I have installed ubuntu 10.04 I have sorted problem with Mobile broadband, but having problems opening root folder I get a permission denied not the owner I have admin privalage as far as I am aware I was following something I read using terminal but kept getting a message saying something about the root I opened the file manager found root folder but still denied access. how I get access same is also true for lost&found folder but have to admit i dont know what that folder is.
View 7 Replies
View Related
Mar 30, 2010
i tried to run lame install. on debian lenny amd64.
sudo sh /home/levi/Desktop/lame-3.98.4/install.sh
it returned errors, and i gave up on that. but it has placed a bunch of files and directories in my home folder(not in Desktop)which are owned by root. how may i delete them?
folders are
ACM
debian
Dll
doc
[Code].....
mv: cannot move ..... to ... No such file or directory. which i at least FEEL is certainly not the case.
View 3 Replies
View Related
Aug 1, 2011
My total filesystem capacity:39.9 GB(used 4.2GB,available:35.7 GB)
Currently,i have only single partition.
i wanna make again a new partition from the single existing partition where root(/) folder stored.
my aim is to separate the home folder from the existing partition to the new partition.
View 5 Replies
View Related
Mar 29, 2010
I made a persistent install of Ubuntu on a flash drive. I made changes to that installation. The software (Unetboontin) sets this all up. I think it partitions it for you. How do I image that flash drive to another flash drive?
View 9 Replies
View Related
Mar 8, 2011
Is Ubuntu like windows and can you download Ubuntu to a flash drive or external hard drive and if so what kind?
View 4 Replies
View Related
Apr 22, 2010
I tried to follow directions to install flash player (or any other application for that matter) and could not log in as or use the password command to changehe root password. his is a fresh install of linspire (freespire) so i wouldn't know of anyone else's password existing. So, say you can give me a quick solution...afterward, how do i install flash if the file exists as /home/jevans/easyiso/flashplayer.tar.gz ??
View 1 Replies
View Related
Jul 3, 2010
I'm trying to batch encode some old mpeg2 vids to x264. After much playing around, I've finally found some settings that work across the board in preserving quality. The good news is the converted vids are about half the size.
I'm using handbrake to do this and with over a thousand clips, converting via the gui would be way too time consuming. Naturally CLI is much faster for something like this. I've found all the flags and arguments to pass to handbrake
So, suppose my vids are in ~/MyVideos. I want to store my converted vids in ~/ConvertedVids. The problem is that there is a whole folder hierarchy after ~/MyVideos that goes several levels deep; I want to preserve this. In handbrake, the output file is a parameter like so:
Code:
handbrake_cli -i input_file -o output_file
I know stripping away the filepath upto ~/MyVideos/ should be trivial with awk. I don't know awk and was wondering if someone here could give me the command I need.
View 2 Replies
View Related