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.
Wednesday, August 13, 2008
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)