General :: Datasets Demands Mutiple Passphrases At Boot Time
Mar 30, 2011
I am experimenting with LUKS+dm_crypt. My setup is something like this: a LVM VG made of multiple Physical Volumes (PV). That VG contains multiple LV (Logical Volumes), most of them encrypted via LUKS+dm_crypt (via cryptsetup).Editing "/etc/crypttab", the system will requiere a passphrase for each encrypted LV. But since all my encrypted LVs share the same passphrase, I would like to be prompted only ONCE, instead of twelve times (I have 12 encrypted LV).
I have thought about writing a script to include in initrd that ask for the password once, store the result somewhere volatile (ramdisk?), and provide that password for the rest of "/etc/crypttab" entries.But this seems complex and fragile.I wonder if there is something I am missing, or some other easier way.
I have to transport a lot of files from one pc to another (both Linux). I would like to use scp for that, but scp only allows for transferring one file at a time. How can I do this?
I have No possibility to use rsync or any other protocol No possibility to use passphrase free certificates (but have a certificate with a passphrase) A list of files to transfer and a list with the destination path of the files on the other server The files are spread out over a lot of directories, and not all the files in the directories I want to copy If possible I would like to gzip and ungzip transparently to save bandwidth!
I have a python script that I use to create Debian packages automatically for me. When running this under Ubuntu, it only requires the passphrase to be entered once to sign the changes and dsc files. However when running under Debian it is required to enter it every time. The script is using the debuild command to do the actual package building.
i've installed playonlinux on my system ubuntu 10.04 , and it says that 3d acceleration aren't enabled , how can i do that , this is the output of : lspci | grep VGA VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Whenever i'm trying to install apps via one click install or any other way, it later demands i insert the OpenSuse 11.4 CD into the drive, otherwise it won't install.
In the attempt to solve other problems () I got now this new one.Whatever I type, every character is displayed (and interpreted) mutiple times.rice for the sake of precision.It's happening with both the internal keybaord (it's a laptopt) andh an external USB keyboard.In order to work I'n now using the on screen keyboard of my KDE.To log in I had to enable the automatic login.
I'm trying my hand at arrays in bash for a backup script. Now I not sure if this is the correct thing to do and just look at website and amended but does'nt work. Could someone tell me where I'm going wrong
I am trying to get my network music player (Logitech Squeezebox) to connect consistently with Ubuntu. Most of my music (FLAC files) is on a separate NTFS hard drive as I am dual booting with XP.I have edited the Fstab file somewhat based on suggestions on the forum but I can not seem to consistently connect to the Squeezebox with my music files (FLAC). What appears to happen is I set up my mount point in the media folder as Music and configure this with my Squeezebox which scans the Hard drive and finds all my music. The player works and it all seems fine even after a reboot but after a couple of reboots I get an error message when booting that says "The disk drive for media/Music/Flac is not ready yet or not present".
When I go to the media folder it appears that the Music folder is duplicated with a folder called Music_ and after a resetting the Squeezebox scanner to the new Music_ folder the process starts over again and I eventually end up with another folder called Music__ and so on.My question is 1) can I delete these Music folders without erasing all my Music library , and 2) how do I correct this situationHere is the Fstab file:# /etc/fstab: static file system information.
When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.
I am struggling to understand where PackageKit is launched from at boot time (fedora FC13), and I'm starting to suspect that - since my previous experiences with much older Linux distros - in modern systems daemons/services/programs are launched at boot time from many other different points. In my case, I can't find an origin point for this program in /etc/rc5.d Where can I find a list of places to look into?
I have installed Ubuntu 10 alongside with Windows XP. Consequently I need to make a choice at boot time. However, I feel that the system is not waiting very long, maybe 5 seconds or so, before going automatically into Ubuntu. Can that time be increased? If so, where or how?
I am running RHEL 5 on Vmware Workstation. That is i inslled Vmware Workstation on windows 7 and then in Vmware i installed RHEL 5 as a virtal machine. By mistake i made some wrong entry in my /etc/fstab file that is i was trying to automatically mount one folder under another folder. My syntax was wrong. So when i restart my RHEL 5 , at the boot time due to wrong entry in /etc/fstab system is giving file system error as follows:
Checking filesystems fsck.ext3: Unable to resolve 'LABEL=/home/download' fsck.ext3: Unable to resolve 'LABEL=/var/ftp/uploads' [FAILED] [code]....
I have a home build computer that has data corruption problems at boot time. I have exhausted all the troubleshooting steps that I know to try. Do you have any additional troubleshooting techniques that I should try?
Symptoms: I run both linux(ubuntu, mint and fedora) and win7 on this machine.Sometimes I have just one installed.Other times both in a dual boot setup. The OS installs just fine.The system runs just fine for a while.Then it fails to boot.At first I can fix the boot problems with grub or bootrec (/RebuildBcd, /FixMbr or /FixBoot) as indicated by the error messages.Eventually the system fails to boot at all and I have to wipe the disk(s) and reinstall the operating system.The linux installs seem to last a bit longer. I typically have linux running for a month before the troubles start, but I have to repave and rebuild within 3 months. The windows installs last at most 2 weeks before troubles develop. The system is turned on for the day or evening then turned off overnight.Once the system has booted all checks that I have run pass. On windows fciv.exe, sfc.exe have never deteced and troubles. On linux tripwire shows everything unchanged. Chkdsk and fsck have never reported errors.
Hardware:ASUS M3A78-EM motherboard. 2x2GB kingston memory from the ASUS QVL for this motherboard.I have used two hard disks in this system.WD caviar black 640G (WDC WD6401AALS-00L3B2).Seagate barracuda 7200.7 (ST3120026A).On some rebuilds I have used just one of the drives, sometimes I have both installed.The DVD burner is a LG 4x (HL-DT-ST DVD-RAM GH22NS30 ).The power supply was originally an el-cheapo Allied unit that came with the case.That has since been replaced with a Seasonic X650.And that is all that is in this system. I use the onboard video, sound and network. I have never plugged an external device into the system (not even a USB flash drive!).
Trouble shooting so far...I have run the memtest utility from both the ubuntu CD and the windows DVD many times. Even when run for several day neither test utility has ever found a memory error.I have run the seagate and western digital provided test and diagnostic tools on both of the hard disks. I have done this on both the unstable ASUS M3A778-EM system and a very stable gateway system.I have swapped out the HDD cables several times.I have replaced the cables with new cables and with cables pulled from a stable system.Because the corruption happens only at boot time I suspected the power supply was having problems under the extra load of disk spinup.So, I replaced the power supply. No success.
I have run the system with every version of the MB BIOS from the version that it shipped with to the latest and greatest. The BIOS upgrades made no noticeable difference.I have enabled and disabled automatic updates on both win7 and ubuntu linux. That made no noticeable difference.That is it. That is all the troubleshooting ideas I have had.
I am using Arch Linux and want to disable console messages which are displayed when the kernel boots. I have tried the quiet and loglevel=2 options in /boot/grub/menu.1st as given below:
i wanted to know how can I make my programs or script automatically start at boot time ,for example if I restart my server at any time they start at boot time automatically with no need to any body to start them.
My Linux system was last rebooted few hours ago. But it seems little confusing for me to figure out the exact reason behind it. I guess following command should justify what i meant to say.
Code: # date Wed May 11 13:22:49 IST 2011 # last | grep "May 10" reboot system boot 2.6.18-194.el5 Tue May 10 17:35 (19:46) root pts/1 XXXX Tue May 10 17:24 - 18:18 (00:53)
[Code]...
My question is Why the uptime is saying that the system is up since last 47 min.It should be more than 1 day if i m not wrong.
I'd really like to be able to examine all the information that flys off the top of my terminal when my system boots (off of fd0, the only way I've done it, so far): review of "similar threads" yields nothing; seemingly not a man pages item; have not found any how-to's that cover this; the daemons for logging are third-to-the-last before logon prompt (and still displayed, the ONLY reason I know THAT); seems like it should be a compile-time sw-switch settng (sub-optimal since I'm still not comfortable with compiling kernels); but I was hoping it's already being captured in some log file somewhere that I'm as yet unaware exists. I do realize that if I had a printing console, this would be unnecessary.
I am using FC9, I want to write a module that will always show current time after booting.But for that I need not only to load module using insmod/modprobe, but also to compile that module during boot time.How can I perform this 2 steps correctly.
I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.
With this steps: Code: $X :1 -verbose -nr -nolisten tcp & # Maybe Metacity -> $ metacity $export DISPLAY=:1 $JavaApp & Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].
How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.
you can refer to this ubuntu thread for context, but i'll sum up what i'm trying to do here to spare the reading. basically i want to be able to schedule a filesystem check with automatic repairs at the next boot time. but i'm not sure if this will try to automatically fix errors which is what i want to do. the reason i want to do this is because i experienced a power outage (the machine was not plugged into an UPS) and i want to make sure everything is ok.
I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .
If same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.
I have set 'ONBOOT=no' in interface script '/etc/sysconfig/network-scripts/ifcfg-eth0:2' but my interface bring up at boot time, what is the problem , I have checked it 3 or 4 diff os/machine but the same issue. Can anyone please help me to disable virtual IP's at boot time that network script make it up every boot time.
Im finally deleting vista from my disk, but as I am game addict I will re-install it afterwards just for games. Now I assume that will overwrite GRUB, so how do I restore boot record and at same time keep my grub config?
I've been a long time Windows user, but I've started a small firm and because of lack of funds, I've decided to install Ubuntu on my company's PCs.I have 8 PCs in total - 6 of them with Intel CPUs, and the last two with AMD CPUs. I bought the extra two computers because I've managed to find an extra two people to work at my company, and AMD-based PCs are cheaper so I've decided to buy them instead of Intel.Long-story short, I've installed Ubuntu 9.10 and boot time takes about half-an-hour. After the computers finally boot, USB hardware doesn't work at all. I was forced to buy PS/2 keyboards & mice and they both work fine after the PCs boot.I don't know what's causing this delay.I've enabled Cool 'n Quiet from BIOS.I've tried several instructions like editing the /etc/modules file.I've installed cpufreqd, tried to configure it, but it didn't work.I've check the CPU stats and my CPUs are running at 800MHz. I can't believe nobody managed to fix the 800MHz problem as I've noticed it's quite common among AMD Ubuntu users. I think I've tried almost anything that I've found on this forum.I can't keep asking my employees not to reboot their PCs. Both Chrome/Firefox crash a lot on Ubuntu so they're forced to restart their computers.The computer specs are: AMD Athlon II X2 240 dual-core @ 2.800MHz, 2GB RAM, 500GB HDD, etc.
This on a Vostro 1220 Laptop w/ Intel 5300 wireless:
A.I have long boot up time.I think it's because of the eth0 network search which I don't use.I have an intel wireless 5300 card running.How can I speed up the boot time, i.e. disable or change the eth0 at boot, the searching?
B:When I restart or shutdown, the screen flashes repeatedly and gets some garbled colors along the top before finally rebooting looks like windows ME or something).This vostro has an intel x4500HD vid chipset in it.
C.How do I get into gnome configuration editor to turn on Metacity compositing? Alt-F2 and run gconf-editor doesn't do it. I don't do compiz, but need compositing.
D.I need to install Chromium Browser as it sync my bookmarks.I have RPMforge enabled btw also...how can I do that? I.e. rpm repo for chromium?
This will help me get off to a running start so I can get up to speed on CentOS..
I am having dual boot system(windows 7 and Fedora 12).When i switch on my system.It show the the timer 3 sec in order to get boot selection window(means window which asks that what to start fedora 12 or windows 7).I want to increase this time from 3 to 10 sec.
Splashtop caught my imagination of my own tv like computer-"1button and ready to go " have tried puppy xpudWebConverger still unhappy Now lucid aming for 10 sec boot-Keeping ma fingers crossed installed a minimal karmic and am getting a decent 27 sec I Jus Wanted to ask: Is there a way to remove the grub an directly boot into ubuntu -not just hiding it by editing grub.d files and any other ways to reduce boot time.......