Archive

Posts Tagged ‘Linux’

How to format a hard drive in Linux

December 2nd, 2008

With the release of Ubuntu Linux 8.10 many people are installing it for the first time.

Today’s question is How do I format my hard drive for linux if I already have something I don’t want on the hard drive?

At the command prompt, type “fdisk /dev/hdb” replacing the “hdb” with the letters for your drive. Upon opening, fdisk may give you a couple of warnings, all of which can be ignored. It then gives you a prompt that looks like this: Command (m for help):

Enter “p” to see the partition table of the drive. The first line of output from the “p” command will also tell you size of the drive. This is a good way to double check that you are working with the correct drive.

If there are any partitions already on the drive they will be listed as the last lines of the “p” command. On our example, this looks like “/dev/hdb1” followed by some information about the partition’s size and file system.

To delete any existing partitions, press “d” then enter. It will ask you which partition number you wish to delete. The number of the partition is the number that follows hdb, so on our example system we enter 1. If there are multiple partitions repeat the “d” command for each one. You can always view the partition table again with the “p” command.

Once you have deleted all existing partitions on the drive you are ready to make a new one. Type “n” and hit enter. Then press “p” to create a primary partition. It asks you for a partition number, enter “1.” Now you are asked which cylinder the partition should start at, the beginning of the drive is the default, so just hit Enter. Then you are asked for the last cylinder, the end of the drive is default so you can just press Enter again.

Now you are back at fdisk’s command prompt. Use the “p” command to check the partition table. You should now see your new partition at the bottom of the output. In the example it lists “/dev/hdb1.”

You now need to set the filesystem type for your new partition with the “t” command. You are asked for the Hex code of the filesystem you wish to use. We wll use the standard Linux ext2 filesystem which is “83.” If you are doing something special and know of a particular filesystem that you need to use, you can press “L” to see all the codes, which are one or two characters made up of the numbers 0-9 and the letters a-f.

Now just issue the “w” command to write your new partition table and exit fdisk.
Creating the New File System with mkfs

Now you need to create the filesystem on the drive. This is done with the “mkfs” command.

At the command prompt, enter “mkfs -t ext2 /dev/hdb1” while remembering to change the hdb1 to whatever the letters are for the partition you just created.

If you are using a different filesystem than ext2, you will have to specify that where “ext2″ is in the above command.
Finalizing the Format with fsck

All that is left is to run a check on the drive and enter it into your fstab so that the drive mounts each time you start your computer. This can be done with a single fsck command.

At the command prompt, type “fsck -f -y /dev/hdb1” again replacing hdb1 with the letters and number for your partition.

After fsck runs, your new drive is formatted. Restart your system before using it.

If you reformatted your system drive, you will now need to boot off an installation disk to install an Operating system.

Linux, Operating Systems , , , ,

Ads instead of google?

October 26th, 2008
google hijacked
kevind23 asked:



My firefox im used to httpahfkjshdfkjshdkjfhskhdfhdfkakjhaf which has been hijacked and now when type in something firefox turns it would silently query google and intelligently take me straight to very ugly advertisement for linux ubuntu 710 x86_64.


Traffic swarm really does work!

Google Search , , , , , ,

How do I install linux and get rid of windows xp?

October 24th, 2008
XP
I just got a computer from a friend that had a corrupted version of windows xp. I tried uninstalling it through the command prompts but it says it wont work. I tried installing linux but after the boot screen it comes up with all these error messages. Im not planning on partitioning my hard drives. Does anyone know if you have to uninstall windows to make linux work right?

By: philip c

About the Author:



How to make money on the webt

Operating Systems , , , , , , , , ,

Antivirus?

October 24th, 2008
antivirus
Which antivirus with active protection uses the least resources?
I need an antivirus for a pc with low specs and installing linux isn’t an option.

The computer has Win FLP on it 64 MB Ram and is used for editing in Word 2000.
So far it works great but i need an antivirus.
On my other computers i use Softwin Bitdefender because i have the license already(comes with a magazine i read monthly).
But it uses way to much memory to be usable on the legacy pc.

By: Alex V

About the Author:



ebooks

Antivirus , , , , , ,

Any way to install XP onto a flashdrive to boot just when I want to play games on my Linux laptop?

October 24th, 2008
XP
I have a laptop that runs Ubuntu, but I want to be able to boot Windows XP off a flash drive to play small games (like Halo CE). I have found several LiveXP systems for USB but they are based off BartPE and offer limited hardware support. Is there a way to boot a full Xp with drivers ff a flash drive to play games?

By: nhammake

About the Author:



start your own computer repair business

Operating Systems , , , , , , , , ,

Hoe installeert u de Nvidia bestuurders van de grafiekkaart in Ubuntu Linux terwijl aangesloten niet aan Internet?

October 21st, 2008
nvidia
Darian asked:


Kan iemand me helpen ik de bestuurder gelieve te downloaden en ik weet ik sh nvidia-X86.run in wortelterminal moet typen en het de behoefte van I zegt om xserver of iets tegen te houden x en I don' t weet het hoe te te draaien het weg kan iemand me alstublieft vertellen! Oh en ik word niet verbonden met Internet in Linux toe te schrijven aan het feit mijn modem niet in enig linux werkend systeem wordt gesteund.

News from Sequim PC

nVIDIA , , , , , ,

Linux hosting or Windows hosting for frontpage & dreamweaver?

July 13th, 2007

Mack Attack asked:


I have designed a website in both dreamweaver and frontpage. In both sites I will have forms that email the results. Should I buy Windows hosting OR Linux hosting? I have always had windows hosting in the past and was curious about Linux.

question 2: who is your favorite hosting company? I am currently looking at bluehost.com and hostmonster.com

Sequim PC News

Web Hosting , , , , , , ,

HostNed vs. HostMonster which Hosting Company is better?

March 9th, 2007

Diamond asked:


Hello,
I am looking to switch hosting companies from Homestead to either HostNed or HostMonster but having a hard time deciding which one is better. Of cource Host Monster is cheaper but I need to ask anyone who has knowledge of these Hosting Services to list your choice and why.

I am aware of the difference servers Linux or Windows but I have never used Linux before. What is better Linux or Windows and is Linux easy to use?

Thanks for all your input. And Please be honest!

Sequim PC

Web Hosting , , , , , , , , ,

Looking for a professional Linux hosting?

February 28th, 2007

MOLi asked:


I’m looking for a good and reliable Linux host. I want a professional host that can host a site with more than 50,000 page views a day. I have changed my host for 4 times but still I’m not satisfied and many times my site isn’t up…I have found some companies: 1and1.com, webhost4life.com, hostmonster.com, webhostingbuzz.com

Is there anyone who has tested of these?

Please give me help about it…It’s very important to me.

Thanks, MOLi.

start your own computer repair business

Web Hosting , , , , , , , , ,

How do you install ubuntu linux on your PC WITHOUT gettig rid of Windows Vista or XP?

May 30th, 2005
windows vista
UCLA Bruin asked:


Okay, I would like to have linux and Windows Vista both running on one machine. I DON’T want to get rid of Windows Vista, so what do I do after I download linux. I would also like to do the same with XP too.

And please NO bad mouthing about windows or windows vista. I happen to like Microsoft and Windows Vista and I DON’T want to get rid of it.

Kansieo.com

Operating Systems , , , , , , , , ,

How to dual boot windows vista and Linux, with Linux already installed?

January 14th, 2005
windows vista
Jason asked:


I have a linux box that needs to have windows vista in a dual boot situation. I cannot erase linux to put windows first so, how can I dual boot this with vista and not erase linux?

Caffeinated Content for WordPress

Operating Systems , , , , , ,