Resume and bio of the author Couple of articles related to my hobby - robotics
My impressions about immigration to Australia. In Russian only. Recipes for everyday problems solving
Linux-related posts Windows-related posts
Software-related posts A lot of info about hardware
Different tools you might find useful Posts about various web technologies
Everything that doesn't fit the rest of the menu RSS feed for this blog

Tag Cloud



Andrey Mikhalchuk’s Blog

Technoblog about life

Feb 12, 2008 How to automate fdisk (how to partition a lot of disks quickly)

Imagine you need to create say 10 disks with predefined partitions loaded with some software. The ideal solution would be automatic disk partitioning and copying the software to it. While copying files is an easy-to-do everyday procedure partitioning is a bit more tricky (really, just a little bit). Here is a quick trick that will allow you to partition disks quickly.

Read More

Feb 7, 2008 How to disable automount in linux (Re-reading the partition table failed with error 16)

Imagine you’re repartitioning a disk and when you quit fdisk writing the new partition table automount tries to mount new partitions. So instead of refreshed disk ready for newfs you get this warning:

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next boot.

So you can forget about newfs for awhile. What do you do? Just reboot? What if you need to repartition more then one disk? Here is the solution …

Read More

Site Map (c) Andrey Mikhalchuk, 2005-2008