Don't Reboot After Adding Partitions - partprobe!

Another one of those topics where about 50% of the class bustled in excitement over learning something new and simple came up today.  After running fdisk, you will almost always get an error about the kernel not using the new partition table you just modified.  Before GNU released parted, you had to reboot in order for the kernel to purge it's cache and reload the partition table, but now, all you need to do is run partprobe after exiting fdisk.  AFAIK, partprobe is included in most all distros.

No votes yet

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike> <caption>
  • Lines and paragraphs break automatically.

More information about formatting options