How can I make this Data partition be readable and writeable? I tried the "chmod 777" command, but was unsure of what directory to type in . I tried several but the command wouldn't start. This partition is on the second hardrive. I am just trying to get more storage on the second hard drive, so I hope I partitioned correctly. The drive was originally mounted as usr, but I managed to shrink that and make a new partition named Data.
Booted my computer with 2 USB flash drives inserted. One of the drives turned out to be an MS-DOS boot drive. The PC booted in DOS and wiped out the partition table of the other flash drive with my data on it. This second (64Gb) drive had a single 64Gb type 83 (Linux) primary partition (ext4 file system).
Is there a way to recover the data that's on the second stick?
I've been told that all I have to do is repartition it exactly as it was and my data will be there. But I'd like to have advice from the pros here before I start messing with it.
For the time being, I dd-ed the entire stick, as is, onto a blank partition of my hard disk (dd if=/dev/sdb of=/dev/sda14). The process completed without errors but /dev/sda14 is unmountable for the moment.
Thanks for any help.
How do I convert a single hard drive to GPT without losing data and without re-installing.
Current systems
Windows 7 Partition /dev/sda1 (Primary)
xubuntu 14.10 /dev/sda5 (Logical) (maybe upgraded to 15.04 when released)
Swap /dev/sda6 (Logical)
I read some guides they were not clear. They also said it is better to do a clean install of each system. None of the guides give a step by step, they always leave something out.
I am not turning on secure boot but I am turning on uefi.
I have a Mini-partition wizard boot cd that can help out but wouldn't covert a system partition.
I have a way to make an iso for xubuntu 14.10
When do you turn on UEFI in the bios before or after converting drive?
Mod, please move to correct forum if needed
i bought new 320gb hard drive
and using windows i partitioned it into two
my problem now i cant mount the hard drive
and i cant find the other partition
plz help me the proper way to install
thanks so much
Hello!
TL;DR: Deleted Linux partition from Windows. Stuck at Grub rescue prompt.
I'm sorry to trouble you guys, because I'm an idiot.
So I'm wanting to dual-boot Kalilinux and Windows 8.
I went through the steps such as creating a bootable USB, changing the
boot order and so on. I get into Kali, start Gparted and try to partition stuff.
I'm far from an expert, so I wasn't sure what to do. Long-story short, I
didn't seem to get Kali installed correctly, due to something with an EFI
drive being required. So I boot into windows and then stupidly, because it said in the guide,try to "uninstall" Kali by removing it's partition, inside Win8 haha... So I did.
Now I simply get the Grub rescue command prompt when I boot from the same
USB and I have no idea how to fix it. I've run bootrec.exe/fixmbr in Windows haha,
for what it's worth. However Grub can't find any partition it says.
In windows, I have like... 2-3 Recovery partitions. Does anyone know how to remove
them??? I've tried to clear as much as I can, besides the C drive and Auxillary D drive.
Any advice would be very appreciated.
Hi folks,
as my title says, i need to protect an ext3 partition in my external 500GB toshiba usb hard diks. it is a 250gb Partition. so if i try to open the partition on any linux or windows system (using a utility), it should ask for a password to open the partition. pls advise.
I've long wanted to delve into these methods of HD manipulation but here's the thing: I only have 1 hard drive -- a 1TB, and the more I read the more it seems the main point of using these techniques is to utilize that extra layer of abstraction to bridge HDD's in some version of a RAID setup.
Of course I've also read the performance is better, along with snapshot capability, on-the-fly partition resizing, striping, etc. These prospects excite me. So finally, two questions:
1) With just one physical drive, is it worth creating a new partition table to include these technologies?
2) With all of the above methods, there is no way I can keep the data on any part of this PV if I want to venture into LVM, ZFS or Btrfs, correct?
p.s. I've got 12 partitions (one swap, one extended, one very large one logical partition that serves the 9 linux distros which fill the remaining partitions as a hold of media, documents, music, etc.
Hi all,
As you can probably tell I am new to Linux and new to the forum, I am using Kali and Mint both as live Linux environments on USB drives, all is good and I am finding my way around, the reason for the post is that I need to copy 15 CF cards that have multiple partitions, Windows isn't really an option as it can only see one partition on a removable drive, so here goes with Linux.
The CF cards contain Windows Embedded XP in one partition and a separate partition for user data which isn't protected, not that the contents matter, only the fact that it is bootable with multiple partitions, the object is to upgrade the old 2gb cards to 4gb cards to add an additional program on the embedded drive, but they are both full.
as long as I can copy both partitions over the partition size doesn't matter as I can resize that if necessary, but I need both partitions to copy over to the new drive.
I have read that dd command is the way to go but cant find much on multiple partitions which display in Linux as two drives, so how do I go about this, any pointers
Ideally I would like to automate the process as this is something that we could end up doing on a regular basis, I have seen a USB drive that was plugged into a PC and through a basic GUI allowed you to copy a HDD but I don't know If that would do both partitions, something for the future?
Dear Linux magicians
When I tried to partition my hard drive for installing Debian Wheezy, I get the error:
For unknown reason it is not possible to change the size of my partition. Check /var/log/syslog or look at he fourth virtual console (VT4)
Obviously I have no idea what this all means, clearly I'am a beginner. Excuse me for my bad English, I'm not a native or regular speaker. I have to install Debian for school...
Kind regards
ITstudent
My attempts to back-up to an external hard disk finally met with apparent success but I cannot now mount the target drive.
To summarize:-
1. Installing a SATA hard disk, identical to my computer's main drive, in a USB 2.0 caddy and attaching this to the computer resulted in qualified recognition. 'fdisk' 'saw' both the main drive, as sda, and the USB drive, as sdb, respectively but initially noted that the latter, “... doesn't contain a valid partition table.” This was hardly surprising. At the point of first connection the external drive was essentially a 'bare metal' device, having had its data wiped. Nevertheless, 'fdisk' correctly reported its size, number of heads and cylinders, etc.
2. 'dmesg' also correctly identified the external disk as sdb, reporting its type and the USB port to which it is connected.
3. 'df' ignores the second hard drive, reporting only the main disk.
4. Attempts to clone/back-up the main disk to the external disk using the recommended tools EaseUS Todo back-up and RedoBackup, booting respectively from appropriate USB memory sticks, both failed. Neither utility was prepared to write to the external disk. EaseUS acknowledged the latter but crashed the whole computer when instructed to perform the clone. RedoBackup failed to recognize the external disk.
5. Then came the break-through. A bit more Net browsing led me to try the command 'dd if=/dev/sda of=/dev/sdb'. The main disk was bit-copied (cloned) to the external disk at roughly 20Gb per hour, meaning that my 80Gb disk was copied in just under 4 hours. Checking 'dd's resulting report showed what appeared to be a perfect copy.
So far, so good. I now have a back-up which, being identical to the main disk, should, I assume, be bootable. In the event of trouble with the main disk I should be able simply to exchange it for the external disk and carry on from the point at which I made my last back-up. I cannot, however, access and read the external disk. I assume that it must have a partition table and be mounted. The first requirement appears to have been resolved by the cloning operation. 'fdisk' reports no trouble with the partition table on the cloned external disk. It lists /dev/sb1 as the bootable Linux partition, /dev/sdb2 as the Extended partition and /dev/sdb5 as the Linux swap / Solaris partition, exactly mirroring the corresponding entries for the main, sda, drive.
My attempts to mount the external disk have all failed, however. I clearly do not understand the syntax of the mount command or have failed to meet some other requirement. 'mount' objected without hesitation to my early mistakes but “mount -t dev/sdb” was instantly accepted. No error messages or other output resulted and the command prompt was immediately redisplayed but 'mount' then failed to show that the external drive had been mounted. If I try something like 'mount -t /dev/sdb1 /mnt/xdisk', where xdisk is a directory I have been told to create, then I am presented with a prolix description of 'mount's syntax, most of which leaves me bewildered. 'mount' then once again confirms that sdb1 does not feature in the list of mounted devices.
Can someone offer any suggestions? I have read one or two of the other posts on this topic but none of the details match my problem too well and I did not understand some of the replies. If I try to add a line to /etc/fstab, for example, I find that I do not have a directory called 'fstab', only 'fstab.d' and that is empty.
I have roughly one year's experience with Linux Mint 13 which I chose because it so closely resembled Windows XP.
I created a persistent USB thumb drive boot with LUKS for drive encryption (250 MB /boot and then 7.5 GB ext3 root). There's no swap partition because this is just to store some private files.
I want to make two or three copies of this thumb drive to store apart in case one gets destroyed/lost.
When I am booted from that thumb drive, can I plug in a same sized drive and just do a
Code:
dd if=/dev/sdb of=/dev/sdc
command to make a copy of itself to another thumb drive without booting to another host OS? This way when I make changes to one (such as to update the OS, apps, or data), I could then just copy the entire thumb drive over to the other two while still booted in the original USB.
Or would I effectively have to shut down, boot to my normal host OS (or other), and then copy the thumb drives when not booted into them.