Ubuntu Servers :: Lock The Drive Letters To Certain Drives At Boot?

Jul 24, 2011

Is there any somewhat straightforward way of lock the drive letters to certain drives at boot?

I have searched a lot on this and the only thing that have come up is a rather long and complicated way using scripts etc.

A simple fstab example on how to make an uuid to boot at say sda1 everytime and not like now totally random even though I have the same drives in the same places with no portable devices and only a std setup with /boot, /, /home, /swap. +some storage drives.

This uuid creates a havoc on my Truecrypt favorites mounting that relies on labels.

If this is not possible how far back do I have to go get rid of uuid?

I know that 10.04 LTS was working fine at first, is it in the kernel version that it is decided?

View 3 Replies


ADVERTISEMENT

General :: Windows In Determining Drives-drive Letters?

Nov 25, 2010

Using a Linux program to fix my TiVo. Program is burned to a bootable CD, which loads fine. I get asked what the drives are (CD and Hard Disk) with abbreviations like hda, sda, etc. I was able to determine the Hard Drive as /dev/sda, by using <Shift>-PgUp/PgDn, but could not find what the CD drive was.

View 1 Replies View Related

Ubuntu Servers :: E: Could Not Get Lock /var/lib/dpkg/lock - Open (11 Resource Temporarily Unavailable)

Mar 25, 2010

When i connect windows server 2003 from ubuntu these error displayed .When i installing the tsclient, by executing these following command from a Terminal window:

sudo apt-get install tsclient

When i run these command the following error displayed.

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

View 1 Replies View Related

Ubuntu Servers :: Will Be Able To Recover Data 1TB Drives / Should Backup 80GB Drive As Well?

Feb 25, 2011

I am using software RAID in Ubuntu Server Edition 9.10 to mirror(RAID1) two 1TB harddrives. These are used for data storage and websites.I also have a 80GB harddrive for the operatigsystem. This drive has no backup or RAID at all. Should this drive crash and the system therefore to become no longer bootable, will I be able to recover the data the 1TB drives or should I backup the 80GB drive as well?

View 3 Replies View Related

Ubuntu :: Way To Lock CD / DVD Rom Drives

Apr 7, 2010

is there a way to lock cd/dvd rom drives in ubuntu. Also if there is a way to lock usb ports so no one can use pendrives, etc.

View 1 Replies View Related

Ubuntu :: After Upgrade To Lynx None Of Of External Drives Cd Drive Or Flash Drives Are Pick?

May 9, 2010

upgraded from karmic through update managerANDnone of of my external drives cd drive or flash drives are picked upad to go back to karmic and will remain there for a whil

View 9 Replies View Related

Ubuntu Servers :: RAID-1 OS Drives - Setting Up A Backup Procedure For The OS Drives

Jan 18, 2010

I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.

Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.

Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.

View 4 Replies View Related

OpenSUSE :: Typing Greek Letters Instead Of English Letters

Dec 12, 2010

Recently I faced a problem in typing in English in OpenSuse 11.3.When I try to type in English it shows me Greek letter and worse than that I think it is really Greek (not only in font) because when I enter my passwords or try to type a command in terminal I get error,I tested with UK and USA and all other English languages and I still have this problem. I even do reset in my keyboard layout setting and in KDE setting but it didn't help.

View 3 Replies View Related

Ubuntu Servers :: Add Russian Letters To Running Server

Mar 11, 2010

When I set up Ubuntu 9.10 Server I didn't enabled Russian Letters, and now I need them. The only language is English. So when I type in Russian there are some symbols. So how can I install Russain Letters on the running server.

View 1 Replies View Related

Ubuntu Servers :: Boot Partitions On Both Sda And Sdb So If One Drive Fails The Second Boot Partition Will Work Away ?

Dec 6, 2010

I am building a 10.04.1LTS server. I am putting the /root filesystem into a Software RAID1 partition. I want to keeo my /boot partition outside of RAID.Is there a way to have a boot partition on both sda and sdb so if one drive fails the second boot partition will work away - or should this be kept in with RAID also.

View 6 Replies View Related

Ubuntu Servers :: Small Letters In Text Mode Of Server 10.10?

Dec 25, 2010

I installed it on very old machine P3 1200Mhz and it works ok but I have problem with text mode because I have 75x132 aprocs. text on screen and I don't see what I type or system replay. Is there simple way to change to 25x80 or something with greater letters. I don't have GDI.Someone sad to me to do:sudo dpkg-reconfigure console-setupand it's does the job but when I restart system it's gone.

View 3 Replies View Related

Ubuntu :: Dual Boot 2 *seperate* Drives \ Several 1.5TB+ Drives, And One Of Them Is Not Being Used?

May 1, 2011

I've used it once before but got fed up with the boot asking me everytime I turned my laptop on because I wasn't using it enough. I have Windows 7 on drive C . I want to keep it on drive C. I have several 1.5TB+ drives, and one of them is not being used. I want to dedicate it to Ubuntu, and be able to do a dual boot with my Windows 7 install. Is this possible? If it is, what about when this drive is not connected to my laptop? Will that mess up the boot process?

View 2 Replies View Related

Ubuntu Security :: Lock PC With Flash Drive?

Nov 6, 2010

Is there a program like BlueProximity but works with a file on a flash drive which will lock up the computer if it does not detect a file on a flash drive. What I am wanting to do is make certain features inaccessible if the flash drive is removed so if anyone uses my computer they can't hurt anything.

View 1 Replies View Related

Ubuntu Servers :: Best Way To Lock Down Database Server?

Sep 1, 2011

What is the best way to lock down database server?

via ufw and iptables.

Should I close port 80 on it?

View 9 Replies View Related

Hardware :: Lock Computer With Flash Drive

Feb 13, 2010

I recently got a new Lenovo netbook and I want to make sure that what happened to my last laptop doesn't happen to this thing. I got the idea from some Windows software called Predator, that uses a flash drive to lock a computer. I also know that most Linux distros already have the required components to facilitate this (i.e, they know when you plug in a flash drive). My question is, how do I get my netbook to run scripts or programs when a flash drive is unplugged? This is how I want it to work: The flash drive would be tethered to my wrist with a short strap (or a piece of fishing line, maybe a chain). When someone yanks the netbook away from me (i.e, a thief), they would rip the drive out of the USB port in the process. The netbook, immediately sensing that the drive is no longer plugged in, runs miscellaneous programs or scripts in an attempt to thwart the thief, like activating the screensaver, adding a password to grub, sounding an alarm, and whatever else I want it to do.

I would eventually like to expand this to bluetooth headsets, and other devices that Linux can keep track of. It also has to fit in with my current setup. I installed Xubuntu 9.10 on the netbook and set it up to use an ext3 formatted flash drive as /home. I then installed truecrypt and created two file containers, one for the flash drive (small files, like assignments for college and app config), and one in a hidden directory on the hard drive in the netbook (large files, like my VirtualBox images).This way, the system won't work right without the flash drive, and I can even switch flash drives in the future, when the one I'm currently using dies. Ideally, the system locking program/script would only check for a USB connected device with a special file on it. If I can get this set up, it would be one of the coolest Linux tricks ever pulled with a netbook, and possibly the basis for an awesome new security tool for mobile users.

View 9 Replies View Related

Ubuntu Servers :: Using Groups To Lock Users Away From Filesystem?

Mar 31, 2010

I'm currently running a small server using 9.10 and I wondered if using groups was a possible route in order to keep users away from the bulk of the file system and keep them in locked their home directories.

What I planned to do is use a group named 'allowsystemfiles' to be added to admin accounts, then to set parts of the file system to that group, along with the permissions 0760 to keep non-admin users out.

Is is a good idea or will this hose my system?

View 7 Replies View Related

Ubuntu Servers :: Shutdown Command Results In Lock Up

May 2, 2011

When I shutdown my server it seems to lock up. I use ssh for a headless unit and I can reboot fine, but I told it to shutdown and disconnected me and stopped logging (as far as I can tell) and then nothing. The lights stayed on and I had to press the power button. Is there a way to keep the logger running or to look someplace other then messages. I'm not great with logs.

View 8 Replies View Related

Ubuntu Servers :: Lock Down An Office Network With A Gateway Server?

Aug 4, 2010

I am looking for some advice on how best to lock down our office network to keep our employee's from wasting time on sites like facebook and ...... This will be my first time setting up a server as a gateway in a production environment so I thought I should get some suggestions on what the best packages would be to do this.

I essentially need to lock down our network so that i can monitor what everyone is doing on the Internet and block it if needed. it doesn't have to be web based or have a bunch of gui's, im fine with command line, configs and log files, but it would be nice.

I'm interested in commercial products as well as long as they are linux based.

View 2 Replies View Related

Ubuntu Installation :: Boot Sequence With Dual Boot And Two Drives?

Dec 10, 2010

recently sent up another computer as follows:Two sata drives. Windows 7 was installed on the first drive(sda)and booted successfully. This drive was disconnected ( I have had some installs where Unbuntu wipes out the existing C drive eventhough I am installing to D) and Ubuntu was installed to the second drive (sdb). At one point I had to rebuild the grup on the Ubuntu drive and was careful to make it installed on the Ubuntu drive. To my surprise when the PC booted up I saw the Grub menu with a menu entry for Windows. The Windows drive was always the primary drive before the Ubuntu install. I was planning on the Windows drive being the boot drive and using a boot manager to determine where to go from there. If I utilize the BIOS boot option (F12) I can boot each drive individually. I cannot in BIOS set a particular drive to boot - just a hard drive. Everything is working I am just curious why the primary drive does not boot first. IN BIOS the Windows drive is a primary SATA with a lower number that the Ubuntu drive which is listed as a secondary drive.

View 4 Replies View Related

Ubuntu Installation :: Unable To Boot From Either Dual Boot Drives

Feb 15, 2011

I can only use the Live CD to operate Ubuntu. After typing in the command sudo fdisk -l, I get the following?

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]....

And when I boot without the Live CD, I get the following message in the GNU GRUB Version 1.98-1ubuntu7 window page.

View 9 Replies View Related

Ubuntu :: 10.4 Freezing \ When Tried To Turn It On Some Of The Lights Came On And The Caps Lock And Num Lock Started Flashing?

Sep 14, 2010

I have a HP Pavilion dv4 that is 4 months old. Yesterday it suddenly seemed to restart then once I logged in it turned off. When I tried to turn it on some of the lights came on and the caps lock and num lock started flashing. Since then I have not been able to get it to work correctly.It once seemed to turn on but died again after the login window.I tried to use my live cd but the same thing happened. It started loading once, but then shut down again. Every other time it stayed dead minus the lights

View 1 Replies View Related

Ubuntu :: Sudo-apt Get Not Working - Not Get Lock /var/lib/dpkg/lock Resource Temporarily Unavailable

Jun 12, 2011

I recently installed Ubuntu 11.04 on an old Sony Vaio laptop. I was following some of the steps here..[url]

The step "Enable Full DVD Playback(Dual Layer DVD Support)" did not finish correctly doh and now I can't use 'sudo apt-get' for anything or the software center or using the 'Update Manager' does not work.

The update manger says it may be caused by an update not finishing correctly which sounds correct as explained above. The apt-get command gives me back the following....'Could not get lock /var/lib/dpkg/lock resource temporarily unavailable' 'unable to lock administration directory /var/lib/dpkg is another process using it?'

I tried the obvious restart but that hasn't worked.

View 6 Replies View Related

Ubuntu Installation :: E: Could Not Open Lock File /var/cache/apt/archives/lock

Feb 25, 2010

my problem is the terminal:

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/) , are you root?

View 2 Replies View Related

Ubuntu :: Could Not Get Lock /var/lib/dpkg/lock - Open (11 Resource Temporarily Unavailable)?

Apr 3, 2010

I have pidgin2.5.2. I want to install pidgin2.6.6.How can I do that?E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

View 1 Replies View Related

Ubuntu :: Volume Controls Not Working After Enabling Num Lock Or Caps Lock?

May 2, 2010

There is a very strange problem I've been having. When I enable either Caps Lock or Num Lock the media controls on my keyboard cease to work. I have Googled this one to death but found nothing. This problem existed in Xubuntu 9.10 and now still exists in Xubuntu 10.04. The keyboard I use is a Logitech Elite Keyboard. I would love to be able to use the Caps Lock and Num Lock without the worry that I am disabling the media controls

View 4 Replies View Related

Ubuntu :: Load Live CD / Caps Lock/scroll Lock Flash?

May 27, 2010

I have just burned the latest CD using infraRecorder, as per the instructions on this site, however when I boot from this CD, it spends about 5 minutes moving the red balls across my screen, then all of the sudden it just freezes, and my caps and scroll lock lights start to blink. I've had a look in the forums already but there's nothing about this happening on Boot of the live CD.

View 6 Replies View Related

Ubuntu :: Num Lock Doesn't Work / When Pressing Num Lock And Typing Numbers, Nothing Happens?

Jun 23, 2010

I'm wondering why the num lock doesn't work in Ubuntu anymore? When you press the "num lock" key, you're supposed to be able to input the numbers along with + - * / and decimal point. When I press num lock and try typing numbers, nothing happens.

I've done a google search and this is a well known problem that nobody has fixed. In Windows it's never a problem.

Seems such a shame that the great Ubuntu and Linux are so good for stability and speed, but can't get a simple num lock working.

View 9 Replies View Related

Ubuntu :: When Laptop Freezes / It Shows Caps Lock And Scroll Lock Lights Blinking

Oct 31, 2010

I am having a very annoying problem with my laptop.I am experiencing many freezes.When my laptop freezes, it shows the caps lock and scroll lock lights blinking.At first I thought it was a problem with flash (here is original thread: URL... )In the original thread, I thought the freeze's were being caused by the flashplayer, but it apparently isn't the case.The last time I experienced the freeze, I was playing around with the compiz desktop effects.

View 4 Replies View Related

Ubuntu Servers :: Su As Backup User Inside Of Bash Script - Lock And Flush Tables On A Mysql Db

Jan 23, 2010

I am attempting to write a backup script that will do the following:

1) lock and flush tables on a mysql db
2) dump the db to a file
3) unlock the tables
4) rsync the file to offsite storage

It all seems to be going well. However, obviously I don't want to setup ssh to the storage server on another network as the root user without a password. so I am attempting to su as the backup user inside of the script but when I try to run the script everything happens as it should until I try to so.. then it jumps out of the script .. akss me to login as the backup user.. proceeds to rsync to the offsite storage it does all this and then resumes execiting the script. it is not going to be setup as a cron job. it will be executed manually. assuming that is the case, how can I get the script to run without prompting for a password?

Here is what I've come up with so far... assuming that the script is run as root and the identity of the backup user will need to be assumed inside the script without perstering the user to enter the backup user's password.

[Code]....

View 8 Replies View Related

Ubuntu Installation :: SSD Drive Not Detected - Zero Drives Show Up

May 15, 2010

I can't finish installing Ubuntu 10.04. I have a Corsair Nova 128 GB solid state drive, the 128 GB model of this series, to be precise. I have an ASUS P5N-T Deluxe motherboard. It has a six xSATA 3 Gb/s ports NVIDIA MediaShield RAID controlelr on it. In Disk Utility, it shows up as nVidia Corporation MCP55 SATA Controller, using the sata_nv driver. I have the 128 GB drive plugged into one of these ports. I have disabled RAID completely in the BIOS.

When I boot the Live CD and run GParted, the drive shows up fine. I've got a 70.81 GiB NTFS partition (Windows 7), a 4.00 GiB swap partition, and a 44.43 GiB ext4 partition, onto which I had planned to install Ubuntu 10.04. I created the swap and ext4 partitions earlier, but at one point, that was unpartitioned space.

The problem is that when I run the Install app to install Ubuntu 10.04 on my SSD, when I get to step 4 of 8 (Prepare partitions), exactly zero drives show up. A while ago, I had a couple of Seagate 1.5 TB mirrored drives plugged into two of the ports, and they showed up fine, but no 128 GB SSD. In trying to troubleshoot this problem, I unplugged those and just left the SSD, and zero drives showed up. I disabled RAID in the BIOS, and it still doesn't show up. I moved the SSD from the port it was plugged into and plugged it into one of the ports that one of the 1.5 TB drives was plugged into. It still doesn't show up.

Nuts and bolts of it: Seagate 1.5 TB drive plugged into port: no problem. Corsair Nova 128 GB SSD plugged into port: doesn't show up. But again, only in the Install utility. In Disk Utility under SATA Host Adapter/MCP55 SATA Controller, I see 128 GB Solid-State Disk/ATA Corsair CSSD-V128GB2 listed plain as day. In GParted, I see a 119.24 GiB /dev/sda device with the partitions I've created on it plain as day. I can pull up a terminal and mount /dev/sda3 /mnt/ssd without any problem and access files on it. But for whatever reasons, the Install program and only the Install program can't see it. I'm dead in the water. Obviously, I can't use Ubuntu if I can't install it. What can I do to get this disk drive detected?

[Code]....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved