Posts Tagged ‘File’

Introduction to the BASH Shell (Linux Terminal) & File Manipulation Commands

Sunday, December 18th, 2011


Check out Waqars DuncsWeb Linux Posts: bit.ly – Here I show you a brief introduction to the linux terminal and a few commands you can use to get help :-) check out the full list of commands: http://

?can’t find a reiserfs file system? Linux Error

Thursday, November 25th, 2010

Converting Linux File System from Ext3 to Ext4

Sunday, November 21st, 2010

Booting Linux From A Flash Drive For File Recovery

Saturday, October 23rd, 2010

We are here? to talk about some interesting things that can be technology? to? do with a USB flash drive. Today’s topic be? focuses on the Linux operating system boot from a USB memory. The goal to boot Linux from a USB drive, at least prop? Site of this guide? To? to recover files from a broken install the Windows operating system or any other OS for that matter. Tambi?, You can run virus distribution? N Linux safely without infecting other computer or having to boot the infected PC.

? Qu? necessary:

* A USB flash drive anywhere from 512 MB to 2 GB (depending on the distro) * A motherboard can boot from a USB device. * And about 15 minutes m? S? Download time.

Software:

* La? Last version? N Stable UNetbootin

Step 1: Prepare the unit? USB

Once you have all the supplies to pull together and connect the USB drive and backup all files stored on your disk.

Step 2: Install the USB port

UNetbootin implementation and select the following:

1. Use the first button? N “implement.” This download? and the installer? autom? cally, the distribution? n you want. 2. Choose SystemRescueCd. We’re going with this because? ? F? Easy NTFS file system driver to avoid mixing of customization? No additional? required. 3. A continuation? N, select your flash drive. NOTE: coldness, select the unit? flash and not participate? No Windows or participation? No primary, because if it does, then destroy? currently installed operating system. 4. By? Finally, click “OK.”

UNetbootin to select the options shown in the image source located at the link at the bottom of this article? Ass.

Step 3: Configuration? No BIOS

We will have to configure the unit from USB memory. To this end, the mother will have? the first tab? support this functionality? and the second be? to do some “config? n.

1. Restart the computer and press “F2? O”, depending on the motherboard to enter the BIOS configuration? N. 2. Look for the section? N called the boot sequence, or denomination? N the same way. This sometimes stored in a section? n separately as Advanced BIOS Features, or the like. 3. Move strange USB ble or the top of the list. If you do not see these options in the list, m? s likely your motherboard does not support USB boot. check Google for m? s information? No respect. 4. Restart your computer with the drive plugged in

Step 4: From Linux

Let’s start with the l? Command line of this guide? A. There are options to load an interface gr? Chart for those who tremble at the CLI. I have to warm even though the S-command line? much more? s? r? request and f? cyl.

1. Once the team enters the post can? S see the bootloader screen. Go to “VMLinuz64″ and press enter.

Next? S of a series of goods and m? S likely in the display, not red? system “root @ ra? sysresccd z /%.” This show? To? Success.

Step 5: Copying files from a partition? No Windows on an external hard drive.

To do this, you will need? outside help to move files that are ready to receive data. ? Tambi? N can use the USB stick? was started of course, if c ‘? enough space in it.

1. First you? need to identify our unity?. Suppose you have two storage devices connected in a single flash unit and the other windows on the hard disk. Run the following command:

fdisk-l | less

This command will show? all storage devices in the system. Use the arrow up and down? to navigate through the exit as you can? be m? s? much of the screen. My output from this command? as follows:

Disk / dev / sda: 160. 0 GB, 160 billion bytes

255 heads, 63 sectors / track, 19452 cylinders

Unity? = Cylinders of 16065 * 512 = 8225280 bytes

Disk ID: 0xd0f4738c

Device Boot Start End Blocks Id System

/ Dev/sda1 * 1 19451 156240126 7 HPFS / NTFS

Disk / dev / sdb: 2085 MB, 2085617.664000 bytes

2 heads, 63 sectors / track, 32329 cylinders

Unity? = Cylinders of 126 * 512 = 64,512 bytes

Disk ID: 0×00502bcd

Device Boot Start End Blocks Id System

/ Dev/sdb1 * 1 32330 2036720 6 FAT16

The device? 160 GB participate? N NTFS. Know the two bits of information? No you can? have a hip? thesis and say / dev / sda? our Windows devices.

NOTE: To exit this screen, press “q”.

2. Windows install disc so you can access the files in? L. Run the mount command to continuation? N:

mount / dev / sda / mnt / windows

NOTE:? need to replace “/ dev / sda” with the device in the output of fdisk-l. E ‘probable? which are the same.

3. Let’s see if we put the device right now. Run:

ls / mnt / windows

This command lists? files and folders in a directory. If you see the tell tale Program Files directory and Windows? installed correctly.

4. Out for our backup device. Plug it in and wait a few seconds and then run the fdisk command again:

fdisk-l

or

cat / proc / partitions

You should see the two devices you have seen? Last time and now duty? be the new?. Match the size or your device and enter the location? N of the m? S probably / dev / sdc.

Connect this device to the backup folder pre-made with the mount command again:

mount / dev / sdb / mnt / backup

5. Now? time to copy things from the old disk to disk backup for Windows.

To copy the entire disk to disk backup for Windows to run the following command:

cp-R / mnt / windows / / * / mnt backup / YOUR_FOLDER_NAME

If you think of a single copy of the file type the full path and continuation? No full destination path.

Learn m? S control? ? Useful:

* Sometimes, a virus has infected the first bit of c? Say your system is running in the MBR (Master Boot Record). Fortunately, we can clean it with relative ease? in linux. Run:

dd if=/dev/zero of=/dev/sdb bs=512 count=1

Remember to replace “/ dev / sdb” with the device and clean, because if you miss the evil that you may have some problems.

* Maybe you do not have an external device to do things, but have another computer with a network share. Well we’re going to mount a network share to copy files? L. Create a mount point:

mkdir / mnt / network

Place components:

mount-t smbfs / / computername / folder / mnt / network name-o = user1, password? a = mypasshere

Now? can copy and move files on the network share as any other directory.

To mount a share without using password? As:

mount-t smbfs / / computername / folder / mnt / network

To pr? Maximum.

Read / subscr? Bete my blog

Explaining file system

Monday, May 3rd, 2010

Linux Commands

Image taken on 2008-12-13 13:59:54 by linux_fan.

How To Save File To Desktop Using Linux Commands.?

Monday, December 28th, 2009

I am a beginner to Linux commands. I use SSH to connect to a Linux server. What command can I use to save a text file on the server to my desktop? Example?