First, is this possible?
Second, how can I install Grub2? Would it be possible to use an Ubuntu Live CD?
Third, what Grub2 settings would be needed to achieve this?
I'm trying to create a liveCD of my current Centos installation. i want it to be almost like a backup, so whenever I want to copy my current installation to another computer I would simply install from my custom liveCD.
I know this is possible, and found some resources in the nets, but they all seem to only create a minimal version of CENTOS, and I'm wanting to have all the current functionalities available to me at present, including all of my development functionalities, Apache and samba settings, etc.
I have done (on Debian though) it a few years ago, but can't remember how.
could anyone please shed me a light on this?
Thanks in advance
I'm pretty familiar with Office 2007, however, I have just recently acquired OneNote 2007. It is such a big and powerful tool, that I'm pretty much lost on the features and how to use it. I don't really know where to start. I'm looking for some recommendation(s) on a good place to learn more about OneNote and its features and what it does...for what it's worth, I'm a student, so student perspectives on how to use/learn OneNote would be awesome! Thanks!
I am trying to run old win16 application.
I am running windows 7 x64 SP1.
I downloaded VirtualPC from http://www.microsoft.com/windows/virtual-pc/download.aspx Step 2 and Step 3.
During installation of Windows Virtual PC i am having error in event log:
{Cannot install widnows update because of error} 2149842967 "" (Command Line: ""C:\Windows\system32\wusa.exe" "C:\Users\Sergey\Downloads\Windows6.1-KB958559-x64-RefreshPkg (1).msu"
Text in { } is approximate translation from russian to english.
When i try to run "Windows XP Mode", it says: Cannot launch main process Windows Virutual PC
When i click "Windows Virtual PC" it shows empty folder.
Any ideas?
I've recently bought an HP Pavilion dv3-2150ep and I'm having a hard time getting the volume control display to work as expected. The control is a back-lit touch-sensitive bar above the keyboard. Now the buttons to turn the volume up and down actually do it, but the lightning is not changing at all. The mute button does change color when toggled.
I'm not sure if I'm missing any drivers here (I've installed all of those on the HP support page that seem to have something to do with sound and/or display) or if I have to activate this somewhere.
Any ideas?
I have a folder full of .wav audio files.
Some are stereo, most are mono splits.
The mono split pairs are all named foo bar track.L.wav and foo bar track.R.wav
I can use the command line tool sox to combine a mono pair into 1 stereo track like this:
sox -M track1.L.wav track1.R.wav track1.Stereo.wav
where the first 2 files are the mono pairs, and the third is the output stereo file.
This is great, but I'd like to have a script that will automatically find all the mono pairs and combine them into stereo files.
I.e., I need it to find all files which have the same name except for the .L. and .R. before the extension, and run sox on them, outputting to a new file with the same name without the L/R suffix.
For example, if my folder contains these files:
track1.L.wav
track2.L.wav
track3.L.wav
track4.L.wav
track1.R.wav
track2.R.wav
track3.R.wav
track4.R.wav
track6.wav
track7.wav
I need to run these commands:
sox -M track1.L.wav track1.R.wav track1.Stereo.wav
sox -M track2.L.wav track2.R.wav track2.Stereo.wav
sox -M track3.L.wav track3.R.wav track3.Stereo.wav
sox -M track4.L.wav track4.R.wav track4.Stereo.wav
Here's where I am so far:
for file in ./*.L.wav;
do
file2=`echo $file | sed 's_\(.*\).L.wav_\1.R.wav_'`;
out=`echo $file | sed 's_\(.*\).L.wav_\1.STEREO.wav_'`;
echo $file - $file2 - $out;
done
That works, but when I replace the echo line with
sox -M $file $file2 $out;
it doesn't work; spaces in the filenames cause it to fail.
I am not into computer network and I have the following problem finding my router IP address.
I have a Windows 8 PC on on which it is installed VmWare Workstation that virtualizes Linux Ubuntu.
The network adapter settings of this Virtual Machine is setted as NAT.
Now my problem is that if in the Windows 8 DOS shell I perform the ifconfig statment I obtain
C:\Users\Andrea>ipconfig
Configurazione IP di Windows
Scheda Ethernet tap0:
Stato supporto. . . . . . . . . . . . : Supporto disconnesso
Suffisso DNS specifico per connessione: techub.lan
Scheda Ethernet Connessione di rete Bluetooth:
Stato supporto. . . . . . . . . . . . : Supporto disconnesso
Suffisso DNS specifico per connessione:
Scheda LAN wireless Connessione alla rete locale (LAN)* 11:
Stato supporto. . . . . . . . . . . . : Supporto disconnesso
Suffisso DNS specifico per connessione:
Scheda LAN wireless Wi-Fi:
Suffisso DNS specifico per connessione: DSL2750B
Indirizzo IPv6 locale rispetto al collegamento . : fe80::89ff:6d12:49cf:4354%13
Indirizzo IPv4. . . . . . . . . . . . : 192.168.1.3
Subnet mask . . . . . . . . . . . . . : 255.255.255.0
Gateway predefinito . . . . . . . . . : 192.168.1.1
Scheda Ethernet Ethernet:
Stato supporto. . . . . . . . . . . . : Supporto disconnesso
Suffisso DNS specifico per connessione:
Scheda Ethernet VMware Network Adapter VMnet1:
Suffisso DNS specifico per connessione:
Indirizzo IPv6 locale rispetto al collegamento . : fe80::edb3:8352:f954:2b0c%23
Indirizzo IPv4. . . . . . . . . . . . : 192.168.129.1
Subnet mask . . . . . . . . . . . . . : 255.255.255.0
Gateway predefinito . . . . . . . . . :
Scheda Ethernet VMware Network Adapter VMnet8:
Suffisso DNS specifico per connessione:
Indirizzo IPv6 locale rispetto al collegamento . : fe80::d00b:8c6e:98b:f1ec%24
Indirizzo IPv4. . . . . . . . . . . . : 192.168.15.1
Subnet mask . . . . . . . . . . . . . : 255.255.255.0
Gateway predefinito . . . . . . . . . :
Scheda Tunnel Teredo Tunneling Pseudo-Interface:
Stato supporto. . . . . . . . . . . . : Supporto disconnesso
Suffisso DNS specifico per connessione:
Scheda Tunnel isatap.techub.lan:
Stato supporto. . . . . . . . . . . . : Supporto disconnesso
Suffisso DNS specifico per connessione: techub.lan
Scheda Tunnel isatap.{5B95051D-79AB-4147-92CF-3A2E16698432}:
Stato supporto. . . . . . . . . . . . : Supporto disconnesso
Suffisso DNS specifico per connessione:
Scheda Tunnel isatap.{340A5FAD-1597-402E-B658-29C37E8F7BC2}:
Stato supporto. . . . . . . . . . . . : Supporto disconnesso
Suffisso DNS specifico per connessione:
Scheda Tunnel isatap.DSL2750B:
Suffisso DNS specifico per connessione: DSL2750B
Indirizzo IPv6 locale rispetto al collegamento . : fe80::5efe:192.168.1.3%26
Gateway predefinito . . . . . . . . . :
So, looking at the previous output it appear clear that the default gateway (my router) is: 192.168.1.1, infact if I open it into a browser it apear to me the login mask to enter in the router settings....
Ok, if now I open the virtualized Ubuntu shell and perform the route command I obtain this output:
andrea@andrea-virtual-machine:~$ route
Tabella di routing IP del kernel
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.15.2 0.0.0.0 UG 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
192.168.15.0 * 255.255.255.0 U 1 0 0 eth0
So, here it say to me that the default gateway is 192.168.15.2 (that is not my router ip address), why?
My idea is that it could depend by the NAT. Because my Windows system is connected using the wireless but in the virtualized Ubuntu I see that I am connected to a "wired network".
So I think that the NAT virtualize a network adapter (or something like this) and that 192.168.15.2 could be the ip address of this network adapter...
But it seems strange to me because, as you can see in the previous ipconfig output the VmWare network adapter addresses are: 192.168.129.1 and 192.168.15.1.
So I have also 2 others doubts:
1) What device represents the 192.168.15.2 ip address that the virtualized Ubuntu see as Default gateway but that is not my router?
2) What exactly do the two VmWare network adapter that I have configured into my Windows 8 system?
There is a way to discover my router ip from the virtualized Ubuntu system ?
Tnx
Andrea
How can I calculate power consumption of my PC in Watt, to prove my House owner ( I live on rent) , my PC doesn't consume much power? He blames me for Huge power bills even he too use Fridge, A.C. etc and his son watch the TV all the time.
We both share one Power meter so for bill we pay 50%-50% but He is saying I use PC all the time even night i keep on for downloading.
I just want to calculate power consumption of my PC then will calculate monthly expense of unit as per my City's per unit price for power.
I've
Windows: Microsoft Windows XP Professional 5.1.2600 Service Pack 3
Memory (RAM): 960 MB
CPU Info: AMD Sempron(tm) Processor 2500+
CPU Speed: 1399.0 MHz
Sound card: Vinyl AC'97 Audio (WAVE)
Display Adapters: VIA/S3G UniChrome Pro IGP | NetMeeting driver | RDPDD Chained DD
Monitors: 1 - 17inch LCD - LG
Screen Resolution: 1280 X 768 - 32 bit
Network: Network Present
Network Adapters: Bluetooth Device (Personal Area Network) #2 | WAN (PPP/SLIP) Interface
CD / DVD Drives: I: ELBY CLONEDRIVE
COM Ports: COM1 | COM2 | COM7 | COM8 | COM9 | COM10
LPT Ports: LPT1
Mouse: 3 Button Wheel Mouse Present
Hard Disks: C: 29.3GB | D: 29.3GB | E: 97.7GB | F: 97.7GB | G: 211.9GB
USB Controllers: 5 host controllers.
Firewire (1394): 1 host controllers.
Manufacturer: Phoenix Technologies, LTD
Product Make: MS-7142
AC Power Status: OnLine
BIOS Info: AT/AT COMPATIBLE | 01/18/06 | VIAK8M - 42302e31
Motherboard: MICRO-STAR INTERNATIONAL CO., LTD MS-7142
Modem: ZTE USB Modem FFFE CDMA #2
My hard drive had 5 partitions(including 1(some 4-5GB) bit locker encrypted one). When I used disk mgmt I could view 2 partitions(24.4GB and 8.94GB) in green colour labeled Empty space.
So, I wanted to merge them and I used minitool partition wizard for the purpose. I don't know, what that software did, but all I was left with 2 partitions and lots of green free space.
I recovered 2 partitions using EaseUS partition master, but the bitlocker encrypted partition cannot be searched by it(and also minitool partition recovery).
Now, the disk mgmt shows 2 free space partitions of 28.36GB and 8.94GB respectively.
Here is a screenshot http://s14.postimage.org/4tvij041t/Screen_Shot003.jpg
Please, tell me a way to recover the bitlocker encrypted partition that is showing as a free space in disk management.
P.S. - It contains very important data.
I'm trying to use Vim's builtin spellchecking in some XML documents. This happens merely by having the XML syntax loaded, as seen in the following minimalistic example (which reproduces what I also see in large XML documents):
Note that given two buffers with exactly the same content, when Filetype is text, the spellchecking works; when it is xml, it does not. spell is set in both buffers.
However, given this view of the top three lines of a large XML document, you can see that the spellchecking is certainly on:
but it is only checking attributes.
The nuisance is that none of the things it is actually finding are mispelled, and it isn't finding any of the numerous misspellings in the document. I would like it at a minimum to find the spelling errors in the body of the document, and being able to turn off the checking on attributes would be a nice option.
I've searched for @NoSpell in the xml.vim file, but that returns no hits.
I created an image of my system with macrium reflect freeware program and stored the image on an usb external hard drive.
However the macrium reflect linux recovery disc on startup hangs up of the first three lines of instructions and therefore I cannot access the image on the usb external hard drive if I wish to recover my system.
I have a Lenovo laptop with the Windows-7 Home Premium operating system.
What can be done to ensure that the recovery disc will work?
I thought that all operating systems would merge folder content when being moved to the same location. Imagine my surprise when that didn't happen and I have hundreds, if not thousands of files that have gone missing and are nowhere to be found.
Because they were not "deleted" they are not in the trash bin.
I've tried to do some recovery using a program called stellarPheonix but after about a 24hour scan, it didn't recognize any of the raw files (.dng,.arw) as image files and so I couldn't see if they could be recovered. It also didn't show the directory structure, which would be handy.
I tried a quick scan, but all it showed was files that were still on the HD, not sure what the point of that is.
I've used recover 2000 on Win and it does a good job, does anyone know of anything that works quickly and reliably for this kind of file recovery. (I don't think I should have to do a sector-by=sector for this kind of file loss)
I have data formatted like so.
1, 2, 3, 4, null, null, null
A, B, C, D, null, null, null
1, null, null, 4, 5, 6, 7
A, null, null, D, 8, 9, 10
I want to copy the data from row three into the missing "null" cells in row one, because there is a match on cell values one and four upon comparing row one and row three.
So far I have the following.
=INDEX(A2:AE346, MATCH(A351&F351&G351, A2:A346&F2:F346&G2:G346, 0), 2)
Here is a spreadsheet with some sample data so you can test your formulas.
I am trying to set up a triple boot Windows 8, Mountain Lion, and Ubuntu. I am stuck though. I have got Windows 8 on a partition, and I am trying to get Mountain Lion on there at this point. I installed a VMware with a Snow Leopard 10.6.2 image on the Windows 8 platform. I used the disk utility in this program in order to get Mountain Lion on there.
This is what i did specifically: I got the installesd.dmg. I 'mounted' that file or whatever you call it, and out came something along the lines of "Install Mountain Lion OS x" (something like that - it was like a submenu under the installesd.dmg in the disk utility). I got my PNY 8 gb Attache Flash Drive and went to the Erase tab of disk utility. I erased it using the Mac OS Extended (Journaled) setting and called it "Mac". I went to the Restore tab, dragged "Mac" into destination, and dragged "Install Mountain Lion OS x" to the source.
Everything seemed to go well, but it didn't. When trying to boot from the flash drive (and yes, I set the BIOS correctly), it skipped it, and loaded Windows 8 normally as if nothing was plugged in. When I try looking at the flash drive in windows 8, it comes up as a 200 mb capacity drive labeled "EFI" with nothing in it (remember, it was 8gb in the beginning). I downloaded Plop Boot Manager, but it did not recognize a USB being plugged in.
Does anyone know how I could fix this?
I just set up LogRotate on my RHEL6 server so that it rotates my custom Apache log files. However, it doesn't do anything when i try manually running it.
I expect it to rotate the log files "access.log" and "err.log". They have been there for a few days and need to be rotated.
Here is the output:
[root@pc1 httpd]# logrotate -d -f /etc/logrotate.d/apache
reading config file /etc/logrotate.d/apache
reading config info for /var/log/httpd/*log
/var/www/html/NSLogs/access.log
/var/www/html/NSErrorLogs/err.log
Handling 1 logs
rotating pattern: /var/log/httpd/*log
/var/www/html/NSLogs/access.log
/var/www/html/NSErrorLogs/err.log
forced from command line (no old logs will be kept)
empty log files are rotated, old logs are removed
considering log /var/log/httpd/access_log
log needs rotating
considering log /var/log/httpd/error_log
log needs rotating
considering log /var/www/html/NSLogs/access.log
log needs rotating
considering log /var/www/html/NSErrorLogs/err.log
log needs rotating
rotating log /var/log/httpd/access_log, log->rotateCount is 0
dateext suffix '-20131023'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
glob finding old rotated logs failed
fscreate context set to unconfined_u:object_r:httpd_log_t:s0
renaming /var/log/httpd/access_log to /var/log/httpd/access_log-20131023
disposeName will be /var/log/httpd/access_log-20131023.gz
running postrotate script
running script with arg /var/log/httpd/access_log: "
/usr/bin/killall -HUP httpd
"
compressing log with: /bin/gzip
removing old log /var/log/httpd/access_log-20131023.gz
error: error opening /var/log/httpd/access_log-20131023.gz: No such file or directory
rotating log /var/log/httpd/error_log, log->rotateCount is 0
dateext suffix '-20131023'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
glob finding old rotated logs failed
fscreate context set to unconfined_u:object_r:httpd_log_t:s0
renaming /var/log/httpd/error_log to /var/log/httpd/error_log-20131023
disposeName will be /var/log/httpd/error_log-20131023.gz
running postrotate script
running script with arg /var/log/httpd/error_log: "
/usr/bin/killall -HUP httpd
"
compressing log with: /bin/gzip
removing old log /var/log/httpd/error_log-20131023.gz
error: error opening /var/log/httpd/error_log-20131023.gz: No such file or directory
rotating log /var/www/html/NSLogs/access.log, log->rotateCount is 0
dateext suffix '-20131023'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
glob finding old rotated logs failed
fscreate context set to unconfined_u:object_r:httpd_sys_rw_content_t:s0
renaming /var/www/html/NSLogs/access.log to /var/www/html/NSLogs/access.log-20131023
disposeName will be /var/www/html/NSLogs/access.log-20131023.gz
running postrotate script
running script with arg /var/www/html/NSLogs/access.log: "
/usr/bin/killall -HUP httpd
"
compressing log with: /bin/gzip
removing old log /var/www/html/NSLogs/access.log-20131023.gz
error: error opening /var/www/html/NSLogs/access.log-20131023.gz: No such file or directory
rotating log /var/www/html/NSErrorLogs/err.log, log->rotateCount is 0
dateext suffix '-20131023'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
glob finding old rotated logs failed
fscreate context set to unconfined_u:object_r:httpd_sys_rw_content_t:s0
renaming /var/www/html/NSErrorLogs/err.log to /var/www/html/NSErrorLogs/err.log-20131023
disposeName will be /var/www/html/NSErrorLogs/err.log-20131023.gz
running postrotate script
running script with arg /var/www/html/NSErrorLogs/err.log: "
/usr/bin/killall -HUP httpd
"
compressing log with: /bin/gzip
removing old log /var/www/html/NSErrorLogs/err.log-20131023.gz
error: error opening /var/www/html/NSErrorLogs/err.log-20131023.gz: No such file or directory
I recently re-installed a fresh copy of Snow Leopard on my Mac. I was a bit surprised when the process completed it had changed the name of my home folder to use my name rather than my initials. This messed up all the paths in my Eclipse IDE workspace.
I vaguely remember being asked if I use it for home or business use and wondered if something I did there has a bearing on the way the default name is assigned. Does anyone have more information on this? Links too official Apple install etc.
Cheers.
I am interested in a potential zle widget for zsh. Is there a way to build a widget that mimics the kill-completion selectable menu? Essentially I want to be able to press , tab in vi-command-mode, or maybe !-tab-completion at the shell and get a list of recent history (or related history compared what is already entered at the commandline) that allows me to scroll through it and possibly select a relevant function to call or compare similar calls.
Looking through the manual I stumbled onto a similar widget that I have mapped like so:
# tab completion history menu (vicmd)
autoload -z history-beginning-search-menu
zle -N history-beginning-search-menu-space-end history-beginning-search-menu
bindkey -M vicmd "\t" history-beginning-search-menu-space-end
# emacs binding could be "\e\t"? (I wouldn't know)
Therefore, if I enter vicmd and hit tab when I enter something like "grep", then I get a list of all grep calls in history. It also asks me for the list-number and it will perform the numbered item in history. If I enter a space and then try this, it lists ALL of my history history. This is fairly close to what I want, but there are some problems. For example, 1) it prints the entire list of relevant history and does not check the number of lines of the screen so it could easily blow up the space on the terminal; 2) when I type in numbers for selecting an item in history it does not show me the numbers I type, so I may make a mistake and have to start over again; 3) I would love to be able to hook in appearance tweaks.
I was wondering if there exists more updated version of this widget or if there is any way to look at the source for kill-completion or history-beginning-search-menu to see if I could think of a way to do it.
I have a wireless bluetooth mouse which I'm not using. It used to have a bluetooth adapter with it, which I lost a long time ago ... (don't ask). Since my regular mouse just died (bad contact in cable from messing with it too much) I was thinking of buying just the new generic bluetooth adapter ?
Are all those adapters the same thing ? Or can this that came with the mouse be somehow different ?
Edit by ldigas: How would one find out what bluetooth standard/class/adapter one needs ?
(I don't see anything useful written on the sticker on the mouse).
Or to put it bluntly - will it work with this one in your opinion ?
In earlier versions of Mac OS X one could delete a file from the trash by opening a terminal window and typing rm ~/.Trash/file_i_want_to_delete. See this previous post.
Unlike earlier versions in Mac OS X Snow Leopard one can "put back" a file from the trash into its original directory.
Will the rm trick still work? Testing shows it does delete the file but what happens to the "put back" information that specifies the directory from which the file was deleted?
We are creating a fairly decent system with crossfire.
The issue we are having is apparently the video cards are physically to heavy to be supported purely by the motherboard and case mounts.
Whenever we have the case horizontal everything works fine however when we bring the case upright the computer stops working.
Relevant Info:
Video Cards (2) - Sapphire 5870 (http://www.newegg.com/Product/Product.aspx?Item=N82E16814102856)
MotherBoard - Asus M4A79T Deluxe
Case - CoolerMaster 922 HAF
To me it looks as if an additional support bracket that could hold up the end of the card would be required (included with the viideo cards!!!)
Does anyone have any experience with this.
I have a computer that only has two SATA connections and I need to copy one SATA hard drive to another. Since I have to unplug the CD drive to copy the drives I need a USB-bootable utility.
I have an old school copy of Norton Ghost (CD based):
Ghost has always worked well for me in the past - I see there is a new "version 15" out but I'm not sure if it is worth buying.
A friend has Acronis True Image on a USB drive:
We tried to use that on the computer but it was unable to copy both partitions (restore partition and main partition).
Of course there may be some problem with the drive that is keeping Acronis from working (it is just exiting with a lame error about not being able to copy the disks and no error code or detailed information), but I'm interested in knowing if there is a better, more solid, or widely used solution that I should invest in.
What usb-bootable utilities can I use to copy SATA hard drives?