Tag Info

Hot answers tagged

49

You can use the disk utility(installed by default) to format the drive. There is an option 'format volume' select that option. . . . .


35

You can use old good Linux tool dd to do this. To do so: First open a terminal with pressing Ctrl+Alt+T. Then type sudo blkid in the terminal. Very carefully and closely examine the output. [sudo] password for anwar: /dev/sda1: UUID="63c6fb01-aac4-4d38-b29e-5a5780a98d12" TYPE="ext4" /dev/sda2: LABEL="Main" UUID="A80C1BD70C1B9F7E" TYPE="ntfs" ...


15

Gparted, that use mkfs.ext4 to create a ext4 filesystem, reserves 5% of the space for super-user, as explained in man page: -m reserved-blocks-percentage Specify the percentage of the filesystem blocks reserved for the super-user. This avoids fragmentation, and allows root-owned daemons, such as syslogd(8), to continue to function correctly ...


10

I have previously done this on Ubuntu and Mandriva. This will work and you will be able to mount your existing /home partition even if it is encrypted as long as you know the passphrase. Thing to keep in mind is to set up the mount points correctly and don't accidentally format your /home partition.


10

I've done this quite often now - almost every time I did upgrade my system or (especially) if I switched to another distro. I normally log out, go to a console and log in as root directly (or depending on system configuration, as another user and switch to root), cd to /home folder and simply change my user's home folder name e.g. to "myUserName.bak". e.g.: ...


9

You can use Avidemux to convert different formats together.Also you can have great editing features. WinFF is another option only for video conversion.As the app site says: WinFF is a GUI for the command line video converter, FFMPEG. It will convert most any video file that FFmpeg will convert. WinFF does multiple files in multiple formats at one ...


8

Depending on the size and fragmentation of the lost file it could be possible to recover it, as when a partition is formatted, a tiny fraction of the available space is actually overwritten. Use photorec and choose the same partition the file was on select File Opt and check to look for zip files (*.odt files are in fact zip files) choose Whole to analyze ...


8

Plug your hard drive. Open Disk Utility. Choose the drive. In format Type option you will have ext2 option format it. [You may need to unmount it before formatting] OR you can install gparted and format to desired partition. You need to install gparted I guess. Just do sudo apt-get install gparted. EDIT: I myself would recommend ntfs to any other ...


7

I'm not sure that automatically reformatting your Ubuntu partitions when a bad password is entered is a very viable means of protecting your data. What happens if you try to log in with Caps-Lock enabled by accident? Try something along the lines of encrypting your home partition instead. Instructions on how to encrypt your home partition after Ubuntu is ...


7

Take a look at this: Best tool to recover removed files Formatted and lost 6 years worth of photo memories.. any way to get this back? How to recover Ubuntu partition after computer failure? Where the answers of some other people under those questions may also be helpful for you. Additionally, take a look at this (quite long but it saved my life). ...


6

I'm pretty sure Windows installer has an option to delete partitions/use entire disk/something similar, though the last time I used it it was WinXP, not Win7. At any rate, it's not a problem for Ubuntu to be concerned with, it's a problem/defect of the Windows installer :) However, if you boot from Ubuntu live CD, you should be able to delete the Ubuntu ...


6

gparted, the only way to go with formatting drives and HD's etc. It's available for download in the Ubuntu Software Center, just search for gParted


6

Your hard disk has Advanced Format 4096-byte sectors to which the partition is not perfectly aligned This line explains the warning: Sector size (logical/physical): 512 bytes / 4096 bytes Your hard disk is one of the newer models which uses the Advanced Format of 4096 bytes per physical sector instead of the older 512 bytes/sector. These HDDs can still ...


6

Ext2 is definitely not the filesystem you want to put on your drive. Firstly it is a really old version of the ext filesystem. Secondly Windows wont read from it, unless you use special third party tools. FAT filesystem is the most compatible across Operating systems but for a large drive like yours I wont recommend it. From a compatibilty and filesystem ...


5

There are different ways of counting space on a filesystem ranging from bytes not in use to free clusters, etc. In the absence of better information, I'd take gparted's report as more "accurate". Filesystems require overhead for i-tables, free lists, superblocks, superblock backups, and - in ext4 - journaling. Your reported 4.86 out of 298GB is a whopping ...


5

By formatting a drive, you are essentially erasing all data boundaries ("partritions") on the drive, which in turn causes your data to no longer be usable. In all likelihood, you erased the drive's partitions (and thus its data), but did not create storage space on the drive. Open up gparted, if it doesn't exist on your system, install it with sudo apt-get ...


4

If you will be using it only on those two machines and plan to be religious about properly unmounting the drive before disconnecting the USB/powering it off, then yes, ext4 is highly recommended. ext4 will give you improved performance over ext3, particularly when trying to write multiple files at the same time or when creating a large file. The tradeoff ...


4

I would say no, simply because, for your own convenience, you may well want to use it on other machines in the future. (specifically Windows). I was in a similar position to you a couple of years back. Later, I had a requirement to install Windows 7 as a Virtual Machine and wanted to access files on the external drive. Although it was possible by ...


4

Get your Ubuntu Live CD Put it in your drive and boot up from CD Choose wipe and install Ubuntu That will format the whole hard drive and clean everything of it Then Ubuntu will install and be the only OS on your disk Follow those steps and you will be able to wipe everything and reinstall.


4

Can you try the application called "Disk Utility". Its a very handy utility which should let you format the disk, among other things. You can find it by pressing ALT + F2 and typing the name, or going (i think) System->Administration, or I guess typing the name in unity dash.


4

Using Disk Utility or Gparted, delete the partition and create a new one, format it to your choice of filesystem. Disk Utility may have a problem deleting partitions it doesn't understand which may include an encrypted partition. If Gparted also has this problem, open a terminal window and use the following command: sudo dd if=/dev/zero of=/dev/sdX bs=512 ...


3

If you want to change the time format to German , you must install the German language from the Language Support and then set the "Regional Settings" in German If you want to change the format in Date and Time , you must install dconf-tool . From terminal do sudo apt-get install dconf-tools Find it through Dash by writing dconf open it and goto Com ...


3

Partitions are nothing more than entry’s in a partition table stored on the hard drive and this table sets the boundary for the start and the end of the partition on the drive and holds some useful information about the partition including its type. File systems are a way of storing data inside the partitions in a fashion that is easy to manage and read ...


3

In Gparted, use the menu in the top-right to select your USB flash drive Unmount any mounted partitions on the flash drive Format the partions


3

DBAN http://www.dban.org/ is commonly used for that purpose, it is an iso image which you burn to a CD (or other media), boot, and write random data over the disk multiple times (depending on settings). Somewhat similar to something like dd if=/dev/urandom of=#disk path# Though I presume DBAN might have more options and a nicer interface


3

Install 'ghex' from the software center. Go to a terminal and run touch hexfile. Open ghex, then open the 'hexfile'. Press insert, then type the bytes you want. Save. You might be able to do save something like this in a file, change the varibles (as instructed), and make it executable (chmod +x filename), then run it ./filename. #!/bin/bash #(C) ...


3

After writing the digression below, it occurred to me that I should probably also mention why I wrote it. Any form of sector write or read error on a drive should be viewed as a potential warning. The drive could be failing. Certainly if a drive is reporting as many as 500 bad blocks, I would dig deeper into this before installing anything on the drive. As ...


3

Try TestDisk/PhotoRec: CTRL ALT t to open a terminal sudo apt-get install testdisk and type your normal user password sudo photorec Good luck! EDIT: take a look at https://help.ubuntu.com/community/DataRecovery too.


3

I always format my thumbdrive as FAT32 (since it's only a 4GB, as well as for the same reasons that you posted), and I install Ubuntu liveCDs on that partition. So, I would say that FAT32 would be your best bet. It's what I personally use, and I've never encountered any problems with it.


3

The guide to data recovery in Ubuntu's community documentation is an excellent resource. As it explains, you can attempt to recover partitions with parted, testdisk, or gpart. If that is not successful, you can use other methods to try to recovery individual files from the drive. These other methods are also explained in that guide. Any changes to your ...



Only top voted, non community-wiki answers of a minimum length are eligible