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 recently bought a WD external hard drive for storing file of several types. Using gparted I made two partitions, one ntfs for windows files and an ext 4 for linux files. Strangely, I have complete access to ntfs partition from linux side of duel boot system, but do not have permission to access ext4 partition. My root password does not work when I use su to gain root access. It works fine on built in hard drive.
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
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.
Hi all. My first time post and very new to linux.
I am using linux Mint Debian version.
My goal is to auto mount 2 external harddrives (Each hard drive is 2TB) attached to the 2 usb ports on my asus wireless router model rt-n56r.
I have succeeded in auto mounting my first drive HDD1 by configuring fstab file:
//192.168.1.1/HDD1 /media/public cifs username=**,password=**,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
At boot this partition is mounted without issue.
In attempting to mount the second hard drive HDD2 I added another entry in fstab as follows:
//192.168.1.1/HDD2 /media/public cifs username=**,password=**,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
It appears that both HDD1 and HDD2 mount however, when entering the partition only files and directories of the second hard drive appear.
So I changed the mount point in the second hard drive to reflect /media1/public1 and after the configuration neither hard drive appears to have mounted.
I tried using UUID instead of path to partition but cannot get even 1 attached hard drive to mount.
I appreciate in advance the help and assistance to my query.
Hi All;
Can someone give me some guidance on partitioning a 4TB drive into one partition ?
My goal is to align the partition for best performance. I searched the net for advice and I've found a lot of information on it but am still confused.
After setting the label to gpt,
I tried mkpart primary 0% 100%
and I get the warning that the partition isn't aligned
then I tried mkpart primary 1 -1 (which I really hoped would get me completed)
and when I do an align-check on partition 1, it reports 1 aligned
but then when I do an fdisk -l,
I get the warning that partition 1 does not start on a physical sector boundary
I read that sector size is usually 512 bytes but on some (or perhaps all) larger disks, the sector size is 4096.
I am really not knowledgable in this area and not sure if the above message about partition 1 not starting on a physical sector boundary is important or what impact this will have to my performance. Since these 4tb drives are being used in a media server, I'd like them to be as fast and efficient as possible.
Can you offer some guidance or perhaps some commands on how to partition my (full) 4tb drive into one partition so it is aligned and also so the partition table starts on a physical sector boundary ?
Also, is there a Ubuntu utility to display the sector size of a disk?
I have been researching this issue off and on for a few weeks and would like to finally get this partitioning completed this weekend so I can get on with setting up my system.
Thanks.
Tim
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
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.
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.
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
Hi, yesterday I decided to install Deepin in a dual boot. I later decided I no longer needed/wanted it so I deleted the partition. Apparently I had grub on that partition as well, and now my laptop only goes to grub rescue and will not boot.
I have an acer aspire v5 touch. Removing the hard drive is not an option. I have tried to access UEFI but my computer just beeps and goes to grub rescue. I have grub rescue disk on a flash drive, I used unetbootin to do that, but iI cannot get to any boot menu (f12), and when I use ls (hd0)/ I get a unknown file system error. Please help, and sorry for my grammar/formatting, I'm on mobile.
Tl;dr: Deleted partition containing grub and deepin, now can only get to grub rescue, and I keep getting an unknown file system error, please help.