When installing Redhat Enterprise Linux 4 into a VMWare machine, I got the following anaconda error:

lvcreate failed for volHome

The problem was that I was trying to install to a 10GB machine, whereas the image needed a larger HD.  Changing the hard disk size in the VM fixed the problem.

 

I upgraded my Fedora 9 Dell Precision 670 workstation to Fedora 10 using preupgrade.  When it rebooted, it got stuck with the following message:

cannot mount /dev/root onto /sysroot

So, after checking Google, I came across this thread, http://forums.fedoraforum.org/showthread.php?t=205115.  Since the boot partition is /dev/sda1 and the main partition (with /bin, /home, /etc and so on) is /dev/VolGroup00/LogVol01, I had to do the following to rebuild initrd:

** Boot up using the Fedora 10 LiveCD **

su
mkdir -p /mnt/sysroot
mount /dev/VolGroup00/LogVol01 /mnt/sysroot
mount /dev/sda1 /mnt/sysroot/boot
chroot /mnt/sysroot
/sbin/mkinitrd -f --with=scsi_wait_scan /boot/initrd-2.6.27.5-117.fc10.i686.img 2.6.27.5-117.fc10.i686

After rebooting, it worked!  It seems the problem was that initrd did not include the scsi_wait_scan option and therefore did not wait long enough for the SCSI drives to come online.

 

I use TrueCrypt to encrypt the contents of my USB memory stick in case I lose it somewhere.  Today, when I was trying to mount the drive under Fedora, I got the following error:

Failed to obtain administrator privileges: sudo: sorry, you must have a tty to run sudo

The solution was simple.  Do the following:

  1. sudo visudo
  2. Comment out #Default requiretty

It should work now.

 

Yesterday, I started getting this error when I tried to login into my machine at home:

ssh_exchange_identification: Connection closed by remote host

It seems there is a connection limit for the sshd server, so it would not let me log on. The problem was that I was not near the server, so I could not restart it. Fortunately, if you wait a while, the connections are released and you should be able to log back on to the machine.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
© 2011 Ibrahim Shafi Suffusion theme by Sayontan Sinha