- Turn off Device
- Slide the HOLD switch to the hold position (Red visible)
- Hold down the Record button on the side of the device then press the power button
- It will say "Recovery Mode, Attache USB cable"
- Attach the USB cable
- When Windows creates a drive letter, open it
- Right click in the window, select NEW >> Text File
- Rename the Text file "sansa.fmt", do not put any data in the file
- Unplug the Sansa Player from the USB cable
- It will format
- Resync your music.
Monday, July 27, 2009
Sandisk Sansa E200 series Factory Format
This will delete all media and mods from the device and return it to factory defaults.
Tuesday, April 14, 2009
Windows 7 & TrueCrypt Full disk Encryption
Currently installing FDE using TrueCrypt is not possible on Windows 7 without doing some trickery before you install the OS on your drive.
- Start the installation like normal
- Make sure you customize your install, don't just let it do everything for you.
- When it gets to the part where you choose your disk, click the "advanced" disk setup.
- Delete all your partitions.
- Click "New...", choose the maximum size possible for your drive. Click OK
- It will tell you that "Windows may create a partition..." blah blah. Click OK. You'll see a 200 MB partition in addition to another partition with the rest of your space.
- Now delete the larger partition leaving the 200MB partition intact.
- Now select the 200MB partition and expand it to fill the space. Click OK to the warning.
- Now you should have a single partition, go ahead and install windows the rest of the way.
- Encrypt your drive as normal.
Monday, April 13, 2009
Windows File Shares over SSH
Create a Microsoft Loopback adapter:
- Add New Hardware
- Yes, I have already connected the hardware
- Add New Hardware
- Install the hardware that I manually Select from a list (Advanced)
- Network Adapters
- Microsoft | Microsoft Loopback Adapter
- Right Click => Properties
- Make sure "Client for Microsoft Windows" is checked
- Uncheck "File and printer sharing"
- Click TCP/IP => Properties
- Manually Set an IP, doesn't matter what I used 10.1.1.1
- Subnet Mask: 255.255.255.0
- Gateway is your "REAL" gateway
- DNS Servers are your "REAL" dns servers
- Click "Advanced"
- Click "WINS" Tab
- "Netbios Setting" should have "Disable NetBIOS over TCP/IP"
- OK your way back out.
- Open Putty
- Enter your hostname or IP Address
- Enter the correct SSH Port (default: 22)
- Open Connection >> SSH >> Tunnels
- In Source port type: "10.1.1.1:139"
- In destination type "127.0.0.1:139"
- Leave "Local" and "Auto" radio buttons alone, click "ADD"
- In Source port type: "10.1.1.1:445"
- In Destination type: "127.0.0.1:139"
- Leave "Local" and "Auto" radio buttons alone, click "ADD"
- Click On "Session"
- In "Saved Sessions", type in a name and hit "Save"
- Double-click your session
- Accept the SSH Fingerprint, if requested
- Type in yoru username and password
- Open My computer, type "\\10.1.1.1" in the address box
- You should have your shares.
Monday, January 12, 2009
Windows 7 & Adobe Premier Elements 4
Yes I installed Windows 7 and for the most part I really like it. The only problems I've been having are the occasional issue with installing some applications that do a OS version check before allowing the install to go through.
One such application is "Adobe Premiere Elements 4.0" which I bought for my Windows XP system that I just blew away in favor of Windows 7. Installing it proved to be a bit of a challenge, only because I'm used to things just working with XP.
The solution is not to use Adobe's autorun installer, rather to explore the disk and run the .msi installer version instead. That seems to bypass the stupid version checker that Adobe built in.
So there you go, hopefully someone out there will find this useful.
One such application is "Adobe Premiere Elements 4.0" which I bought for my Windows XP system that I just blew away in favor of Windows 7. Installing it proved to be a bit of a challenge, only because I'm used to things just working with XP.
The solution is not to use Adobe's autorun installer, rather to explore the disk and run the .msi installer version instead. That seems to bypass the stupid version checker that Adobe built in.
So there you go, hopefully someone out there will find this useful.
Wednesday, August 13, 2008
Space Siege and GameStop and Rear Enders, OH MY!
I've never ranted on a blog before but today I've just had enough. First off let's start with GameStop.
I went to the Gamestop here in Newington, CT and asked for Space Siege. The sales guy behind the counter told me that they were sold out. I said, Wow, must be a great game. He said they only got one copy, *ONE COPY*. Now Newington is not a small city and it's right outside Hartford, CT and with all the hype, the advertising and big studios behind the game Gamestop decided to get, one freakin' copy of the game.
He did call ahead two two other stores and only one of the stores had their *ONE* copy in stock. The employee told him to hold it while I drove there. Fine, I want to get ti bad enough that I will drive to another store.
So, I'm in my car driving to the Westfarms mall and I come to a stop light on the main road to get onto highway 9 and...*WHAM!* I get rear ended. I'm thinking, you've got to be fucking kidding me... We called out insurance companies to get that straightened out and 45 minutes later, I'm back on the road to the store; now it's becoming a god damn mission at this point.
I'm not seriously hurt, by the way, thanks for asking.
Anyway, I get to the store and buy the game, no story there...thank god.
Now I get home, install my latest graphics drivers and then go to install the game. You know what I get? A FUCKING CRC ERROR ON THE DISC! Yep, the disc is damaged and will not install.
Now since Gamestop, in it's infinate wisdom, decided to only stock ONE FUCKING COPY OF A NEWLY RELEASED GAME there is no way I can exchange it for another copy.
So now, I'm now downloading it off bittorrent, at least I have something to do while my bruises heal from my car accident.
...
Damn it.
I went to the Gamestop here in Newington, CT and asked for Space Siege. The sales guy behind the counter told me that they were sold out. I said, Wow, must be a great game. He said they only got one copy, *ONE COPY*. Now Newington is not a small city and it's right outside Hartford, CT and with all the hype, the advertising and big studios behind the game Gamestop decided to get, one freakin' copy of the game.
He did call ahead two two other stores and only one of the stores had their *ONE* copy in stock. The employee told him to hold it while I drove there. Fine, I want to get ti bad enough that I will drive to another store.
So, I'm in my car driving to the Westfarms mall and I come to a stop light on the main road to get onto highway 9 and...*WHAM!* I get rear ended. I'm thinking, you've got to be fucking kidding me... We called out insurance companies to get that straightened out and 45 minutes later, I'm back on the road to the store; now it's becoming a god damn mission at this point.
I'm not seriously hurt, by the way, thanks for asking.
Anyway, I get to the store and buy the game, no story there...thank god.
Now I get home, install my latest graphics drivers and then go to install the game. You know what I get? A FUCKING CRC ERROR ON THE DISC! Yep, the disc is damaged and will not install.
Now since Gamestop, in it's infinate wisdom, decided to only stock ONE FUCKING COPY OF A NEWLY RELEASED GAME there is no way I can exchange it for another copy.
So now, I'm now downloading it off bittorrent, at least I have something to do while my bruises heal from my car accident.
...
Damn it.
Wednesday, April 23, 2008
Bringing Up a Network Interface Without DHCP or an IP Address
This is a useful thing to know if you want to bring up a network interface without using DHCP or assigning it an IP address. This would mostly be used for things like a SNORT server where one interface is just listening in promisc mode and doing nothing else.
I'm using Ubuntu Server 7.10 for this, it may be different for other distributions:
Add this to your /etc/network/interfaces file:
Then test your changes by typing:
I'm using Ubuntu Server 7.10 for this, it may be different for other distributions:
Add this to your /etc/network/interfaces file:
iface eth1 inet manual
pre-up ifconfig $IFACE up
post-down ifconfig $IFACE down
Then test your changes by typing:
ifup eth1Your interface should come up without the overhead of DHCP or putting a fake IP.
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00
inet addr:XXX.XXX.XXX.XXX Bcast:XXX.XXX.XXX.XXX Mask:255.255.255.192
inet6 addr: fe80::XXX:a0ff:XXX:bf85/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16061154 errors:0 dropped:0 overruns:0 frame:0
TX packets:18718055 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1044924142 (996.5 MB) TX bytes:361626953 (344.8 MB)
Interrupt:16
eth1 Link encap:Ethernet HWaddr 00:00:00:00:00
inet6 addr: fe80::21b:21ff:fe08:xxxx/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:641984551 errors:358 dropped:30480447 overruns:0 frame:181
TX packets:86416 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2577620812 (2.4 GB) TX bytes:21151016 (20.1 MB)
Base address:0xdcc0 Memory:df8c0000-df8e0000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7923 errors:0 dropped:0 overruns:0 frame:0
TX packets:7923 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:730857 (713.7 KB) TX bytes:730857 (713.7 KB)
Tuesday, February 12, 2008
Copy One Hard Disk to Another with Ubuntu 6.06 LTS
- With the machine off plug your target hard drive into a second channel on your computer.
- Boot the machine, when you see the grub start menu hit ESC
- Choose "Recovery Mode"
- When it prompts, enter your root password
- If you have IDE hard drives your drives will be /dev/hda for the source drive and /dev/hdb for the target. If they are SATA then they will be /dev/sda and /dev/sdb
- Type fdisk /dev/sda
- Type "p" to print a list of the partitions. Write these down, trust me it will make things easier in the future.
- quit out of fdisk with a CTRL+C
- Start FDISK again with /dev/sdb
- Press "n" to start a new patition segment
- Fill in the parameters you wrote down
- Try to duplicate the partition tables the best you can, here's the time to make the partition layout larger if you wish.
- Once you are done, type "w" to write the partition info to the disk
- Now you can copy the data over to the target disk
- mkdir /new in the root of the source disk
- mount /dev/sdb1 /new
- I have var on a separate partition on my system so I'm going to exclude it for this step and handle it later. However we still need to create a var mount point in what will be /
- mkdir /new/var
- mkdir /new/var/run
- mkdir /new/var/lock
- Now we do the copy:
- cd into /
- You will get error messages saying that the size has changed during copying, this is normal.
- Once it's done copying, we will do the same for the var partition.
- umount /new
- mount /dev/sdb3 /new
- cd into /var
- That copy should be pretty quick, we are done with the copy process.
- umount /new
- poweroff the system
- Next we need to reinstall grub on the new hard drive
- Remove the source disk from the system
- Power on the system, insert the ubuntu 6.06 installation CD and boot from it
- Select the "Rescue a broken system" option.
- This will look like it's installing the system again, just select all the appropriate options, enough to get you to the recovery screen.
- At one point it will ask which partition you want to be your root file system, 99% of the time this is part1, select it.
- It will then ask you what you want to do, select "re-install grub boot loader"
- It will give big long thing to read asking you where do you want to install the boot loader; we want it on /dev/sda, so we type that in and hit enter.
- It should install the boot loader, reboot the system and take the installer disc out of the drive.
- Done, you should have a fully working system on a new drive.
Labels:
Broken system,
Clone,
GRUB,
Hard Disk Drive,
Linux,
Ubuntu 6.06 LTS
Subscribe to:
Posts (Atom)