I started an install of Gentoo Linux this morning on a desktop at my house so I could test some browser stuff that purehate was seeing via his Gentoo laptop. I don’t think I have ever installed Gentoo but its possible a couple years back I installed it in the same scenario. Anyway I decided to download the x86 minimal install CD for the installation. After it was burned to CD I booted my desktop up and started the install. Once it was booted I configured the network interface, which in this case was eth0, and was able to test without issue to the Internet using ping. I proceeded with the installation including writing the partition table, creating the file system, and mounting my drives. The next step involved using links to open a gentoo.org URL to select a mirror and to my surprise it failed. Below I go into detail about the problem I ran into and the steps I took to resolve the issue.
When attempting to mount an external USB hard drive formatted with NTFS to a WRT600N Linksys router running dd-wrt you might receive a set of errors similar to the below.
Errors from DMESG:
SQUASHFS error: Can’t find a SQUASHFS superblock on sd(8,1)
FAT: Did not find valid FSINFO signature.
Found signature1 0x4e0005 signature2 0xd6e80000 sector=1.
Recently I had a hard drive crash that was in a Windows XP laptop. The drive would not mount under Windows however I was able to eventually mount it under Linux and rescue some of the data. In this article I will describe how to verify the USB hard drive enclosure is seen on a CentOS Linux computer and verify that Linux is able to see the USB device and the drive.
First you will want to remove the hard drive from your Windows XP computer and physically mount it into the USB hard drive enclosure. This will involve connecting it inside (IDE or SATA) and then plugging the USB cable or cables into the CentOS server. Since the hard drive is damaged its hard to know if its not reading it or if you have something misconfigured, a loose cable, etc. Below are a couple tips to make sure that the hard drive is being recognized via the USB connection.
Follow the below directions to turn off selinux on a CentOS server. SeLinux can cause many issues and if your server is behind a properly configured firewall as well as the systems administrator only opens necessary ports that are configured properly your risks should be minimal.
- Modify selinux Configuration:Modify the selinux config file by issuing the command below and changing the SELINUX option to disabled as shown below.
- [root@server ~]#vi /etc/selinux/config