Hot answers tagged

33

If you can't remember the password, then that's all she wrote. All you can do is install a new OS. You don't need to enter recovery mode to do that. Just boot up the live USB and carry out the normal installation process. The hard drive will get overwritten.


5

my hard disk had around 500GB memory, not 1800GB I am not sure where you got those numbers from, but the size of your hard drive is 750 GB. what can I do to save at least the most important data (~200MB)? You probably just need to recover the partition table. Most likely, the file system is not corrupted and you only have to tell the system how to ...


5

I have Ubuntu on a USB, but when I enter recovery mode before I can reinstall Ubuntu, I obviously get asked for the password. Is there anyway around this? I think you're missing a key step - boot from the Ubuntu USB drive. As it is, it sounds like you're not booting from the Ubuntu USB at all, and only getting stuck booting from the encrypted hard drive. ...


5

The -b option is for choosing a block device like /dev/sdb1. You can find this out by typing udisksctl unlock --help for instance; replace unlock with mount, unmount and lock and you will see the -b option is used in the same way for all 4 cases.


3

The reason you cant view it is because its been allocated for swap which is a waste allocating it 500GB its good to allocate it a size equal to RAM size of your PC. Re partition that 1Tb disks 500GB extended prtition in live mode by using Gparted and allocated a memory slightly equal to your RAM size then the rest you can use it for other purposes.doing this ...


3

The udisks command line tool udisksctl is a command-line program used to interact with the udisksd(8) daemon process.The -b option denotes a block-device like /dev/sdb1


3

You are trying to resize a mounted partition which is not possible. You will have to boot from an Ubuntu Live USB to resize that partition since you cant unmount it. Follow the instructions here to make the Live USB. then boot up your laptop from this Live USB and use gparted to resize the partition.


3

When a machine goes into the suspend state the kernel freezes (stops) user space programs and kernel threads. Then the kernel will traverse all the devices and calls the suspend methods on each driver. Each driver has the know-how to put the hardware into a deep sleep state (or even power it off) (and the converse to bring it back to a sane running state ...


3

One way I found to solve this problem is to use the UUIDs, create a mount point for my USB drive and add a listing to the /etc/fstab file so the USB drive is mounted the same every time on boot up. I have a Seagate 3TB External USB, so this is what I did: First, created a mount point for the Seagate drive: Create one mount point for each partition you ...


3

On the left of the screen, near the top, there should be an icon that looks like a file cabinet. Click it. It might flash for a bit, then a window should open. Near the left of this window, there should be a "Devices" label. Under it, you should see your hard drive partitions (a partition is basically a section of your hard drive). If there's more than one, ...


2

Is it possible that shutting down and then unplugging my external hard drive could have broken a path? No. And if it did it would not kill the contents of the disk. I have noticed that Ubuntu shuts down almost instantly ... We do not probe for an update as Windows does. whereas Windows takes much longer and often pauses on closing 1 application ...


2

It may work fine and it may crash and burn. There's no real way of telling. Since the two computers are somewhat similar, you may have better luck than others, but there's still no way of knowing. The best you can do is try and see. If it boots up, that's great. If it doesn't work, your only option is really to manually transfer things over.


2

List backup superblocks: sudo dumpe2fs /dev/sda1 | grep -i backup then use backup superblock, 32768 just an example, try several sudo fsck -b 32768 /dev/sda1 One user could not get partition unmounted (may have needed swapoff), but used another live distro Only the newer fdisk in 16.04 will correctly show gpt partitions. Use parted or gdisk. sudo ...


2

Currently there's no way to securely erase files on SSD without erasing the content of the whole drive or access to the firmware of the SSD. It's impossible to know where the SSD may store previous copies of a logical block. To make matters worse, due to journalling and copy-on-write mechanisms of the file system it may be impossible to know which logical ...


2

welcome, assuming you are using a 4 gb RAM computer, you will have delete that 500GB patition indicating SWAP , the right click on the unlocated new 500Gb which will appear in grey color and allocated 4 gb as swap by selecting file system as Linux-Swap in G-Parted and click add, the remaining vlume you will create a new file system by right clicking on it ...


2

If you overwrote a partition, and now want to restore data, and can't mount the disk, you have a problem. First thing to do is not to write to that disk anymore. You can use a utility like Photorec to recover files on that disk. If the partition table is overwritten, which seems to be the case, filenames and file dates are gone. If you have a backup, use ...


2

Hopefully, the NTFS partition's list of locations on the disk where the data for each file lies is correct. The fix under that condition is fairly easy if you can copy the files to a different drive. Here's how: Remount the drive read-only The first thing to do is to stop all writing to the drive. Remount it read-only by opening a terminal (press Ctrl+Alt+...


1

You should change owners. run this command sudo chown newuser: /media/kalenpw/HDD Instead of the "newuser" put your Ubuntu user


1

Type ntfs-label /dev/sdxx and store this for future reference. Type ntfs-label /dev/sdxx <new label>. Type ntfs-label /dev/sdxx <new label> again. This should work because it overwrites both labels. If this dosen't work you may need to reformat the disk. If it has nothing on it, just run the following command: mkfs.ntfs /dev/sdxx If it ...


1

I did a Google on "WD Caviar Green 2TB disable energy saving" and found a number of hits. It probably has to do with the WD's attempt at saving energy by parking the heads, or spinning down the drive. You might look at: http://forums.whirlpool.net.au/archive/1367904 http://serverfault.com/questions/242891/disable-caviar-green-drives-spinning-down which ...


1

It is possible to reset the login password without logging in. I do not know how a password reset affects access to an encrypted drive, however. See the procedure below: http://www.psychocats.net/ubuntu/resetpassword Good luck.


1

Usually in Linux world all user's own data and configurations are placed in home directory /home/username/ For example Firefox save its profile data in /home/username/.mozilla/firefox/profilename.default So to backup or sync application data between computers you need to find where it stored in your home directory and just copy application's data ...


1

This is due to not having enough power for the usb storage device and can be fixed by providing more power either by mains or by a dual usb cable.


1

First open terminal by holding ctrl + alt then click t. With Terminal open you are ready to begin. Next, you will want to list your drives. You have a few options. I like fdisk but you could also run lsblk as it may be easier for you. You can skip down to lsblk as I explain this below too. fdisk fdisk -l This will output a bunch of details about your ...


1

All you should need to do is install a 32-bit version of Ubuntu to the SSD using your other computer; after that, once the drive is transferred to the neighbor's laptop, chances are good it will detect and adjust to the new hardware without problems. Connect the SSD to your computer via USB cable, then boot your computer into a 32-bit live Ubuntu DVD or USB ...


1

In your situation there is two ways to recover your files if they still exist, First from ubuntu: you need to open ubuntu than open the terminal and run this script. sudo fdisk -l (it will list all the partitions on your hard disk) sudo mount /dev/sda(partition number) /mnt (where you will find your files) if you want to unmount the partition simply ...


1

you can mount the partitions and get your data simply by typing : sudo fdisk -l (it will list all the partitions on your hard disk) sudo mount /dev/sda(disk number) /mnt(where you will find all your data) you can create different directorys if you have many partitions for exp: mkdir ~/sda(partition number) then you type : sudo mount /dev/sda(...


1

To activate the snapshots, try adding "-K/--ignoreactivationskip" Someone decided the default for snapshots on thin volumes is for setactivationskip to be 'yes'. You can disable the skipping permanently by running "lvchange --setactivationskip n" on each new snapshot.


1

I encountered this issue when I tried upgrading 15.10 to 16.04 and I fixed using below steps. Boot in command line by pressing E when highlight the first entry to edit it. Cursor to the end of the linux line. Remove quiet splash vt.handoff=7 and add single. Press Ctrl+X to boot. Run screen (in order to get more than one prompt). Press Ctrl+A and then C to ...


1

I'm having the same issue. Is (was?) bcache in writeback mode? In writeback mode, bcache keeps a buffer of so-called dirty data on the cache. By default, this is 10% of the cache size. It does this to collect sequential data to write to the backing device, since HDDs are good at sequential IO (see koverstreet's post from May 15, 2012 3:43 UTC at this link). ...



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