General :: Cameras, Pendrive: Severail UUID Into The /etc/fstab?
Dec 29, 2010
Simple. UUID is apparently limited to a single UUID to be defined. Example UUID="DEB0-0001","3338-3164" separated with a comma is not working.
What could be the linux alternatives for pluging several UUID disks? How to bypass when there is a CF card and a reader box, since blkid gives no UUID ?
Code:
UUID="DEB0-0001" /media/pendrive vfat users,rw,noauto,umask=0000,uid=1000,gid=1000 0 0
#UUID="3338-3164" /media/pendrive vfat users,rw,noauto 0 0
#TYPE="vfat" /media/pendrive vfat users,rw,noauto 0 0
View 3 Replies
ADVERTISEMENT
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
Jan 15, 2010
I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.
My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.
So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?
And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.
I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.
View 4 Replies
View Related
Jan 2, 2010
I realized that my understanding of UUIDs in Linux to specifying hard disk partitions may be erroneous.
The proverbial wisdom is that one should not use hard-coded device specifications in fstab and in the boot menu.lst, such as /dev/sda1 etc. The reason normally given is that if hard disk order changes or the order of partitions change, then the entries will be incorrect since they are hardcoded to partitions following a specific order.
So my understanding was that using hard disk labels, in the form of LABEL=xxxx, or UUIDs in the form of UUID=some-uuid, would prevent these problems when disk order or partition order changed.
I decided to avoid the use of LABEL in case I wanted to change the LABEL on a partition to make the names of partitions more easily identifiable. I then thought that UUID was ideal since it never changed for a partition no matter even if I moved that partition to another drive or added another hard drive and thus changes the order of hard drives on my computer. I essentially thought that once UUID was determined for a partition, it never changed but was somehow part of the partition in the hardware of my computer.
Then I became curious of how a UUID was determined. I did this because I often make backups of partitions on external SATA drives and wanted to make sure that somehow the backup would not duplicate whatever Linux considers the UUID of a partition and present a Linux distribution with two UUIDS which are somehow the same and therefore confuse the Linux distribution to the point that I could not use it. I am aware that UUID means a unique id, but I wanted to make sure I understand how that unique id is determined in Linux. This is especially true since the tool I use to make backups of an entire partition is a Windows application, and not a Linux application, and I wanted to make sure that the backup partition UUID would not duplicate that of an existing partition.
In my very brief research in how a UUID is generated under Linux it appears that it is not something that is part of the hardware of the partition itself but rather a number generated by some parameters of the partition, one of which is the partition order.
If it is, it means to me that if I move a partition from one place to another, even on the same hard drive, or to another hard drive, a Linux distribution will no longer find the partition based on the UUID. In that case it seems as if the UUID is subject to the same weakness as the device specification in fstab and menu.lst in that the order of a partition or the placement of a partition on a particular hard drive will cause the designation to no longer refer to the same partition. In which case it appears to me that only the LABEL parameter is not subject to this weakness and as long as I keep distinct labels for all partitions on my hard drive I could theoretically move them around at will and a Linux distribution will find them correctly. I am aware of course that my computer must always find the boot partition to be able to boot a Linux distribution, so moving Linux parttions where I want them is subject to the ability of my computer to find them from the MBR of my hard drives. But in the main it now appears to me that the best way to insure that moving partitions does not keep a Linux distribution from botting correctly is to use LABEL, and not UUID, in fstab and menu.lst, and of course to make sure that if I decide to change the LABEL of a partition that I must change its entry in fstab and possibly menu.lst before rebooting that distribution.
If I have been wrong in my latest surmises I would appreciate being corrected, as the information I found on UUIDs and how they are generated may not be correct. Also if there is more exact information on exactly how partition UUIDs are generated in Linux I would appreciating anyone pointing it out to me.
View 10 Replies
View Related
Apr 9, 2010
I have a question about mounting partitions. I thought of using UUID or LABEL in fstab and menu.1st Is there an advantage of one over the other?
View 5 Replies
View Related
Nov 25, 2010
For reasons long and unique, I want to disable UUID in my recent Ubuntu 10.4 install, and use the old fashioned /dev/sda1 /dev/sdb3 etc. method. I had this "all fixed" under GRUB (pre-2) on Ubuntu 8.04 and it has served well and bug free for years. (Warning: I use old stable hardware - others may have disasters.) But with GRUB2, the task seems more complicated. (This guide me make the backups I haven't done since the fresh install 2 weeks ago.)
Is the following process complete, necessary, and accurate...
Edit the file /etc/default/grub to remove the # in the line...
#GRUB_DISABLE_LINUX_UUID="true"
... making sure to add the two " if missing .....
Copy nearly the entire /boot/grub/grub.cfg file
into /etc/grub.d/40_custom and then...
Comment out every line that says...
search --no-floppy --fs-uuid --set (etc.)
Change every line that says...
linux /boot/vmlinuz-2.x.yy-zz-generic root=UUID=(etc.) into...
linux /boot/vmlinuz-2.x.yy-zz-generic root=/dev/sda1
Edit /etc/fstab and change every instance of UUID=(etc.)
to the appropriate drive and partition e.g. /dev/sda1
edit /etc/initramfs-tools/conf.d/resume and change RESUME=UUID=(etc.)
into RESUME=/dev/sda1
Run update-grub
Do all the above, every time I do a kernel upgrade. (Is it important to do all the above before or after rebooting for an upgrade?) Am I correct, succinct, and complete in the above process? Any mistakes? Any omissions?
View 3 Replies
View Related
Jan 31, 2010
all of a sudden my pc decided no to start anymore.YOu might be aware of the ide/sata driver problem, well it was the problem. I reinstalled grub with suse dvd and it went ok. Pc working properly. But then i tried to fix this once for all and changed the fstab options from /dev-by-id to uuid (all partitions : swap, /, /home etc ).Is uuid a definite solution ?Why is the pc not able to start from there ?
Since i moved the partitions with uuid option in fstab and even after reinstalling grub the pc is not starting anymore . It gives me the boot menu (linux suse/failsafe) and then a black screen left with no keyboard nor mouse available.
[Code]...
View 9 Replies
View Related
Nov 13, 2010
is it safe to change fstab UUID entry for the system to /dev/sdb4? and after editing fstab, is there a script or command I need to run to release lock or update mount information? edit: I see not correct, and therefore not safe,but is there a format to tell linux to use /dev/sda1 instead of UUID= or label= .
View 9 Replies
View Related
Dec 15, 2010
UUIDs make fstab hard to read, so.. Is it possible to use udev rules to prevent HDs to change device, instead of using UUID in /etc/fstab?
View 2 Replies
View Related
Jul 8, 2011
I cloned one of my hard drives to another, using Acronis True Image Home 2011.In the process, of course, fstab got copied verbatim from old to new.I then, using a livecd on a flash drive, mounted the new drive, went into fstab and rewrote the UUID's, using the numbers I'd gotten previously by doing sudo blkid.Now, the new drive had the UUID's revealed by that command.Then, I used boot-repair, from yannubuntu, to make that drive bootable, since it wasn't after the cloning and after the fstab rewrite.The drive is bootable, and it's mountable from a flash drive, or from the old drive.
I can access files either way.the fstab file on the new drive still has the old numbers, yet when I ran boot-repair, it apparently changed the UUID's for sectors 1 and 5 on the new drive.fstab seems to be irrelevant at this point, yet everything I read about it indicates that it is not only relevant, but necessary.I don't understand how I can be accessing the drive when the fstab contains UUID's that are no longer pertinent to any hardware on my system.
View 5 Replies
View Related
Feb 6, 2010
I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.
I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:
Code:
However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.
From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:
Code:
The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.
Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.
View 3 Replies
View Related
Jun 28, 2010
I have an SiI hardware SATA RAID card, with two 500GB disks in mirrored RAID configuration. When I first plugged them in and set it up, things seemed to work ok, but on boot the raid controller told me that the RAID needed rebuilding, and it would happen automatically after POST. So I didn't worry about it, and the drive mounted fine, and it's been that way for years. I just went in and manually on-line rebuilt the RAID in the controller's BIOS, and now when I boot into Ubuntu, both disks show up in fdisk, but neither show up in /dev/disk/by-uuid. Am I missing something?
View 9 Replies
View Related
Aug 25, 2011
How to connect HDMI camera to Linux? I have tried a few cameras such as the Bullet HD. I was never able to make it work in my CentOS, Fedora, I returned their product finally, it was a nightmare. Therefore instead of risking for next failure I am looking for a definitive answer on this, so that no driver issues arise under Linux and finally allow me not to use Windows or Mac anymore. Has anyone ever had success with making a very very good quality camera work in Linux, such as for example this one? Which HD cameras are there for Linux? There should be no driver issues and they should also allow me to perform pan/tilt/zoom actions using USB, Firewire or the S-Video interface.
View 2 Replies
View Related
Aug 4, 2011
Is it possible to install Snavtclient, as i don't have much idea but i heard that i can view cameras online for AVTECH DVR once it is installed, i tried to download and install it through terminal but got this error.
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
Edit/Delete Message
View 8 Replies
View Related
Mar 13, 2011
So here is my situation..i was using win 7 and ubuntu 10.10 in my dell studio 1555. and i wanted to try out debian so i installed debian in my pendrive. so the grub was modified. when the computer starts it shows debian,ubuntu and win7 no problem.. but if i remove the pendrive, nothing comes up. it shows grub rescue>..
so now i cant start up unless i plug in the pendrive. what to do now to solve this problem?? i want to restore my grub to the previos state.
View 2 Replies
View Related
Aug 4, 2010
I recently made the switch from windows and mac system to fedora 13 64 bit kde, which has been a challenging 6 months, not having a IT background. Anyway, overall now that I am getting the hang of it I really like fedora 13 kde, nice job guys. I have one final obstacle remaining that I have not been able to figure out. I have the necessary rpms for video and sound. I am able to successfully copy video from DVD's and play them from hard drive without issue using VLC. However, when I try to import avi files from my camera's sd memory card, the videos always end up "corrupted" and when repaired do not play sound. Again, I can play AVI's from dvd's fine. Interestingly, I can take the same files from my fedora box and copy them onto a usb stick and transfer them into my mac and they play fine.
I suspect there is a codec issue possibly with VLC, but not sure. I also tried on the default player, but cannot remember the name of that right now and my wife is presently watching her Mary Kay dvd on it as it is hooked up to our TV . My video codec knowledge is pretty basic. Can someone point me in the right direction of what the problem might actually be, another post, something?
View 5 Replies
View Related
Oct 9, 2010
I have gone over the thread "Learn The DD Command Revised" (It was Fantastic) in the search for a solution to my query.
I have seen posted elsewhere that this code is supposed to be able to change the UUID number of NTFS partitions (useful when multi-booting with Grub2 and cloning partitions). Here is the code:
Code:
sudo dd if=/dev/urandom bs=80 count=1 | xxd -l 80 -c 8 | tail -1 | xxd -r - /dev/sda1
This is assuming that I want to change the UUID on the 1st partition on the 1st hard drive >>>sda1<<<
If I was trying to modify the 2nd partition on the 1st hard drive it would be >>>sda2<<<
[Code].....
NOTE: I was doing this while booting from Ubuntu's Live CD version 10.04.1 LTS (In case that is a factor)
View 10 Replies
View Related
Sep 4, 2010
where is uuid of partitions of raid0?
My box is centos 5.4 x86, and dual booting with windows 7. I need to make a ext3 partition between ntfs partition 2 and 3.
After making this ext prtition, I need uuid of this ext partition.
View 1 Replies
View Related
Jan 6, 2010
I've installed fedora 8 in my system. i've tried to mount my usb drive. but it's doesn't work out. i followed the following procedure.
#mount /dev/sdb1 /mnt
But now i don't even get the drive as sdb or sdc. i don't know why.
View 5 Replies
View Related
Aug 29, 2009
I have a small issue that I would <3 to get worked out . Here is the skinny of it. I have a laptop running Ubuntu 9.04. It has 3 USB ports. I have 2 Logitec Quickcam 4000's. I am using zoneminder for viewing the cameras. The issue that I am running into is as follows. I can not seem to view both cameras at the same time. If I unplug one of the cameras the other will work fine and vice versa so I know the cameras work.Here is the output of lsusb without the cameras
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
After plugging the cameras in
[Code]...
I looked around on the web using all the google-fu that I have available to me and I just cant seem to find what I am looking for. I was even going to make my first attempt at compiling the driver but I don't really know where to look for info regarding bandwidth limitations...nor do I really know where to place the driver source, and what to do after I make make install .
View 6 Replies
View Related
Jun 5, 2010
Someone (not me) recently installed some new distros on my HD. It seems that during the installation my swap partition was reformatted and a new UUID was assigned to it. I have the following questions:
1. I know that I have to change the swap partition UUID in /etc/fstab and /boot/grub/menu.lst of the affected distros. Is there anything else that needs to be changed?
2. I presume a similar change has to be made to the Grub 2 configuration, for those distros that use Grub 2. I have no experience using Grub 2 so how do I make the change or where can I find instructions to do it?
View 13 Replies
View Related
Jan 17, 2010
I recently bought a 16GB Super Talent pen drive that seems to work well for running the Ubuntu Live "CD" in persistent mode (see this for how I installed it). One slightly annoying thing, however, is that this pen drive has a bright red light on it that stays on when it's idle.
Is there a way to make the light stay off at least when the pen drive is not performing IO? I'm not even sure it's possible to do. If there is (in Linux), I'm guessing it boils down to some ioctl invoked by some utility. Otherwise, I imagine it would involve hacking the firmware or simply opening up the pen drive and removing the LED.Then again, I guess it keeps the LED on to indicate that the drive should not be removed.
View 2 Replies
View Related
May 4, 2011
how to make bootable pendrive
View 5 Replies
View Related
Jan 8, 2010
I cannot format my Transcend 4 Gb Pen Drive.. When i try to format with the following command code...
I'm not able to format it...
dmesg gives code...
View 3 Replies
View Related
Jun 1, 2011
I am a using Windows xp. I had Started my Redhat6 tuition from some days,, My question is " How can I install redhat linux 6 from my pendrive? Please describe me all the steps cause I haven't try to install a O.S. from pendrive?
View 2 Replies
View Related
Jul 19, 2010
I would like to use half of my 16gb pendrive to keep files and the other to install linux. Is it possible?
View 7 Replies
View Related
Feb 9, 2010
I can login into my linux only as normal user "abc". my slax is giving HAL error in automounting pendrive.
To mount a pendrive i have to login as root in a terminal with SU command and then i can access the pendrive through command line. i normally copies my files into "abc" home directory and browses it from there in konquorer file browser......this is tedious job...everytime.
My idea is to have an icon on "abc" desktop ...which onclick will execute a shell script and manually mount my pendrive in READ WRITE mode at background and display the pendrive folder contents.... using KDE Scripting.
View 2 Replies
View Related
Sep 17, 2010
i have a similar problem , i installed ubuntu 10.04 onto a pendrive, it all works fine , but the catch is i have to keep my pen drive inserted to get the grub menu. is there a work around to get grub to work off my hdd( my guess is it is in my pen drive along with the ubuntu files)
View 3 Replies
View Related
May 27, 2010
I am using CentOS 5.4 in VMware, having Win XP as host OS. i am unable to mount a pendrive. I have used "#dmesg" command to display the hardwares connected, but its not showing anything about Pendrive. Also tried #mount -t -vfat /dev/sda2 /pendrive........but the error is "...its not a block"
View 3 Replies
View Related
Apr 3, 2010
Does anybody know of any digital cameras that can be controlled via Debian? I'm not speaking of a webcam but a digital camera, and I'd like to be able to send commands to the camera via usb; perhaps by means of a bash script that would take snapshots every x seconds for a total duration of y seconds.
View 2 Replies
View Related