I have installed both Windows and Ubuntu on a single hard-drive. The Windows OS is split into 2 partitions, C and D and I want to enlarge the C partition by taking 3GB from the D partition. Can I do this using the Disk Management from Windows and without affecting the Ubuntu OS?
My family PC has Windows Vista and lately it has became unusable, having strange errors and taking hours to do anything at all, so I'm installing Ubuntu 11.10 alongside it.  I went into GParted to resize the Vista partition but found that it had an exclamation point in a red circle next to it:   I tried to resize it but the Resize/Move button was grayed out.  I thought that this might have to do with the exclamation point so I looked at the information and found a load of errors:   What does the exclamation point mean?  How can I resize my partition?  UPDATE 1  I booted into Safe Mode with Command Prompt in Vista as suggested by eug and ranchkdsk c: /F /R (/F Fixed errors on the disk, /R Locates bad sectors and recovers readable information) and got:  Chkdsk cannot run because the volume is in use by another process.  Would you like to schedule this volume to be checked the next time the system restarts? (Y/)   When I reboot it doesn't run chkdsk, I'm selecting Safe Mode with Command Prompt again because I can't boot normally.  How can I stop it being used?  UPDATE 2  I tried doing what Luis suggested.  Here is the terminal output:  ubuntu@ubuntu:~$ sudo ntfsfix /dev/sda3 Mounting volume... OK Processing of $MFT and $MFTMirr completed successfully. NTFS volume version is 3.1. NTFS partition /dev/sda3 was processed successfully. ubuntu@ubuntu:~$ sudo apt-get install ntfsprogs Reading package lists... Done Building dependency tree        Reading state information... Done Note, selecting 'ntfs-3g' instead of 'ntfsprogs' ntfs-3g is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   I still cannot resize the partition.  Ntfsfix doesn't look like it did anything and ntfsprogs is already installed.  I can access the hard drive and do backups with the Ubuntu Live CD which I'm using now.  Any other suggestions?  UPDATE 3  I attempted to use the ntfsresize command but I got an error:  ERROR: Volume is scheduled for check. Run chkdsk /f and please try again, or see option -f.   This is because I ran chkdsk in Vista Safe Mode with Command Prompt and it couldn't do it because it was in use but offered to do it at the next reboot.  I reboot and I get to the menu to the menu to choose whether to Start Windows Normally, Safe Mode, etc instead of checking the disk.  Is there any way I can unschedule?  EDIT  I just found out that I could use the -f option to force it.  It failed and told me to run chkdsk /f in Windows and then reboot twice.  But the chkdsk program is in the partition I am trying to check so it says it is in use.
Are intermediate rings of finitely generated ring extensions also finitely generated? With ubuntu 19.10 I have been attempting to pair my Airpods with my laptop. There seems to be a problem with pairing and system is unable to add them as Bluetooth device. This happened after an upgrade from 19.04. Changing ControllerMode in /etc/bluetooth/main.conf seems to have no affect. Any help appreciated. How to select an index value from a String Array in a JOptionPane Determining the dimension of span$\{AB-BA : A,B \in M_{n \times n}(\mathbb R) \}$ Let $S$ be the subspace , of  $M_{n \times n}(\mathbb R)$ (the vector space of all $n \times n$ real matrices ) , generated by matrices of the form $AB-BA$ , where $A,B \in M_{n \times n}(\mathbb R)$ , then how do we prove that $\dim S=n^2-1$ ? The only thing that I can determine is that the trace of all matrices of $S$ is $0$ . Please help Show alert popup on standard page layout on click of standard button "Save" What novel had an isolationist Earth and the rest of humanity in a war of attrition against aliens? When I dip a paper towel in a cup of water the water gets drawn up due to . How is this reconciled with conservation of energy, as it would seem on the surface that the potential energy of the system has gone up with no work being done? I have a simple query:  select * from countries   with the following results:  country_name ------------ Albania Andorra Antigua .....   I would like to return the results in one row, so like this:  Albania, Andorra, Antigua, ...   Of course, I can write a PL/SQL function to do the job (I already did in Oracle 10g), but is there a nicer, preferably non-Oracle-specific solution (or may be a built-in function) for this task?  I would generally use it to avoid multiple rows in a sub-query, so if a person has more then one citizenship, I do not want her/him to be a duplicate in the list.  My question is based on the similar question on .  UPDATE: My function looks like this:  CREATE OR REPLACE FUNCTION APPEND_FIELD (sqlstr in varchar2, sep in varchar2 ) return varchar2 is ret varchar2(4000) := ''; TYPE cur_typ IS REF CURSOR; rec cur_typ; field varchar2(4000); begin      OPEN rec FOR sqlstr;      LOOP          FETCH rec INTO field;          EXIT WHEN rec%NOTFOUND;          ret := ret || field || sep;      END LOOP;      if length(ret) = 0 then           RETURN '';      else           RETURN substr(ret,1,length(ret)-length(sep));      end if; end; Would a compass with unmagnetized needle work? We know that the needle that is used in a compass is a permanently magnetized ferromagnetic material and commonly steel is used.  If we used an unmagnetized iron needle instead, would it still align with Earth's magnetic field lines? If yes, how? Can one construct a non-measurable set without Axiom of choice? Is axiom of choice required to show the existence of non-measurable sets? Is there a Lebesgue non-measurable set that can be constructed without axiom of choice?  Related question on MO says it is consistent: Salesforce - user trigger not invoked when user role changes There are two ways to change user role. One is from user detail page, which invoke user trigger. I am facing issue where if user role is changed from ROLE hierarchy screen, then user trigger is not being invoked.  Any body know if there is written documentation which specifies this? or is it just my ORG having some setting to skip user trigger?   Below is screenshot of the screen from where it happens. What exactly is the singleton class in ruby? What is NDSolve`FEM`*? How to stop an animation in C# / WPF? I have something like this:   barProgress.BeginAnimation(RangeBase.ValueProperty, new DoubleAnimation(     barProgress.Value, dNextProgressValue,     new Duration(TimeSpan.FromSeconds(dDuration)));   Now, how would you stop that animation (the DoubleAnimation)? The reason I want to do this, is because I would like to start new animations (this seems to work, but it's hard to tell) and eventually stop the last animation... Sometimes it is convenient to refer to a group of equations by a letter and a number.  For example:   2+1   (A1) 2+4   (A2) x^4   (B3) x^e   (B4)   Placing  \tag{A\theequation}\label{eqn:thisone}\stepcounter{equation}} instead of just \label{eqn:thisone} works, but seems hacky (especially manually stepping the counter).   Is there a better way? barchart with pgfplot - missing bar I am using PGFplot to make a barchart. There are 4 entries in my csv file and unfortunately I have only 3 bars in my figure.   my LaTeX code:  \begin{figure}     \centering     \begin{tikzpicture}          \begin{axis}[             x tick label style={/pgf/number format/1000 sep=},                 xlabel=Sequence,             ylabel=Heigth,                 ymin=0.7,             enlargelimits=0.05,             legend style={at={(0.5,-0.15)},                 anchor=north,legend columns=-1},             ybar interval=0.7,             width=\textwidth,             ]             \addplot table [col sep=comma,trim cells=true,y=height] {numericaltests/data/test.csv};              \addplot[red,sharp plot,update limits=false]                 coordinates {(-1,1.00) (34,1.00)}                 node[above] at (axis cs:15,1.00) {};             \legend{Ca2Fe2As2}         \end{axis}     \end{tikzpicture}     \caption{Sequence}     \label{fig:sequenceHeight} \end{figure}   my test.csv file:  sequence,height 1,2.0 2,1.5 3,1.8 4,2.4   Barchart: I several days ago somewhere read that category and tag pages should be noindexed. But later on somewhere else, I read that, they only increase rank for search term, but overall traffic decreases- said one from his experience.  So, if I just concern about traffic, not about individual search term that much, should I make those category and tag pages as indexed to google? I am confused which is the best to do.  Thanks in advance.  Regards Rana Prove that every idempotent element is not nilpotent element. Let $R$ be a ring. Prove that every idempotent element is not nilpotent element.  I've got a problem with proving this question. I was be grateful, if somebody would be help me. wp_delete_auto_drafts() deletes links in menus Since yesterday the wp_scheduled_auto_draft_delete cron job somehow deletes all page entries from our menus. All entries in the table wp_postmeta with meta_key = '_menu_item_object' and meta_value = 'page' get deleted in the process. By tracing back the DELETE query I found out that the menu entries are deleted by a function called _wp_delete_post_menu_item. I got the following stacktrace for that function:  #0  _wp_delete_post_menu_item(3244) #1  call_user_func_array(_wp_delete_post_menu_item, Array ([0] =&gt; 3244)) called at [/srv/www/htdocs/biva/wp-includes/plugin.php:470] #2  do_action(delete_post, 3244) called at [/srv/www/htdocs/biva/wp-includes/post.php:2483] #3  wp_delete_post(3244, 1) called at [/srv/www/htdocs/biva/wp-includes/post.php:5645] #4  wp_delete_auto_drafts() #5  call_user_func_array(wp_delete_auto_drafts, Array ()) called at [/srv/www/htdocs/biva/wp-includes/plugin.php:546] #6  do_action_ref_array(wp_scheduled_auto_draft_delete, Array ()) called at [/srv/www/htdocs/biva/wp-cron.php:100]   But I'm stuck here, I'm not a wordpress developer and I have no clue why deleting old drafts results in deleting attached menu entries although the main pages still exist.  Workaround: As a workaround we added the following to the top of wp-config, wich will disable wp-cron:  /** Disable wp-cron to prevent menu from getting deleted. Detailed Bug description: http://wordpress.stackexchange.com/questions/145953 **/ define('DISABLE_WP_CRON', true);   If you are experiencing similar difficulties you might try locking the rows in the table wp_postmeta with meta_key = '_menu_item_object' and meta_value = 'page' and then tracing back the error message when WP trys to delete these rows, that's how we nailed down our error.  Reproduce the Error: It is definitely the stealth publish plugin that is causing our error, one can easily reproduce it, by doing the following:   Install a fresh Wordpress 3.9.1. Install the stealth publish plugin . Create a few test pages and add them to a new menu. Create a new page, with some dummy content, but do not save it!. Leave the page without saving. Change the system time 8 days into the future. The wp_scheduled_auto_draft_delete cron job will run because it runs daily and it hasn't run for 7 days as soon as you visit your page. It will then find your never saved dummy page delete it as it is older than 7 days and the menu will vanish. You might need to refresh the page a few times till the effect becomes visible.   I've recorded a screencast on how to reproduce the error (but I took not the time to comment it): Multi document printing from document library? Is there any one have solution for print multiple documents from Document library? User has option to select multiple documents or single document or inside folder.  I found commercial product "Unbounded Printing Services for SharePoint". But is so expensive. Please share me if you have any thoughts.