Server :: Using UUID To Identify Usbstick Rootdrives
Jun 6, 2010
I'm currently configuring my nslu2 to reboot correctly, having the Debian Lenny Operating System split over two usbsticks - this is quite difficult, i think.
You see, sometimes it boot, sometimes not. Therefore, I've decided to try UUID naming instead of the default sdX naming system. Maybe udev naming too ... dunno.
Here some person says it is important to do one usb stick at a time. How important is this(?) when I have the OS split over two usb-sticks, not just one?
I have not really used udev for other than renaming ethernet and wlan devices; so some tips on using it for renaming usb-devices would be nice. Is renaming on the grounds of UUIDs the most sensible way, you think?
I have set up the cabling to the nslu2 like this:
[Code].....
Edit: [SOLVED], just go on with naming by UUID if you boot from several memorysticks. Maybe it is preferable to rebuild the initramfs for each edit to the fstab file ...
View 3 Replies
ADVERTISEMENT
Apr 13, 2011
after some hard times, I finally managed to have my Orange Huawei E1752 HSPA modem running (a USB modem enabling you to surf the net) the only thing is that I have 2 "problems" with this: I cannot find a clean way to eject the stick when I am done using it. when I want to run it, I plug it, it asks me for the PIN code, which I give, then I do the following manipulations: I first run:
usb_modeswitch
it "creates" 2 files /dev/ttyUSB0 and /dev/ttyUSB1, what I check with:
ls -l /dev/ttyUSB*
then I use the usbserial module to handle the stick: modprobe usbserial vendor=0x12d1 product=0x141b then I check that the stick is working with: dmesg|grep GSM that outputs something like: USB Serial support registered for GSM modem (1-port) option 1-5:1.0: GSM modem (1-port) converter detected usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0 option 1-5:1.1: GSM modem (1-port) converter detected
usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1 option: v0.7.2:USB Driver for GSM modems
finally I choose the "Orange Default" in the list of available connections in the network manager icon on the panel and I am finally connected The thing is, that when I am done, I just go to the same list and then click "disconnect" I go on "Computer" and left click on the SD 4Gb storage (the SD card also in the stick) safely remote drive or something like this. Then I thought that unmounting the device would work,
[Code]...
As a newbie (and especially regarding the use of those modems) I am running out of ideas to "eject" it cleanly, I also checked in the /dev/ file to see that the ttyUSB0 and ttyUSB1 files are present
View 2 Replies
View Related
Oct 25, 2010
I made a mistake and during the setup created a seperate swap partition and noticed that using this on a usbstick hindered performance. So I want to simply add the swap to the same partition as root and the others. I used this ubuntu help file. Will this suffice:
[URL]
View 16 Replies
View Related
Jun 6, 2011
Are there any identifiers on an HDD that can be either seen physically on a "sticker" on the HDD, and the same number/identifier could be read with software solutions?
I mean if I see with e.g.: S.M.A.R.T. that an HDD (in RAID) is failing, then I give out the command:
SOMEMAGIC
then I get an OUTPUT, e.g.: 9835923759237489
and then are ther any stickers on the HDD that has a label: 9835923759237489 ? so the hdd that has to be changed could be identified.
View 2 Replies
View Related
Jul 19, 2011
How to identify which processes (or PIDs) are consuming SWAP? In my RHEL box SWAP is nearly 100 % utilized.
Code:
$ free -m
total used free shared buffers cached
Mem: 144967 143212 1754 0 166 135259
-/+ buffers/cache: 7787 137180
Swap: 22367 21733 634
View 11 Replies
View Related
Mar 13, 2011
I'm trying to setup postgresql84 with uuid support, everywhere says that postgresql84-contrib should do the trick but it does not. I even generated the uuid-postgres and uuid rpms from source for uuid-1.6.1 and no luck with the uuid support.
View 3 Replies
View Related
Mar 1, 2011
I seem to have another issue with my raid system
mount -a
mount: special device UUID=fb518c74:2b6bd0f4:66db5ce6:7e004239 does not exist
but when i do mdadm -vv --detail /dev/md5 ... this is what i get --->
/dev/md5:
Version : 1.1
Creation Time : Fri Feb 25 14:07:36 2011
Raid Level : raid1
[code]....
View 3 Replies
View Related
Aug 10, 2010
I am using my laptop with a built-in web-cam, but i just wonder what interface it is connectied to,i.e. is it dc1394 or usb or any others.
View 9 Replies
View Related
Sep 2, 2010
How do I identify a webcam in ubuntu? I forgot what model I'm using... It's USB of course, I know its at bus 2 device 2 (From lsusb) but I can't seem to find anything more than that...
View 2 Replies
View Related
Sep 10, 2010
When I mount an usb device, I want to get the information contained in the structure usb_device. This information tally with the device which is being mounted now (dev_name). So I want to get, for example, the path where the device will be mounted (/dev/sda) before it is mounted naturally.
View 1 Replies
View Related
Sep 16, 2010
I can access the contents of a DVD but before accessing I want to know how can DVD information is obtained?
View 2 Replies
View Related
Jul 18, 2011
I have a Red Hat Linux system that does not boot. The boot partition is damaged and files cannot be recovered.
I would like to know how to find out which version of Red Hat was installed from the program/data partition which is undamaged and accessible from Fedora Live CD. I assume this is available in a configuration file somewhere.
View 2 Replies
View Related
Dec 28, 2010
On my 64 bit Linux box, i have many processes which are 32 bit and some are 64 bit, how to identify which process is 32 bit and which is 64 bit?
View 2 Replies
View Related
Jan 15, 2010
Starting here on the assumption that this is a browser function.Firefox 3.5.3 on ArchLinuxI just tried downloading a free trial of Acrobat 9 to see if I can get it going on CrossOver. The Adobe site will not download because it sees I am not using Windows.I searched in the detailed about:config file and found nothing that looked relevant.So: How does FF (or any broswer) tell a site what OS is being used?
View 8 Replies
View Related
Sep 29, 2010
I have discovered that I have two partitions, on separate hdd's with identical UUID's, and the system switches back and forth erratically on restarts between the two different partitions, giving me the current /home or the /home of two months ago when I did the upgrade.
View 7 Replies
View Related
Apr 15, 2010
How to identify DVD media recording format, I mean is it +R or -R media under Debian?
View 7 Replies
View Related
Jun 14, 2010
The way to identify CAT 5 and CAT 6 cable?What are the differences between these two cables..?
View 8 Replies
View Related
Apr 17, 2011
i'v 2 unmounted partitions /dev/sda8 , /dev/sda9 ... i do the following:
#assume sudo where applicable
mkdir /media/myMtPt
#mount sda8
mount /dev/sda8 /media/myMtPt
[Code]....
if i write anything to /media/myMtPt it'll go to /dev/sda9..but both /dev/sda8 and /dev/sda9 show same mount point /media/myMtPt.. so if somebody else has to find out (without checking the history) to which one will the o/p go if written to /media/myMtPt then what is the way out?
View 2 Replies
View Related
Jun 30, 2011
Is there anyway of identifying which modules and drivers are being used on my machine? A log or app? I have a minimal install and what to install another, this time with only the hardware drivers/modules my machine needs (for instance, I don't need software for Xeon processors as I don't have one, therefore don't want that stuff hanging around serving no purpose).
View 8 Replies
View Related
Sep 1, 2011
In windows one could identify the drive by letter..easy...but in merrkat I need to identify and augment a file that allows the start up location of information for a program in either of my 2 cd drives. One is the internal cd floppy and I have a second that is usb connected a cd/dvd. I would like either one to be "seen " as the possible source for the necessary information". How do i write that into a file?? The sample file I am changing is below..... All;
d:caycedatindx;d:caycedat ext;d:caycedatgrd ;d:caycedat
ept Background;d:caycedat grd Index;d:caycedatindx Reports;dcaycedat
ept Text;dcaycedat ext
View 2 Replies
View Related
Dec 1, 2010
how to identify the icmp packets & marking. this below icmp packets marking is not working.
iptables -t mangle -A PREROUTING -p icmp -j MARK --set-mark 0x5
iptables -t mangle -A PREROUTING -p icmp -j RETURN
with the help of port no or any other how can i identify the icmp packet ?... This below two is working fine
iptables -t mangle -A PREROUTING -p tcp -j MARK --set-mark 0x2
iptables -t mangle -A PREROUTING -p tcp -j RETURN
iptables -t mangle -A PREROUTING -p udp -j MARK --set-mark 0x3
iptables -t mangle -A PREROUTING -p udp -j RETURN
View 1 Replies
View Related
Jun 11, 2010
To see if an application is using all the cores in a system, I wanted to identify which process is running on a core at a given time. Is there any way to get that information?
View 3 Replies
View Related
Mar 31, 2010
To an old Acer Veriton 7500 I have transferred master and slave HDs (as well as a Realtek network card, a scsi card, and a usb2 card) from a died old machine, Debian Linux squeeze i386. Everything works, except problems with the CDs, as noticed on boot. Check:
francesco@deb32:~$ dmesg | grep -i hdc
[ 3.472184] hdc: CD-ROM 52X/AKH, ATAPI CD/DVD-ROM drive
[ 3.808070] hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 3.808175] hdc: bad DMA info in identify block
[code]....
View 2 Replies
View Related
Sep 4, 2010
I want to get the count of host reboot and host crash per day.Host reboot - i use last command and make sure the count.How to catch the System Crash ?.
View 3 Replies
View Related
Aug 21, 2010
I just 0 & 1'd a pen drive, and now I dont see it in 'blkid' output. Is there a way to know where the device is on the system, so that I can format it with a filesystem?
View 3 Replies
View Related
Aug 16, 2010
how to identify freshly installed linux o/s
View 7 Replies
View Related
May 24, 2011
I know about syslog and /var/log/* log files but I don't know what kind of events means particular problem.
E.g.
- hardware issues (?)
- security problem (/var/log/security)
[code]....
View 1 Replies
View Related
Jul 21, 2009
I want to turn to Ubuntu, but when I install it using Ubuntu CD, It is found that Ubuntu can not identify my netcard (Intel Pro 10/100), Can not identify by sound card, Even it can not identify my video card. Anyone has a simple introduction on how to install these hardware drivers?
View 11 Replies
View Related
Feb 15, 2011
For the last four days, I have been getting HIDS alerts like these:
Code:
152.2.x.x - - [15/Feb/2011:04:28:59 -0500] "PROPFIND /C%24.co HTTP/1.1" 405 231
152.2.x.x - - [15/Feb/2011:04:28:59 -0500] "PROPFIND /C%24.com HTTP/1.1" 405 232
[code]....
View 7 Replies
View Related
Jun 15, 2010
I have two encrypted partitions which I cannot find UUID numbers for.
/etc/crypttab looks like this:
[Code]....
and *sometimes this works, other times I have to edit the file and /etc/init.d/cryptdisks restart.
Obviously I should use UUIDs here and in fstab but blkid does not list those partitions
[Code]....
View 4 Replies
View Related