Monday, April 12, 2010

Re-set Fedora root password

Came across the need to re-set my forgotten root password on my Fedora 11 box. The alarmingly simple solution makes it very evident that physical access to machines is extremely important to safeguard.

I am using GRUB so the trick was to show the choice of kernals it wanted to boot to, choose "e" to edit one of them and add "single" at the end of the kernal boot command, then choose "b" to boot that kernal, it will push you into single mode with root priveleges

type in "passwd" and choose a new root password.

apparently LILO is just as easy; booting with: "linux single" gives you the same result.

Saturday, April 10, 2010

Linux Mint Partition Problem

I came upon this problem installing Linux Mint 8. This is a great looking Linux distribution based on Ubuntu. Definitely would recommend this to users of Windows who want to try a Linux that acts much like Windows

After starting up with the iso disk into the live cd, when you go through the "install mint" wizard, there will be no partitions that show up at the 4th step and you can't continue. Starting the OEM install at the CD boot has the same results.

The trick to getting the partition table to show up is to run this command from the terminal once in the live cd screen:

sudo apt-get remove dmraid

Then run the wizard and the partitions will show up so you can continue.