Bootrec /FIXBOOT vs Bootrec /FIXMBR

This turned out to be a very interesting question. There are lots of links out there on this topic but they are ambiguous in describing the difference/relationship between the two. Best description I’ve found of the hard drive configuration for a Windows OS is this one: http://www.ntfs.com/hard-disk-basics.htm. It appears that MBR and Partition Table are … Read more

combine partitions to one disk image

Create a disk image. The following command will create a 10G sparse image: # dd if=/dev/zero of=mydisk.img bs=1 count=0 seek=10G 0+0 records in 0+0 records out 0 bytes (0 B) copied, 1.6554e-05 s, 0.0 kB/s # ls -lh mydisk.img -rw-r–r–. 1 root root 10G Jun 17 15:27 mydisk.img Partition the image with fdisk: # fdisk … Read more

All Debian boot messages

The boot messages come in two parts: those that come from the kernel (loading drivers, detecting partitions, etc) and those that come from the services starting up ([ OK ] Starting Apache…). The kernel messages are stored in /var/log/kern.log and can also be accessed from the kernel’s own log buffer with the dmesg program. The … Read more

How to free up space on RHEL6 /boot safely?

Following command will remove ALL kernel versions, except for the one that you’re currently running: sudo yum remove `rpm -q kernel | grep -v ‘uname -r’` and for going forward, per ⁠7.4. Configuring Yum and Yum Repositories: ⁠installonly_limit=value …where value is an integer representing the maximum number of versions that can be installed simultaneously for … Read more