I was reading another thread about someone with a bad partition table and I decided to join this forum. I'm not going to take any drastic actions with the partition (/dev/sda3) in question. I am going to wait for instructions on what to do first. I am not very good with Linux and need some hand holding. System: DELL 4550 Dual-Booted with XP and Ubuntu. Works OK, just no swap. Well, here's what I did: I deleted a partition for Windows XP Pro because it was a trial, and it ran out. I then decided to slide the swap partition for the Ubuntu Linux that I dual-boot into over. (If this was successful, I was going to try expanding the root partition to take up the unused space.) I used Gparted on a CD to do this, as I figured it was safe to do.
I now cannot mount the swap space at bootup (and have to go into a backup version of the OS), although I can use Gparted in Linux to execute the "swapon" command, and it appears that it worked because I now see "swapoff" as an option on the context menu. (I actually don't even need a swap partition, except to hibernate.) If I highlight the swap partition and click on "Drive" on Gparted's menu bar and select "Create Partition Table", it will erase all data on /dev/sda, so how do I fix the bad partition table non-destructively?
I upgraded Windows to 7 from Vista. My Acer laptop had a recovery partition with Vista on it. I don't know, what I was thinking, after the update I deleted the recovery partition. Then got in to problem that Partition Table is deleted. Recovered the partition and partition table with LiveUSB and gpart.
So laptop was working again in about 30mins. Now I see the following issue. Laptop boots and works fine both in Ubuntu (default OS) and Win7. In Disk Utility the partitions are shown as in attachment. In Gparted the disk is not recognized as partition table is not recognized (so I guess) Output of fdisk is here for ref;
Code: home@home-laptop:~$ sudo fdisk -l [sudo] password for home: Warning: ignoring extra data in partition table 7 Warning: ignoring extra data in partition table 7 Warning: ignoring extra data in partition table 7
While installing Ubuntu I have created 50MB boot partition and was sure is enogugh, but now with growing initrd and kernel size, an autoupdates which were always killed by no sufficient disk space I decided to increase its size. I had following partitions - in disk order:
Is the problem still in bad begining of the partition saved or data are already broken ? If the first is there any mount option to really not touch filesystem ? Because I've read even if we mount readonly there are some options saved to disk (as last mount time etc) and I'm aware it could destroy entrie filesystem.
Has the ext3 some partition header as NTFS do? Or is there a way to locate real start of partition? because testdisk and gdisk shows only this one starting sector for sda6. When I moved the sda6 partition there was space between begin of extended partition and begin of sda6, now there is no space, so that's the main reason of suspecting partition begining is in fact over 100MB further.Current partition schema in attached PNG. Also the swap partition was deleted, I don't know when, now there is 4GB hole.
This machine has UBUNTU & wINDOWS XP. I'm currently logged into UBUNTU. I was just checking the features of GParted and accidentally clicked Device > Create Partition Table. A default MS-DOS partition table is created. Now if I re-start the Gparted there is nothing. Its showing entire disk as UNALLOCATED space.
Lucky thing is All the drives (C:, D:, E:) are currently mounted and I'm in UBUNTU. I guess its possible to re-create the partition table using current status. how to do this. This is a lab computer. If its not recoverable. I'm completely screwed!
I have installed HP g6 notebook from live-cd with 10.04 LTS across multiple partitions, only to find that the partition table is not setup correctly. I place the following mount points on separate partitions:
I partitioned my hard drive on my computer with G-parted, the second partition (sda3) has data stored on it. I use to have Karmic Koala on sda1, but something went wrong and I want to install it back on sda1. How would I do this without losing my data on sda3? When I use the live disc, it want to install it onto sda3. I cannot figure out how to install it only on sda1.
Also, when I stored data, I want to store it on the sda3 partition. I already have on that partition a /jason file which was my old Karmic Koala.
Having just moved to Linux from Windows, I have never considered whether or not to partition my 250 GB external hard drive. As of right now it will only be used for data storage. Should it be partitioned? If so, what size partitions?
I am getting ready to install Ubuntu 9.04 on my Dell laptop, only because 10.04 won't work. I have the hard drive partitioned as C: and D: . I am keeping Windows on C: for a couple of applications that need it. I still have a few things on the D: drive. Do I need to have it completely clean and formatted? And, will Ubuntu ask where I want it to be installed or will it just take the largest contiguous space available? After the install, does the system automatically ask if I want Windows or Ubuntu or how do I tell it which system to bring up?
When I start gparted, to see if I can add extra harddisk where all my data is, I get the next error:
Code: [root# gparted libparted : 1.9.0
The kernel was unable to re-read the partition table on /dev/sda (Device or resource busy). This means Linux won't know anything about the modifications you made until you reboot. You should reboot your computer before doing anything with /dev/sda. I can start fedora 12 x64 amd whitout any problem. My partition layout on a single disk (80 gb sata maxtor) for the system is: Code: / /home swap
When I try to mount one of the extra disks (samsung spinpoint 1 tb, I have 4) I get to next error: Code: root# mount /dev/sdb1 /media/sdb1 mount: you must specify the filesystem type
If I add the option with the filesystem I get: Code: root# mount -t ext3 /dev/sdb1 /media/sdb1 mount: special device /dev/sdb1 does not exist
In gparted, when I select just a flag option, and deselect, press ok, the disk is forced to be reread by the program. After that I can also mount it. When I use any of the programs linked in this post, I am able to mount the disks whitout any problem. Except after a reboot, I get the same problem. SO whit each reboot, or poweroff, I need to do a re-read of the disks. The system is fedora 12 x64 for amd, installed from a live cd, the rest whit yums groupinstall, the latest kernel.
I just partitioned and installed slack on a 1TB hard drive. I then run KDiskFree under KDE, and saw that I am missing about 300Gig! Is it just a simple thing between bytes and bits like MS. Or is this an issue I can not ignore? I have 3 partitions. One is my swap, one is ext4(slackware is on) the last is a jfs partition.
I have tried to automate the configuration of a usb drive with not much success.
The problem that I have is that I have a large amount of usb drives that have a partition table of type "loop" and I need to change them to "msdos". The size of the drives vary and I need to use FAT32 or FAT16 file system.
I've tried various partitioning commands and gui applications but cant find one that I can give a one line command to to set the partition table, maximum partition size and file system.
After I have installed all my programs, I need to install windows and I need visual studio. So I was thinking of taking 20 GB from the /home directory and using that for windows. I can use gparted. However, many posters on here think it is best to use gparted by booting from the disk. However, I cannot do this, as I don't have any DVD drivers. And I can't really afford to buy one just for this reason. What is the best way to do this?
I decided I'm going to go back to a dual boot to see if I can get some of the slackware issues resolved on my laptop; its ubuntu only at the moment due to wireless problems. I've only got one hard drive so I can't simply unmount and repartition from gparted, I've lost all of my random linux live cds, and can't find a spare blank optical disc. Is there a way to boot from directly from the iso or from a flash drive or something?
I have a new 1.5tb internal drive I want to partition as NTFS (because Windoze machines need to see/use it) and in gparted, when I go to partition -> new, it says it could not add this operation to the list a partition cannot have a length of -1 sectors. I recall having this issue on my 2tb external drive and I ended up creating the NTFS parition on a Windoze machine and then bringing it to the Linux box but since this is an internal drive, that's not an option. I took all the defaults in the "Create new partition" screen.
I have Seagate Freeagent Go 500GB external hard drive that I use for backup. I wanted to resize the partition so I used GParted to shrink the 500GB NTFS partition to 400GB. The other 100 I wanted to encrypt and use for some other more important files. For some reason, the shrink failed and I disconnected the hard drive and reconnected it. I didn't see the icon appear on the desktop. I went into the Disk Utility to discover that GParted's shrink error deleted all of the partitions on my hard drive. So I created a new 400GB NTFS partition and put back all of my files. The other 100 is unallocated currently.
It will normally mount automatically and show up on the desktop but the hard drive won't mount without me going into the Disk Utility and mounting it through there. I can't even mount it from the Terminal with root privileges. It gives me this:
sudo mount /media/My Data mount: can't find /media/My Data in /etc/fstab or /etc/mtab
Now, I can unmount with root privileges and I can unmount it from the Disk Utility. I can browse and edit the files within. But I can't unmount it from within Nautilus or on the desktop (the Safely Remove Drive option is not there).
The new 400GB partition also isn't detected by GParted. It just shows the whole drive as unallocated.
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
Caused by Used fdisk to delete the windows partition, in my dual boot. Then I could no longer log in to ubuntu, the partition table was some how courpt and I couldnt remount I then decided to use the windows partitioner from windows setup, as I thought it is so stupid, to reformat the partition where I had ubuntu. I wanted reinstall ubuntu, and I know that during the setup I could straighten out the mess I'd made.
Windows has now installed two 8mb one cylinder partitions on my HD. When I start the PC I get a !disk error occurred Press Crlt Alt Del to restart! This happens everytime. HD boot sequence is buggered, i guess.
I can boot from other devices. USB + CD. How when I use the windows disk to boot up I can see the 2 8mb partition, which it wont let me delete. How can I delete this via linux?
Also when I try to install ubuntu from the usb drive, it stalls just after the Preparing to install part. The next screen is when you set the partition table, swap drive etc. When I quit I get the following error !Process Glib WARNING getpuuid_r() failed due to unknown id!
The usb_liveCD does however mount my hard disk partitions and luckily I have managed to back everything up to an external.
results from df /var/log# df Filesystem 1K-blocks Used Available Use% Mounted on aufs 766804 68140 698664 9% / none 760892 244 760648 1% /dev /dev/sdb1 3911856 712128 3199728 19% /cdrom
I am trying to move a whole bunch of files from one partition on one hard drive to the same partition on another hard drive. Can I mount the same partition (same name, different drives, i.e. /data on /dev/hda1 and /data on /dev/hdb1)and copy those files? Shutdown the server, take out /dev/hda1 and boot up with the new drive and it's /data contents.
I wonder if anyone can help me. A little background, I wanted to move my xp install to a bigger hard drive. I used Saikee's method and worked fine (as usual). My machine was a dual boot system, the xp partition was with little space so I get rid of my vista install, deleted its partition. That went fine also. Rebooted directly to XP.The problem is as follows:
a) In order to increase the size of my xp partition (old machine, athlon64 1gb of RAM) I moved my data partition to the left in order to have unallocated space near the xp partition. That was successful, I rebooted and everything was fine.
b) I run again Gparted and increased the size of the partition. Gparted told me the process was successfully applied. I rebooted.
c) after post I get the following error "error reading disk, press ctr-alt-del". I did it like five times and I get the same message.
d) With my xp install disk I tried fixboot and fixmbr and nothing changed
Since I have the original hd, I did it again, and the same thing happened after resizing xp partition, before the resizing process I was able to boot normally. I used Gparted live cd v 0.6.2 and as far as I recall I left "adjust to mib" option
This was a really frustrating problem which turned out to have a really simple solution, so I'll share it with people who might be having the same struggle. Problem You plug in a usb hard disk and try and mount it using:
I spent hours - days - hunting around for the solution! (And felt a bit humiliated when I realised how simple it was!) PS, There used to be a "Success story" section on LQ, but I couldn't find it; if this is better in another section, please move it. PPS, I'm on a public computer and won't have Linux access for a looong time - if anyone can copy the message that fdisk prints out to help people who are searching for it
then I used dd to transfer data from the old drive to the new drive. Now I am unable to boot into the new drive. I tried to boot again from the live-CD but fdisk reports that the drive has no partition table. I can still mount the devices (e.g. mount /dev/sda3 /mnt/sda3) and I can see all the files. But without a partition table, I can't set one partition to be bootable. Why doesn't gparted create a partition table? it created the filesystems just fine. how do I boot into the new disk? What do I have to do to make grub handle the new disk?
My friend gave me a flash drive with some important files on it that one day didn't work with his windows box. Upon plugging in the thumb drive, Windows gives a "you must format this disk before it can be used" message. I tried running a data recovery program (Easeus) on it but didn't have great results- only recovered some .wav files, a few .avi files and a .exe- none of which were very important, so I figure'd I'd try to mount it in Linux and possibly see the rest of the filesystem. The thumbdrive is a 2GB Lexar JD Firefly I plugged in the thumb drive and it is picked up by the system, but I can't access it. Here is the output of lsusb
I had this corrupted external hdd and so I formatted the main partition on it on windows but messed up in the formatting and ended up having to format the entire thing. I got some weird message about it not being initialized (no not mounted) so I was in compmgmt.msc in windows and right clicked it in device manager and it asked for master boot or GUID I selected the latter and formatted. Worked fine and all for a bit but now it doesn't show up as a drive. I noticed when using compmgmt.msc it showed up that it had installed driver software and was being recognized but in the partition editing area there was nothing on this drive, reinstalling driver software doesn't seem to help. Also GParted wont load up when I have it plugged in and Disk Utility doesn't show it. I am requesting help to fix this problem within Ubuntu 10.10 somehow so I can use it properly.
Are there plans to alter or improve our partition options surrounding the change from 512 to 4096 byte sectors? It seems that the DOS-world of four primary partitions is a bit screwy in a world of tera-byte drives.