Skip to main content

Installed Debian Wheezy, Metasploit on Lenovo X61s

I installed Debian Wheezy on my Lenovo X61s.

  1. Get debian-7.5.0-i386-netinst.iso and use uNetbootin to install it to a USB drive.

    In uNetbootin, select ISO and find the netinst.iso file, and then make sure it gets installed to the proper USB drive.
  2. Reboot and launch the Debian installer (make sure X61s can boot from USB).
  3. Debian installer said that I needed to load additional firmware for my wireless card:
    Some of your hardware needs non-free firmware files to operate. The firmware can be loaded from removable media, such as a USB stick or floppy.

    The Missing firmware files are: iwlwifi-4965-2.ucode

    If you have such media available now, insert it, and continue.

    Load missing firmware from removable media?

    <Yes> <No>
  4. On another computer, go here (https://packages.debian.org/wheezy/firmware-iwlwifi) and download the firmware file. (Click the "all" link and it should take you to https://packages.debian.org/wheezy/all/firmware-iwlwifi/download. Then choose an ftp location and download the .deb file)
  5. Get another USB drive and put that .deb file on it.
  6. Now put that second USB drive into the X61s and hit "Yes".
  7. Continue through the installation (I tweaked my installation a little for the partitions/LVM, and had to make sure GRUB installed to /dev/sda, which was my primary hard drive.)
  8. Then reboot into Debian Wheezy!

After I got into Debian Wheezy, I followed these instructions to install metasploit: http://blog.breakinsecurity.com/installing-metasploit-on-debian-wheezy-7-x/

Some differences:
  1. When I came to the step to install ruby, I did the following command to get the latest ruby 1.9.3.

    rvm install ruby-1.9.3

  2. Then I had to do

    source ~/.rvm/scripts/rvm
  3. I also installed msf into /opt instead of /root.
Done.

Comments

Popular posts from this blog

The end of summer

It's been a wild year. Gains and losses. COVID-19 and the shelter in place. Lately, fires. Today was a very dark day, literally. For about half the daylight hours, there was so much ash in the air that it looked like it was close to sunset, but it was definitely not anywhere near as beautiful. Red sun following us everywhere. Bubonic plague found on fleas in Lake Tahoe. The list goes on and on. Everyone is tired. Exhausted. Burnt out. There is no respite, just a new normal that seems like an even steeper climb than before. Sleep gives way to another day with no refreshment. Yes, that's how things seem. But there have also been bright moments. Time spent with family, especially with the little one. Growing and nurturing plants, building things, trying new recipes, going to the store to shop for dinner, reading books, coloring with crayons... We grow closer together, weaving together a blanket of love and memories that we wrap ourselves in.

Resizing /root partition in Debian 7 (Wheezy)

I've usually been afraid to do anything drastic with the underlying filesystem because of how many times I've messed up the filesystem to begin with, and also because of how much time it takes to reinstall everything. This time, I decided that it was ok to go ahead and take a little risk here. My Linux machine is an old X61s, and its purpose is for me to experiment and learn more about Linux. I started getting a message that I was running low on space on root. Sure enough, the 300MB was all used up. I was hoping that GPartEd could help me with resizing the partitions. I couldn't see the partitions because it was all under an lvm. My plan was to shrink /opt slightly, then grow root. Thankfully, the formula isn't too bad, but there are a few steps. The first link I resorted to was this one: http://blog.shadypixel.com/how-to-shrink-an-lvm-volume-safely/. I didn't reboot to resize /opt; I just resized it after unmounting it. Unmount /opt:   # umount /dev/chrono...