Ubuntu :: Test Disk - With Extended Partitions ?
Jul 16, 2010
Something bad happened to my partition table, so right now I'm working from a Live CD. My partition table is completely screwed, although the data on the lost partitions hasn't been overwritten. I've been messing around with TestDisk for about an hour, but I still didn't figure out how to fix my problem.
Before the crash, I had 5 partitions:
And here comes the extended partition:
TestDisk can see all those five partitions. I can mark swap as Logical, but I can't do so with the 400GB NTFS partition - there is just no selection. Turning on "expert mode" didn't help. I have read about using sfdisk to fix partition table, but I don't think I'm able to do it by myself.
Here's how it looks in TestDisk:
Code:
And, here is my slightly modified sfdisk table dump:
Code:
I've filled sizes according to TestDisk's findings. First 3 partitions were OK, the problem lies in the extended partition holding 2 logical ones.
View 1 Replies
ADVERTISEMENT
Jan 29, 2011
I have 2 hdd
lvm was created in 2nd partition type primary.
yesterday i had deleted all partitions in the first drive of windows only from ubuntu disk utility. today i went to install windows and the partition space was shown as [139gb] , i thought this is the first hard disk. But my guess is windows must have taken the free space on my home partition inside lvm[ 150gb which roughly translates to 139 GiB.
SO first i deleted the whole partition of 139gb which was shown different in unallocated space as a slight less figure and then i created a 30gb partition on that space shown and went ahead, windows post creation again showed 139gb and then gave a message on next window that partition does not contain data to install windows xp. Strange i thought, this becoz next screen before the format partition as ntfs is all to be shown. Then i just felt something fishy and rebooted and then ubuntu of 2nd hdd is not booting.
I ran test disk from gparted live cd and i find td recovered the boot drive but not the 2nd primary partition in which lvm [root,home,swap] is created. It shows the lvm as 279gb. But not the 3 logical partitions inside it.
Now when i boot post the grub menu i get the following message
This disk contains all my data and the first drive was also wiped out full. test disk is not able to get anything on that windows drive.........
View 1 Replies
View Related
Nov 20, 2010
I have the following disk partitions from the left side of partition table as of now:
NTFS - Primary windows vista
Extended - 3 Nos. all NTFS - middle one contains data
Unallocated space
NTFS - Primary
NTFS - Primary HP Recovery
My intention is to add unallocated space to the extended partition. Will I be able to use Gparted to do it?
Or can I install Ubuntu in one of the extended partitions and make this unallocated partition the home partition for Ubuntu. I am not able to add new partition in this unallocated space as disk manager in vista throws up an error no free disk space to complete the operation. I read in some forum that OEM installations allow only 3 primary partitions and one extended or 4 primary ones. Is it true for OEM's only or its a universal rule?
View 2 Replies
View Related
May 28, 2011
I'd like to create a swap partition having already reached the four partitions per disk limit. So I'd like to create an extended partition and move some partitions into it. The question is which partitions to move and where to create the extended partition.
Some partitions have so much data that I cannot back them up, so I'd prefer to avoid performing operations that might risk them.
By the way, is there a command line tool that provides equivalent output as gparted?
View 2 Replies
View Related
Jun 27, 2011
What are the advantages (or disadvantages) in partitioning a disc into 4 Primary partitions versus 1 Primary & 3 Extended Partitions?
View 4 Replies
View Related
Jul 12, 2010
I'm setting up my laptop to dual boot (default Vista installation and Ubuntu). There's also a possibility I may add XP later as a triple boot.
My laptop came with two partitions already, the second one labelled "Recovery". I was planning on adding three partitions, one for the Ubuntu installation, one for Swap, and one for storing my files (accessible to both OSs). However, this would be five partitions (or six, if I add XP later).
I've never had to deal with this many partitions before and just learned about the maximum of four primary partitions.
View 3 Replies
View Related
Oct 18, 2010
After I formated my windows partition using GParted it became Unallocated and moved under Extended partitions. I can't create the unallocated partition as primary one, or drag it out of the extended ones. I tried GParted live CD also, but nothing worked.
View 7 Replies
View Related
Jul 17, 2010
I have a dual boot on my laptop between XP and Ubuntu with a storage partition.that gives me total of 4 primary partition
-Windows
-Storage
-Ubuntu
-Swap
I now want to add a OSX to my laptop in tripple booth. I did shrink the windows partition and now I realized that all my partitions are primary and cannot create a new one with the space I shrink from windows.Is it possible to merge ubuntu and its swap into extended/logical partitions so I can create a new primary for Mac OS X?
View 9 Replies
View Related
Apr 11, 2016
I tried to access files from my old hard drive that used to be in a Mac (which unfortunately isn't working anymore). I connected it to my computer which I am running debian gnome on. So my question is how do i access a mac os extended disk image. The disk is encrypted and when i try to open it it says that i don't have permission. I think its encrypted in AES 128 bit.
View 4 Replies
View Related
May 9, 2011
I have extended a logical volume from a partition on one disk into a entirely seperatedisk.I wish to extend the file system from the original partition onto the newly extend volume.I attempted this using extend2fs but it did not work, and did not mention why.The command I used was -$ sudo resize2fs /dev/glab1/glab-share1/I attempted this on ubuntu server 10.04.
View 5 Replies
View Related
Apr 9, 2010
This is the third 9.10 install to do this on two different laptops, so wondering what's up...
In both cases, the goal was to leave a large chunk of unpartitioned disk after the Ubuntu partitions, for a second OS install or a filesystem Ubuntu cannot create like NTFS.
When I install with manual partitions, the system can't boot and asks for me to insert a system disk and press any key. When I reinstall telling Ubuntu to "use the entire disk" it then works.
First laptop, first try:
Remainder of the 500GB disk is free space.
Fails to boot, "insert system disk".
First laptop, second try without the /boot partition:
Remainder of the 500GB disk is free space.
Fails to boot, "insert system disk".
"use entire disk" works perfectly.
Second laptop, first try:
Same thing, non-system disk or disk error, insert system disk.
Second try "use entire disk" is currently in progress but I expect the same to happen.
View 3 Replies
View Related
Feb 15, 2010
A few weeks ago, I installed Ubuntu 9.10 on a Dell Insprion 8600 as a dual boot to try out Ubuntu. I let the setup configure partitions for me. During the install, I was asked once for a password. Last week, Win XP would not boot up; that's OK as I was planning a re-partition and reinstall of both win and Ubuntu.
I wanted to get files off the NTFS partitions (I have one for win, one for the swap file and two more fore files etc.), so I wanted to mount the NTFS partitions. I was asked for a password for the administrator. My regular password, the only one I have set up, would not work. I tried rebooted two more times and still no luck with my only password.
However, I was able to boot up from the set-up disk and mount the NTFS partitions without a password. I was able to move all the files I needed to one partition that I plan to keep (I will reinstall win xp then back up those files on the separate partition).
A question and a comment...
1. How do I install Ubuntu so that I make sure I have the passwords to do administrative level things (like mounting a drive)?
2. Being able to do administrative work off the Ubuntu test-drive disk while being denied access after signing in seems like a security issue (unless I screwed up somewhere).
View 3 Replies
View Related
Feb 24, 2010
is there any performance tool for linux? i av found phoronix but it cant provide testing on memory, CPU, hard disk utilization and also stress test.
View 4 Replies
View Related
Nov 17, 2010
I'm trying to upgrade, but have this issue: usually I download the DVD iso, run checksum, burn it, test the disk, and when found ok, I run the upgrade. Now, however, I keep getting "disk not ok" at 95% of the disk test. I have downloaded and verified the iso twice, used 2 DVD's, 2 different DVD-drives, 2 different computers and keep getting this error at 95%.
View 2 Replies
View Related
Jun 11, 2011
I have a 160Gb Hard drive with 3 partitions. sda1, sda2, sda3. sda1 & 2 are just under 20 GB each. the other 120 GB is free space. I have so many 40GB hard drives! I would like to copy (with dd) the MBR, sda1 & 2 to a 40GB hard drive and be able to just use that so I can free up my 160GB hard drives. Typically when I want to clone something, the drives are equal or larger than the original. I'm not too sure about this, and if I use code (show below), will I also get the MBR? #where sda is the 160gb with 3 partitions and drive sdb is a 40GB drive with 2 partitions.
Code:
dd if=/dev/sda1 of=sdb1
dd if=/dev/sda1 of=sdb1
Also, is there a way I can do this with 1 line, or have both dd operations running simultaneously?
View 2 Replies
View Related
Aug 9, 2010
I got a 40GB seagate HDD which has got through some unsuccessful windows and linux installations and now all the partition tables are corrupted... I tried to format with System>Administration>DiskUtility but it gives this error when I'm do: Error creating partition table: helper exited with exit code 1: Error calling fsync(2) on /dev/sdb: Input/output error gParted was not even useful since it didn't not even detected the drive...
Isn't there any simple way to format the crap from the Ubuntu 10.04 Live CD? I believe that on windows, there wouldn't be that problem since the "format c:" crap just format the drive without asking questions. All I want to do is to format the drive so I can create partitions later. Also, I have only access to the live CD and I don't have any Diskette drive installed.. I believe we now live in a world where this crap isn't needed to fix a computer.
View 9 Replies
View Related
Mar 4, 2011
I am installing 10.10 on my PC. I have changed the hardware and the previous install was for a x64 I now have x32. I ran the live disk and have selected install. I am now on the partition page, (manual). I am happy with the concept of partitioning and which partition is which, but I can only change the linux partition. At the moment I have @60G NTFS, 1G swap and @18G Linux. I want to reduce linux partition to about 12G (which is fine I've done that) I now have free space. I want to increase the swap partition to 2G and the remainder to be added to the NTFS partition. However, I can't add any more disk space to the latter partitions. The Swap partition has the space bar available, but the increase is greyed out and on the NTFS partition, there is no option at all.
View 9 Replies
View Related
Apr 6, 2011
Ubuntu 10.10 is dual booted but it is my primary OS.
Unfortunately it's on the outer edges of the disk in an extended partition.
This has always bugged me, with regards to read/write performance.
Do my concerns of reduced performance have any foundation? Should i bite the bullet and format the drive installing ubuntu first?
I ran the disk read benchmark and my read speeds were 100MB/Sec at the beginning of the test to just 55MB/Sec at the end. I have no idea if the position of the test has any bearing on the position of the disk or whether the speed recorded is affected by other factors such as the tests function or simulation.
View 5 Replies
View Related
Sep 19, 2010
Its basically an old SATA Hard Drive with a Windows XP partition I was trying to sell.When my computer does the BIOS checks, it doesn't pass the SMART test (but I can boot it anyway), although I can't boot Linux in any way with this Hard Disk connected (I even tried Live CD distros, like Parted Magic).I can boot the XP partition from inside the disk, although I guess its pretty close to not being able to. Is there any way to "fix" this Hard Drive?
View 3 Replies
View Related
May 10, 2010
I have what seems to be a hard disk Write speed problems with my first hard drive. Timing the cp command of a 700 Meg file takes about 8 secs from disk 2 to 3 but takes 25 minutes from disk 2 to disk 1.
Here are the details:
Kubuntu 9.04 (Kernel 2.6.28-15-generic)
Hard Disk 1 : /dev/sda (WDC WD2500KS-00MJB0)
Partitioned
/dev/sda1 ext3 / 10 Gigs
/dev/sda2 extended 222 Gigs
/dev/sda5 linux-swap 2 Gigs
/dev/sda6 ext /home 220 Gigs
Hard Disk 2 : /dev/sdb (WDC WD2500AAKS-00F0A0)
Partitioned :
/dev/sdb1 ntfs 16 gigs
/dev/sdb2 xfs /home/eric/data_drive 216 Gigs
Hard Disk 2 : /dev/sdc (ST3500320AS)
Partitioned:
/dev/sdc1 xfs /home/eric/data_drive2 465 Gigs
By doing 'time cp ...sdb1/test.avi ...sdc1' takes about 8 seconds and same vice-versa. the command 'time cp ...sdb1/test.avi ...sdb1/test1.avi takes about 11 seconds and the same holds true if sdc1 is used But copy sdb1 or sdc1/test.avi to either sda1 or sda6 and it takes 25 minutes. Same problem if I copy from the same drive partition (sda). I have booted a livecd Knoppix 6.2 and the same problems happens.. So safe to say it's not Kubuntu. The only thing that is left to do is backup and reformat the partitions as XFS and try again. I also did a full smartcontrol Extended test and no errors. Checked all the various logs and nothing found.
View 8 Replies
View Related
May 17, 2010
I just bought a new 2 TB hard disk to replace my old 175 gig one. I currently am dual-booting Lucid Lynx and Windows 7, and rather than go through the process of reinstalling both, then reinstalling all my programs, settings, and everything, I was wondering if there's a way I can just copy the partitions on my 175 GB disk to the new one, grow them to fill up the rest of the free space on the new 2 TB disk, and then plug that HD into the primary master plug on my motherboard... will that work?
View 4 Replies
View Related
Jun 30, 2010
I am installing Linux on some spare space I left over from my previous two Windows installations.
From within Linux, what's the most risk-free way of imaging these two partitions and saving them to a single image file or archive? I want to preserve the entire partition because I have no idea what I may have forgotten to copy. What is the most suitable program that can do this?
Is there any way to run the partition in a virtual machine at a later date?
After this is done, I want to delete those old partitions and extend my Linux ones.
View 3 Replies
View Related
Nov 9, 2010
I'm trying to install Ubuntu 10.10 64-bit on my laptop HP pavilion 3046ee . When I reach the partition part , it doesn't detect the Windows 7 os , and doesn't detect any hard disk partitions ( it sees the whole hard disk as one unallocated partition ). I faced the same problem when I tried Ubuntu 10.04 LTS.
View 1 Replies
View Related
Dec 22, 2010
Im new to ubuntu. How to auto mount hard disk partitions.
View 1 Replies
View Related
Jun 17, 2011
I will be installing Ubuntu Server 10.04 LTS. The partitioning install section is text based and IMO a bit cryptic. I was wondering: Can I first set up my partitions with Gparted live disk and then pop-in the server install disk and install using the partition structure I made with GParted?
View 1 Replies
View Related
Jan 28, 2010
I am trying to install ubuntu 9.10 alongside windows on my laptop's harddrive. When I was going through the procedure it gave me the option of a guided partition of my harddrive... however there was an error. At this stage I unplugged my external harddrive because it's sometimess a bit dodgy and restarted the installation process. However everytime since that I have tried to install, it only gives me the option of erasing the entire disk or specifying the partitions manually
View 6 Replies
View Related
Nov 21, 2010
I tried to install ubuntu 10.10 today through livecd. but the partitions in my 60gb samsung harddisk are not detected. My entire harddisk is shown as unallocated free space. Also gparted is not detecting the partitions as well. I am currently not facing any problems with my partitions in windows xp. I tried the solution given here (to no avail): [URL]. I have had no such problems with previous versions of ubuntu.
View 9 Replies
View Related
Jan 8, 2011
I have reinstalled XP and conseqently messed up Grub and lost Ubuntu. I am trying to do a fresh install but the installer insists on trying to overwrite the whole disk. I downloaded the alternate instal ISO as this has got over this problem in the past but this also wanted to overwrite the whole disk. It recognises the Sata Raid array as being nfts (this is my main data disk) but it doesn't recognise the existing partitions on my main disk:
18G windows
18G Old Ubuntu
113G nfts data disk
View 8 Replies
View Related
Apr 11, 2011
Wanting to dual boot XP with UBUNTU. Live CD verified good.
ran df in terminal:
Ran sudo fdisk -lu in terminal:
Partition table entries are not in disk order
Originally I had two partitions for Windows xp of 100 gig each. I cleared / backed up the second partition and created two 50 gig partitions, splitting the second into two linux (using Gparted) partitions labelled root and swap.
Disk Utility sees this hdd as a RAID component. It is connected through a RAID controller.
The installer (in allocate drive space step) doesn't see them for some reason.
Hardware:
AMD Athlon 64+clawhammer processor
Asus A8N-SLI mobo
hdd as above
2 Gig RAM
DVD / CD Burner
View 5 Replies
View Related
Jan 4, 2010
I want to make the transition from windows (sick of it). Im using Lenovo G530 Laptop and was wondering which would be the best Linux Os (meaning Ubuntu, fedora or something else). Keep in mind that I mostly use my laptop for college work and a lot of video and audio editing. I also want to be able to run Dual operating system (meaning that I wanna run both Linux and Windows) from the same computer as it might be easier for me to make the transition a little bit more easier. That being said I need someone to give me tutorials (video preferred) on how to make the partitions on the hard disk and step by step instruction on how to install both the two OS in my laptop.
View 3 Replies
View Related